Repository navigation
feat(pos): configurable category and item sort order - #1311
Conversation
Adds pos_category_sort and pos_item_sort settings (saved order, name, price asc/desc) with a General settings card, a role-readable /settings/pos-sort route, Server App info payload support, and sorting in the shared POS product grid. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
|
# Conflicts: # frontend/src/app/server-standalone/page.tsx
# Conflicts: # package.json
Summary
pos_category_sort(saved | name) andpos_item_sort(saved | name | price_asc | price_desc) backend settings, defaulting to the saved order.GET /settings/pos-sortlets roles withoutsettings.viewread the ordering; wildcardPUTvalidates the enums.ProductGrid, so both /pos and the Server App (via/api/server-app/info) honour it. The API still returns the saved order.Test plan
npm run test:pos-catalog-sort,npm run test:pos-sort-settingsnpm run i18n:check,npm run build,npm run test:script-coverage,npm run lint🤖 Generated with Claude Code