stable
Clone or download
When you have a lot of projects / history, then navigating only with βΉ tab key might be problematic to reach easily a recent item. For example if we have 3 projects where we are admin, and 3 recent items, from the filter input we need to press 8Γ βΉ to reach the second item (and more if the first recent items is a milestone with test campaign, taskboard, & cie). input βΉ : legacy search button βΉ : project a βΉ : admin project a βΉ : project b βΉ : admin project b βΉ : project c βΉ : admin project c βΉ : recent item 1 (hopefully it does not have alternate links) βΉ : recent item 2 In order to improve UX, the proposal is to be able to navigate between the two list Projects and RecentItems with arrow keys. If a project has focus, then pressing β right arrow will move the focus to the first recent items. Similarily, pressing β left arrow will move the focus from the recent items to the first project in the list. Since we are adding support of β/β arrow keys, we can also benefit from β β arrow keys as well to navigate inside each list. This helps to bypass alternative links (link to project admin, or links to milestone panes like taskboard or testplan) which was not possible with βΉ. Now with the previous example the keystrokes is reduced to 4 keystrokes: input βΉ : legacy search button βΉ : project a β : recent item 1 β : recent item 2 Once the recent item (or the project) is selected, then user can reach alternative links with βΉ. Part of story #16209: Β« Switch toβ¦ Β» button Change-Id: Ibc51cc84b64d6acc2de792195ef57ae451f18d93
Modified Files
Name | ||||
---|---|---|---|---|
M | src/scripts/switch-to/src/components/Body/Projects/ListOfProjects.vue | +9 | β1 | Go to diff View file |
M | src/scripts/switch-to/src/components/Body/Projects/ProjectLink.test.ts | +65 | β0 | Go to diff View file |
M | src/scripts/switch-to/src/components/Body/Projects/ProjectLink.vue | +43 | β6 | Go to diff View file |
M | src/scripts/switch-to/src/components/Body/Projects/__snapshots__/ProjectLink.test.ts.snap | +1 | β0 | Go to diff View file |
M | src/scripts/switch-to/src/components/Body/RecentItems/ListOfRecentItems.vue | +9 | β1 | Go to diff View file |
M | src/scripts/switch-to/src/components/Body/RecentItems/RecentItemsEntry.test.ts | +60 | β0 | Go to diff View file |
M | src/scripts/switch-to/src/components/Body/RecentItems/RecentItemsEntry.vue | +37 | β2 | Go to diff View file |
M | src/scripts/switch-to/src/components/Body/RecentItems/__snapshots__/RecentItemsEntry.test.ts.snap | +3 | β0 | Go to diff View file |
M | src/scripts/switch-to/src/initiate-app.ts | +1 | β0 | Go to diff View file |
M | src/scripts/switch-to/src/store/actions.test.ts | +468 | β0 | Go to diff View file |
M | src/scripts/switch-to/src/store/actions.ts | +94 | β2 | Go to diff View file |
M | src/scripts/switch-to/src/store/mutations.test.ts | +15 | β1 | Go to diff View file |
M | src/scripts/switch-to/src/store/mutations.ts | +8 | β1 | Go to diff View file |
M | src/scripts/switch-to/src/store/type.ts | +12 | β1 | Go to diff View file |