Skip to content
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

Backport of [ui] Fixes an issue where shift+num would not open an eval on the evaluations index table into release/1.7.x #20053

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #20047 to be assessed for backporting due to the inclusion of the label backport/1.7.x.

The below text is copied from the body of the original PR.


Because we have multiple links on the Evaluations page table (to open the eval in a sidebar, and also to open the job to which the eval is related), we used a keyboard event "keyup" binding to let a user do something like tab + enter or tab + space to open the sidebar.

This predated the general keyboard navigation convention in the Nomad UI of shift+01, shift+02 to open a list row item action. The "which key was pressed" guard on opening the sidebar prevents this sidebar from opening with shift+n, and this PR fixes that by passing in an explicit "keynav" string on command.

image
Overview of commits

@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/b-ui/fix-eval-ui-keynav-open/strangely-heroic-seal branch from 0234dff to 64c0095 Compare February 29, 2024 17:26
@vercel vercel bot temporarily deployed to Preview – nomad February 29, 2024 17:31 Inactive
@vercel vercel bot temporarily deployed to Preview – nomad-storybook-and-ui February 29, 2024 17:35 Inactive
Copy link

Ember Test Audit comparison

release/1.7.x 64c0095 change
passes 1548 1548 0
failures 0 0 0
flaky 0 0 0
duration 10m 36s 907ms 10m 25s 519ms -11s 388ms

@tgross tgross added the stage/needs-rebase This PR needs to be rebased on main before it can be backported to pick up new BPA workflows label May 17, 2024
@philrenaud philrenaud removed the stage/needs-rebase This PR needs to be rebased on main before it can be backported to pick up new BPA workflows label May 17, 2024
@philrenaud philrenaud closed this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants