-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(billing): remove quantity dropdown from frontend for nlp add-ons TASK-1482 #5464
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM βοΈ previewed successfully locally as written βοΈ
The only problem is that this is a bundle of 3 different fixes, please break up and PR separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be fine for the UI change of removing the dropdown, but there is a lot of logic in the code for handling addon quantities (as opposed to subscription quantities, which are separate) that needs to be removed. Would you mind going through to remove any code that is no longer needed as a result of this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from my POV but James raised a good point βοΈ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, but I guess I should have specified that I was referring to the frontend code rather than the backend code. That's OK. We probably do want to consider removing the related backend code, but that will require some more careful testing. Can you split the backend work off into a separate PR and assign it to Guillermo and I for review?
For the frontend code, can you remove the interface changes for the time being? I would like us to be able to review/merge the frontend changes without having to rush the backend review.
Please let me know if that makes sense.
a5e5aef
to
5499af9
Compare
@@ -149,6 +149,10 @@ | |||
|
|||
.oneTime { | |||
justify-content: center; | |||
|
|||
:last-child { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe some weird git issue. I think you removed this in a previous PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left one comment with a git/css issue. Other than that, lgtm
ποΈ Checklist
<type>(<scope>)<!>: <title> TASK-1234
frontend
orbackend
unless it's globalπ£ Summary
Removes quantity dropdown from frontend for nlp add-ons.
π Preview steps
Bug template:
Thoroughly test add-ons and subscription plans to make sure that everything is still working correctly.