freeCodeCamp/config
Radi Totev e581bd9081
feat(client): shortcuts legend modal available on pressing the ? key (#45530)
* Add modal texts in translations.json file

* Add shortcuts modal state in redux

* Create shortcuts modal

* Integrate shortcuts modal

* Resolve codefactor.io issues

* Extend list of shortcuts

Based on this comment:
https://github.com/freeCodeCamp/freeCodeCamp/issues/36841#issuecomment-933310078

* Remove temporary placeholder for modal title

* Open modal fom Hotkeys instead of learn.tsx

As suggested in this comment:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1101224993

* Complete list in transaltions

* Change shortcut presentation fo better a11y

Use table instead of list items as suggestedin this comment:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1101796368

* Add aria-labelledby

* Remove GAnalytics

* Remove leftover style

* Remove table caption

* autofocus on modal close button

* Improve modal a11y

- Add requested changes from https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1104764766
- Leave autofocus and parent div role=dialog changes for later. (https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1107754148)

* [WIP] Alllow users to turn off keyboard shortcuts

* Add keyboard shortcuts switch in settings

* Disable shortcuts

* Remove toggle switch description

* Refactor and cleanup

* Remove close button from modal header

Suggested by bbsmooth:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1107861091

* Fix lint issues

* Disable shortcuts

* Disable shortcuts by default

* Update challenge output test

* Update challenge-hot-keys test

* Disable shortcuts from inside handlers

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2022-06-03 09:57:52 -07:00
..
client chore(client): refactor & organise config (#40875) 2021-02-03 15:22:07 +05:30
crowdin chore(tools): ignore step files (#43947) 2021-10-20 22:25:46 +02:00
i18n feat: release RWD from beta (#45865) 2022-05-10 11:44:23 -05:00
analytics-settings.js feat: isolate production and staging analytics (#41648) 2021-03-30 06:45:54 -07:00
certification-settings.ts feat: new js cert (#45873) 2022-05-16 11:53:45 +02:00
constants.js feat(client): shortcuts legend modal available on pressing the ? key (#45530) 2022-06-03 09:57:52 -07:00
cors-settings.js fix: negative sentiment → neutral language (#39522) 2020-09-07 11:04:44 +05:30
donation-settings.js feat: a/b test lock icon button (#45868) 2022-05-06 15:06:48 +02:00
misc.js fix: return 410 for api/github (#45250) 2022-02-25 10:38:29 +01:00
read-env.js Add Sentry to client for error handling (#43920) 2022-04-15 09:54:02 -05:00
secrets.js Add Sentry to client for error handling (#43920) 2022-04-15 09:54:02 -05:00
tsconfig.json refactor: organise TypeScript config and migrate helpers (#44747) 2022-01-25 11:34:16 +01:00