solidus
solidus copied to clipboard
Improving stock items management
The following items were addressed
- Filtering was working by single stock location, made it multiple
- Available stock items by variant was being filtered as well when specified a stock location
- Improved available stock locations list in new stock item select box
Checklist:
- [ ] I have followed Pull Request guidelines
- [ ] I have added a detailed description into each commit message
- [ ] I have updated Guides and README accordingly to this change (if needed)
- [ ] I have added tests to cover this change (if needed)
- [ ] I have attached screenshots to this PR for visual changes (if needed)
@softr8 any chance you could split the improvements into multiple commits? It would make the Git history much more useful! π
@kennyadsl what about now?
Hey @softr8, do you have any update here? Does my comment make sense for you as well?
@kennyadsl done! let me know if this needs more work π
Done
@softr8 Thanks for the update Edwin. There's a spec failing that seems related to the PR, can you please take a look?
done! @kennyadsl
There's some conflicts that need resolving here.
Hey @softr8, I rebased from master, and it looks like some tests are failing. I know it's been a while, but do you have a clue which could be the problem?
Codecov Report
Merging #3626 (e76677e) into main (568f4ed) will decrease coverage by
0.01%. The diff coverage is64.28%.
@@ Coverage Diff @@
## main #3626 +/- ##
==========================================
- Coverage 88.71% 88.70% -0.01%
==========================================
Files 563 563
Lines 13890 13889 -1
==========================================
- Hits 12322 12320 -2
- Misses 1568 1569 +1
| Impacted Files | Coverage Ξ | |
|---|---|---|
| core/lib/spree/deprecation.rb | 44.44% <16.66%> (-2.62%) |
:arrow_down: |
| .../controllers/spree/admin/stock_items_controller.rb | 97.05% <100.00%> (-0.31%) |
:arrow_down: |
| core/app/models/spree/variant/scopes.rb | 100.00% <100.00%> (ΓΈ) |
:mega: Weβre building smart automated test selection to slash your CI/CD build times. Learn more