Skip to content
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

Added a integer spin box that allows too choose quantity of a product… #507

Merged

Conversation

magda-woj
Copy link
Contributor

… added to cart - range from 1 to 10, like on the otel demo astronomy shop website.

@magda-woj magda-woj requested a review from a team August 5, 2024 19:23
@breedx-splk
Copy link
Contributor

The number itself is oddly wide, but I think it's fine for now. Thanks!
image

@breedx-splk
Copy link
Contributor

@breedx-splk
Copy link
Contributor

@magda-woj do you know if the demo web client version allows choosing more than 10 items?

for (i in 1..10) {
DropdownMenuItem(
text = {
Row(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think we should (whenever possible) try to split big widgets into multiple composable functions to avoid "indentation hell".

… added to cart - range from 1 to 10, like on the otel demo astronomy shop website.
…it should be in the center?), split up QuantityChooser into a few composables.
@magda-woj
Copy link
Contributor Author

@breedx-splk web client version also allows to choose from 1 to 10, that's why i did it like that here.

@breedx-splk breedx-splk merged commit 3ebb743 into open-telemetry:main Aug 7, 2024
3 checks passed
@magda-woj magda-woj deleted the product-quantity-selector branch August 21, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants