Commit Graph

4187 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
15309a88d0 fix: update lower jaw on ctrl enter (#47463)
* fix: update jaw on all ctrl-enter presses

* fix: show running tests while hiding feedback

Screenreaders still announcing running tests and then the output, and
the display now stops showing a flash of the new feedback message

* refactor: camelCase

* refactor: clean up and reduce renders

previousHint isn't really state, insofar as it changing should not
trigger a new render - a ref does the trick.

* chore: remove log

* fix: use ref to track latest attempts prop

* fix: allow lower jaw to trigger viewzone updates

React.render's callback cannot be relied on. It does not necessarily
get called on every update to the rendered element.

updateContainer is called on every render, so the editor will be
updated.

* refactor: attemptsNumber -> attempts

* fix: do not render on attempt changes

* refactor: more camelCase

* fix: try to prevent previous hint rendering

Co-authored-by:
Manabu Matsumoto <mmatsumoto1026@gmail.com>

* test: resetting of lower jaw

* fix: reset lower jaw when step is reset

* test: check congrats message appears on completion

* fix: hide feedback after reset

* fix: leave focus in the editor after passing tests

This is an attempt to work around a JAWS issue whereby the submit
shortcut (ctrl+enter) is ignored after the user passes all tests.

* test: submit button receives focus when tests pass

* fix: focus submit button when tests pass

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
2022-09-15 12:44:06 -05:00
Sem Bauke
8c83a96e93 feat: volume slider campfire mode (#47259)
* feat: volume slider campire mode

* fix: set a play sound interval

* fix: set volume to 50% if there is no volume key

* fix: add correct colors to progress bar

* fix: remove IE support

* fix: get slide value working in Chrome

* fix: remove space

* fix: actually use volume in the editor

* fix: add aria-label

* fix: set volume if not present in store

* fix: use label instead

* Apply Naomi's review on Toms suggestion

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>

* fix: linting

* Update client/i18n/locales/english/translations.json

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>

Co-authored-by: root <root@DESKTOP-EMNPVBP.localdomain>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
2022-09-15 15:42:03 +03:00
Oliver Eyton-Williams
9355406aed refactor: add explanation of instruction width (#47504) 2022-09-12 13:42:56 -07:00
renovate[bot]
5ff719a4c8 fix(deps): update font awesome to v6.2.0 (#47443)
* fix(deps): update font awesome to v6.2.0

* fix: update snapshots

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2022-09-12 17:16:32 +05:30
renovate[bot]
00665d96f3 fix(deps): update dependency @stripe/stripe-js to v1.36.0 (#47498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-12 15:51:52 +05:30
renovate[bot]
6b432c006b fix(deps): update dependency @freecodecamp/curriculum-helpers to v1.1.0 2022-09-11 18:25:22 +00:00
renovate[bot]
132426ebf9 chore(deps): update babel monorepo to v7.19.0 2022-09-11 12:17:56 +00:00
renovate[bot]
460335599d fix(deps): update dependency typescript to v4.8.3 2022-09-11 09:16:23 +00:00
renovate[bot]
743d5a660d fix(deps): update dependency react-i18next to v11.18.6 2022-09-11 04:24:29 +00:00
renovate[bot]
9f61523d08 chore(deps): update dependency redux-saga-test-plan to v4.0.6 2022-09-10 22:14:45 +00:00
kulraj chavda
acc966ac31 add visual separation in Change language menu UI (#47418)
add visual seperation in Change language menu UI
2022-09-08 13:16:27 +05:30
camperbot
46d08d324f chore(i18n,client): processed translations (#47458) 2022-09-07 16:11:41 +02:00
camperbot
b7fefbf8a5 chore(i18n,client): processed translations (#47450) 2022-09-07 09:24:39 +02:00
Manabu Matsumoto
145521b3d4 fix(UI): restore keyboard accessibility (#47427)
* fix: restore keyboard accessibility

* fix/ make code easier to maintain
2022-09-06 19:21:38 +02:00
Tom
c280e8a363 feat: add preview popout window (#46251)
* feat: add preview popout window

* fix: remove unused

* fix: add title to window

* fix: add preview to window title

* feat: it works

* chore: clean up

* chore: more clean up

* fix: add better screen reader messages
2022-09-04 13:15:54 +02:00
renovate[bot]
e877720f88 chore(deps): update codesee to v0.364.0 2022-09-03 23:55:32 +00:00
renovate[bot]
6b6a03913c fix(deps): update dependency react-instantsearch-dom to v6.32.1 2022-09-03 20:25:22 +00:00
camperbot
c525a36157 chore(i18n,client): processed translations (#47429) 2022-09-01 13:35:07 -05:00
camperbot
f5ecb9aa95 chore(i18n,client): processed translations (#47420) 2022-08-31 08:58:56 -07:00
Sem Bauke
57695d7d88 feat: add lang code to iframe (#47365)
* feat: add lang code to iframe

* feat: apply Naomi's code review

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>

* fix: Iframe title test

* Apply suggestions from code review

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>

* fix: hopefully things make sense

* fix: steal sem's idea for DOMParser

* fix: make the solution work on the main frame

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-08-30 09:30:02 -07:00
camperbot
3642ddfcd8 chore(i18n,client): processed translations (#47414) 2022-08-30 14:54:27 +02:00
camperbot
077d0a6e94 chore(i18n,client): processed translations (#47409) 2022-08-29 07:35:53 -07:00
Naomi Carrigan
406d47deb0 feat: add search link to help modal (#47385)
Co-authored-by: =?UTF-8?q?Lasse=20J=C3=B8rgensen?= <28780271+lasjorg@users.noreply.github.com>
2022-08-29 16:12:50 +02:00
renovate[bot]
da69ec485a fix(deps): update dependency typescript to v4.8.2 2022-08-29 13:45:42 +00:00
renovate[bot]
40c70ba50d fix(deps): update dependency react-instantsearch-dom to v6.32.0 (#47405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-29 14:25:12 +05:30
renovate[bot]
6b60989644 chore(deps): update dependency prismjs to v1.29.0 2022-08-29 01:52:46 +00:00
renovate[bot]
36758d0e26 chore(deps): update codesee to v0.359.0 2022-08-28 15:27:50 +00:00
renovate[bot]
072423d994 fix(deps): update dependency react-i18next to v11.18.5 2022-08-28 12:41:04 +00:00
renovate[bot]
c67df77af2 fix(deps): update dependency jquery to v3.6.1 2022-08-28 09:29:34 +00:00
renovate[bot]
31e6b823f4 chore(deps): update babel monorepo to v7.18.13 2022-08-27 14:15:50 +00:00
SadmanSyfe
ec3d6deb35 chore(client): Typescript migration of __mocks__/gatsby.js (#47334)
* chore(client): Typescript migration of __mocks__/gatsby.js

* chore(client): Typescript migration of __mocks__/gatsby.js
2022-08-26 17:27:08 -05:00
camperbot
6cde7ce90f chore(i18n,client): processed translations (#47387) 2022-08-26 16:10:52 -05:00
Shaun Hamilton
d66786d481 chore(client): clean-up lower-jaw logic (#47352)
* chore(client): clean-up lower-jaw logic

* fix: linter required node_modules
2022-08-26 16:06:14 -05:00
camperbot
d915f522a9 chore(i18n,client): processed translations (#47381) 2022-08-25 15:57:21 +02:00
camperbot
72879317b2 chore(i18n,client): processed translations (#47372) 2022-08-24 08:28:43 -07:00
miyaliu666
d728cc3fef update the Chinese forum link in menu (#47373)
update the forum link
2022-08-24 16:04:03 +02:00
Naomi Carrigan
5e402e6955 feat: allow languages to be hidden (#47362) 2022-08-23 20:53:47 +02:00
Stephan Düsterhöft
8242b3f21f chore(i18n,client): Adding meta-tags.json, links.json and motivation.json in German (#47347)
Co-authored-by: Ilenia <nethleen@gmail.com>
2022-08-22 16:57:58 +02:00
camperbot
d5262cdd43 chore(i18n,client): processed translations (#47354) 2022-08-22 07:36:22 -07:00
Manabu Matsumoto
a3bc36cd48 fix(UI): make possible to reset challenge after tests pass (#47326) 2022-08-22 11:18:21 +02:00
Naomi Carrigan
ccad7f02ea feat: enable german (#47312)
* chore: set up lang config

* chore: migrate the manually translated files

Co-authored-by: Sem Bauke <semboot699@gmail.com>
Co-authored-by: Ilenia <nethleen@gmail.com>
2022-08-22 08:54:55 +02:00
renovate[bot]
c2de4fef07 chore(deps): update codesee to v0.351.0 2022-08-21 01:25:32 +00:00
renovate[bot]
44adbee099 fix(deps): update dependency redux-saga to v1.2.1 2022-08-20 19:10:48 +00:00
renovate[bot]
ecc3ef03d5 fix(deps): update dependency react-i18next to v11.18.4 2022-08-20 16:01:10 +00:00
Quincy Larson
e74ac17ca5 Add inspiring quote (#47335)
Co-authored-by: Ilenia <nethleen@gmail.com>
2022-08-20 15:03:20 +05:30
camperbot
5f9c56361b chore(i18n,client): processed translations (#47329) 2022-08-19 15:56:08 +02:00
Tom
404a14ce03 fix: make ctrl+enter work on mac (#47303) 2022-08-19 13:34:06 +02:00
camperbot
4da78753e3 chore(i18n,client): processed translations (#47308) 2022-08-19 09:12:23 +02:00
Sem Bauke
c2c7f24d82 feat: expose submit types to API (#47293)
* feat: expose submit types to API

* fix: clear file name

* fix: keep submit types out of versioning
2022-08-18 00:08:22 +05:30
camperbot
4e5eb183e9 chore(i18n,client): processed translations (#47300) 2022-08-16 10:29:00 -07:00