solidusio / solidus_starter_frontend

🎨 Rails-based starter kit for your Solidus storefront.
BSD 3-Clause "New" or "Revised" License
58 stars 40 forks source link

Use a number field for cart item quantity #364

Closed mamhoff closed 5 months ago

mamhoff commented 8 months ago

Summary

Selects for numbers are a bad idea. It is possible for our variants to have a count_on_hand of Infinity (by unchecking the "track inventory" checkbox. On my machine (32G memory), this took about ten minutes to fill up my memory.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.97%. Comparing base (6e2f055) to head (4d4dad0).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #364 +/- ## ========================================== - Coverage 95.99% 95.97% -0.03% ========================================== Files 207 207 Lines 4874 4846 -28 ========================================== - Hits 4679 4651 -28 Misses 195 195 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.