-
Notifications
You must be signed in to change notification settings - Fork 31
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
[IMP] pivot: select dimension with arrow keys #4135
Conversation
006e4aa
to
4d02f6c
Compare
4d02f6c
to
727021c
Compare
src/components/composer/autocomplete_dropdown/autocomplete_dropdown_store.ts
Outdated
Show resolved
Hide resolved
727021c
to
8d48688
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.
Could you add a test for the addDimensionButton?
break; | ||
case "ArrowUp": | ||
case "ArrowDown": | ||
this.autoComplete.moveSelection(ev.key); |
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.
this.autoComplete.moveSelection(ev.key); | |
this.autoComplete.moveSelection(ev.key === "ArrowDown" ? "next" : "previous"); |
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.
Oups, fixed 😅
The test is on odoo's side until pivots lands in o-spreadsheet
https://github.com/odoo/enterprise/pull/61671/files#diff-4b8b6f5d4dffedcb22e750296d4e58fb62e198e42789e82d1f1d6a28d4bdbc9dR511
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.
🤦 Forgot that split ^^
In the side panel of pivot properties, when clicking on Add to add a new dimension, the user can now use the arrow keys and Enter key to select a dimension. Note: tests are in odoo because there's currently no pivot in o-spreadsheet alone. Task: 3893736
8d48688
to
1006edb
Compare
@robodoo r+ |
In the side panel of pivot properties, when clicking on Add to add a new dimension, the user can now use the arrow keys and Enter key to select a dimension. Note: tests are in odoo because there's currently no pivot in o-spreadsheet alone. closes #4135 Task: 3893736 Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
Description:
description of this task, what is implemented and why it is implemented that way.
Task: : TASK_ID
review checklist