open-nomad/ui/app/helpers
Phil Renaud cbd4deedf8
[ui] general keyboard navigation: 1.3.4 release (#14138)
* Initialized keyboard service

Neat but funky: dynamic subnav traversal

👻

generalized traverseSubnav method

Shift as special modifier key

Nice little demo panel

Keyboard shortcuts keycard

Some animation styles on keyboard shortcuts

Handle situations where a link is deeply nested from its parent menu item

Keyboard service cleanup

helper-based initializer and teardown for new contextual commands

Keyboard shortcuts modal component added and demo-ghost removed

Removed j and k from subnav traversal

Register and unregister methods for subnav plus new subnavs for volumes and volume

register main nav method

Generalizing the register nav method

12762 table keynav (#12975)

* Experimental feature: shortcut visual hints

* Long way around to a custom modifier for keyboard shortcuts

* dynamic table and list iterative shortcuts

* Progress with regular old tether

* Delogging

* Table Keynav tether fix, server and client navs, and fix to shiftless on modified arrow keys

Go to Optimize keyboard link and storage key changed to g r

parameterized jobs keyboard nav

Dynamic numeric keynav for multiple tables (#13482)

* Multiple tables init

* URL-bind enumerable keyboard commands and add to more taskRow and allocationRows

* Type safety and lint fixes

* Consolidated push to keyCommands

* Default value when removing keyCommands

* Remove the URL-based removal method and perform a recompute on any add

Get tests passing in Keynav: remove math helpers and a few other defensive moves (#13761)

* Remove ember math helpers

* Test fixes for jobparts/body

* Kill an unneeded integration helper test

* delog

* Trying if disabling percy lets this finish

* Okay so its not percy; try parallelism in circle

* Percyless yet again

* Trying a different angle to not have percy

* Upgrade percy to 1.6.1

[ui] Keyboard nav: "u" key to go up a level (#13754)

* U to go up a level

* Mislabelled my conditional

* Custom lint ignore rule

* Custom lint ignore rule, this time with commas

* Since we're getting rid of ember math helpers elsewhere, do the math ourselves here

Replace ArrowLeft etc. with an ascii arrow (#13776)

* Replace ArrowLeft etc. with an ascii arrow

* non-mutative helper cleanup

Keyboard Nav: let users rebind their shortcuts (#13781)

* click-outside and shortcuts enabled/disabled toggle

* Trap focus when modal open

* Enabled/disabled saved to localStorage

* Autofocus edit button on variable index

* Modal overflow styles

* Functional rebind

* Saving rebinds to localStorage for all majors

* Started on defaultCommandBindings

* Modal header style and cancel rebind on escape

* keyboardable keybindings w buttons instead of spans

* recording and defaultvalues

* Enter short-circuits rebind

* Only some commands are rebindable, and dont show dupes

* No unused get import

* More visually distinct header on modal

* Disallowed keys for rebind, showing buffer as you type, and moving dedupe to modal logic

willDestroy hook to prevent tests from doubling/tripling up addEventListener on kb events

remove unused tests

Keyboard Navigation acceptance tests (#13893)

* Acceptance tests for keyboard modal

* a11y audit fix and localStorage clear

* Bind/rebind/localStorage tests

* Keyboard tests for dynamic nav and tables

* Rebinder and assert expectation

* Second percy snapshot showing hints no longer relevant

Weird issue where linktos with query props specifically from the task-groups page would fail to route / hit undefined.shouldSuperCede errors

Adds the concept of exclusivity to a keycommand, removing peers that also share its label

Lintfix

Changelog and PR feedback

Changelog and PR feedback

Fix to rebinding in firefox by blurring the now-disabled button on rebind (#14053)

* Secure Variables shortcuts removed

* Variable index route autofocus removed

* Updated changelog entry

* Updated changelog entry

* Keynav docs (#14148)

* Section added to the API Docs UI page

* Added a note about disabling

* Prev and Next order

* Remove dev log and unneeded comments
2022-08-17 12:59:33 -04:00
..
.gitkeep sync 2017-09-19 10:08:23 -05:00
all-icons.js New all-icons helper that's really only meant for development use 2020-10-26 12:25:34 -07:00
bind.js ui: prettify js files 2022-01-20 09:54:56 -05:00
clean-keycommand.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
css-class.js Importing string methods directly from @ember/string (#12499) 2022-04-07 15:51:41 -04:00
eq-by.js Make eq-by helper resilient to a lack of prop since handlebars doesn't short-circuit evaluation 2020-08-06 17:59:26 -07:00
format-bytes.js Format all bytes using helpers, even the ones that are already MiBs 2021-03-31 09:29:02 -07:00
format-date.js New helpers to standardize date and timestamp formats 2019-02-01 09:19:28 -08:00
format-duration.js Add a longForm option to format-duration 2018-09-27 12:55:17 -07:00
format-hertz.js Use common helpers and utils for formatting hertz 2021-03-31 09:29:14 -07:00
format-job-id.js fix broken link to task-group in Recent Allocation table in jobs.job.index (#12765) 2022-04-28 14:02:15 -04:00
format-month-ts.js Add short option to date formatters 2020-05-06 17:21:46 -07:00
format-percentage.js Treat null and undefined equally 2020-05-13 08:36:04 -07:00
format-scheduled-bytes.js Format all bytes using helpers, even the ones that are already MiBs 2021-03-31 09:29:02 -07:00
format-scheduled-hertz.js Use common helpers and utils for formatting hertz 2021-03-31 09:29:14 -07:00
format-ts.js Add short option to date formatters 2020-05-06 17:21:46 -07:00
format-volume-name.js [ui, bugfix] Link fix for volumes where per_alloc=true (#12713) 2022-04-21 13:57:18 -04:00
is-object.js ui: prettify js files 2022-01-20 09:54:56 -05:00
keyboard-commands.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
lazy-click.js [ui] general keyboard navigation: 1.3.4 release (#14138) 2022-08-17 12:59:33 -04:00
pluralize.js Address inflector deprecations 2019-04-10 14:54:35 -07:00
qp-deserialize.js Expose existing qp serialization util as a helper 2020-05-19 17:28:23 -07:00
qp-serialize.js Expose existing qp serialization util as a helper 2020-05-19 17:28:23 -07:00
stringify-object.js Secure Variables: JSON view (#13439) 2022-07-11 13:34:06 -04:00
trim-path.js UI variables made to be unique by namespace and path (#14072) 2022-08-15 11:56:09 -04:00
x-icon.js ui: prettify js files 2022-01-20 09:54:56 -05:00