feat: select first search result on Enter key press - #239
feat: select first search result on Enter key press#239NotAbdelrahmanelsayed wants to merge 3 commits into
Conversation
When the user presses Enter in the item search box and search results are visible, the first result is added to the cart immediately instead of falling back to an exact barcode lookup (which showed "Item Not Found" for partial text). Barcode lookup is preserved as the fallback when no search results are present. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
This pull request has been automatically marked as stale because it has not had recent activity for 21 days. To keep this PR open, please:
If no further activity occurs within the next 14 days, this PR will be automatically closed. |
|
This pull request has been automatically marked as stale because it has not had recent activity for 21 days. To keep this PR open, please:
If no further activity occurs within the next 14 days, this PR will be automatically closed. |
…r-first-result # Conflicts: # POS/src/composables/useSearchInput.js
|
This pull request has been automatically marked as stale because it has not had recent activity for 21 days. To keep this PR open, please:
If no further activity occurs within the next 14 days, this PR will be automatically closed. |
|
This pull request has been automatically closed due to inactivity. If you'd like to continue working on this:
Thank you for your contributions to POS Next! |
|
Recreated as #368 since GitHub won't let a bot-closed PR be reopened via the API. Same branch, no code changes — following up there. |
Summary
Behaviour change
Files changed
POS/src/composables/useSearchInput.js—handleKeyDown: checksitemStore.filteredItems[0]before falling back to barcode lookupTest plan
🤖 Generated with Claude Code