-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add a stock locations filter configurable class #3116
Add a stock locations filter configurable class #3116
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.
Great job as usual, @kennyadsl 👏
guides/source/developers/shipments/stock-locations-filter.html.md
Outdated
Show resolved
Hide resolved
84829f4
to
beb537a
Compare
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.
Awesome 👏
Could we advise our users to use the config/initializers/spree
file instead of having some configuration in application.rb
?
guides/source/developers/shipments/stock-locations-filter.html.md
Outdated
Show resolved
Hide resolved
This class is helpful to filter stock locations that need to be taken into account by the SimpleCoordinator while generating shipments.
I think it's better to use the plural for locations and singular for sorter since we always use just one sorter class.
Reflecting the file name, stock locations sorter is preferred to stock location sorters. Also, there are some broken link to GitHub that have been fixed.
There's no need to keep that item in the menu since it's a technical implementation detail and could be confusing for someone who is not familiar with how the sorter works. We are linking stock locations sorter and filter into the Split Shipment page, which is the context where those class make sense to be mentioned.
This is how most of the users are doing so we should suggest this approach.
beb537a
to
59fb87c
Compare
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.
Great work! Guides look awesome too! 👍
Description
This class is helpful to filter stock locations that need to be taken into account by the
SimpleCoordinator
while generating shipments.Checklist: