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

Demo app cart #518

Merged
merged 7 commits into from
Aug 9, 2024
Merged

Demo app cart #518

merged 7 commits into from
Aug 9, 2024

Commits on Aug 9, 2024

  1. Added a integer spin box that allows too choose quantity of a product…

    … added to cart - range from 1 to 10, like on the otel demo astronomy shop website.
    magda-woj committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    bfcf7b1 View commit details
    Browse the repository at this point in the history
  2. Made quantity selector button narrower (I kept it on the left, maybe …

    …it should be in the center?), split up QuantityChooser into a few composables.
    magda-woj committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    e8c0c98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    873b699 View commit details
    Browse the repository at this point in the history
  4. working adding to cart with quantity. Emptying cart works, but total …

    …price isn't being updated
    magda-woj committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    5b748f6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    00ff324 View commit details
    Browse the repository at this point in the history
  6. i'd rather have isCartEmpty as a CartViewModel, but having it local i…

    …n CartScreen makes the screen respond to Empty Cart button right away and i don't know how to achieve this otherwise
    magda-woj committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    c4efd94 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    352bddb View commit details
    Browse the repository at this point in the history