Commit Graph

4233 Commits

Author SHA1 Message Date
renovate[bot]
f0e00286b8 chore(deps): update codesee to v0.347.0 2022-08-13 20:58:39 +00:00
camperbot
88e8fd8f29
chore(i18n,client): processed translations (#47269) 2022-08-12 11:41:09 -07:00
camperbot
e7fe34c1e9
chore(i18n,client): processed translations (#47248) 2022-08-10 11:21:33 -07:00
Tom
136f60bbef
feat: move rdb order to middle of superblocks (#46138)
feat: move rdb out of beta
2022-08-10 18:48:39 +02:00
renovate[bot]
1f8c08efbb
fix(deps): update dependency @freecodecamp/loop-protect to v3 (#46801)
* fix(deps): update dependency @freecodecamp/loop-protect to v3

* refactor: preset definition to getBabelOptions

* refactor: pass in presets

* refactor: simplify getBabelOptions

* fix: use getBabelOptions

* refactor: use simpler names

* chore: update comment

* fix: destructure properly

* fix: remove default object

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-08-10 16:12:59 +01:00
sidemt
348baeb496
chore(i18n,client): improve Japanese meta tags (#47250) 2022-08-10 16:50:59 +02:00
camperbot
a24121e334
chore(i18n,client): processed translations (#47227) 2022-08-10 08:56:55 +02:00
Naomi Carrigan
b6115b9880
fix: adjust grid map css (#47159)
* fix: adjust grid map css

* feat: use grid instead

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

Co-authored-by: Bruce B <bbsmooth@gmail.com>
2022-08-10 11:00:30 +09:00
Muhammed Mustafa
e605233d3a
feat(client): i18n link alert (#46755)
attach i18next to window, give window alerts access to i18next.t

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-08-09 11:58:36 +02:00
renovate[bot]
3b9db39c9c fix(deps): update dependency react-instantsearch-dom to v6.31.1 2022-08-09 05:36:18 +00:00
Hankai Xia
bc369e97d8
fix(client): worker executor task once (#46951) 2022-08-08 11:20:15 -05:00
renovate[bot]
41e85ef2bb fix(deps): update dependency @stripe/stripe-js to v1.35.0 2022-08-08 07:51:48 +00:00
renovate[bot]
73e7669618
chore(deps): update codesee to v0.342.0 (#47195)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 13:09:32 +05:30
camperbot
e55ba54b47
chore(i18n,client): processed translations (#47164) 2022-08-08 11:36:57 +05:30
renovate[bot]
74dc4e8069 fix(deps): update dependency react-transition-group to v4.4.5 2022-08-07 22:54:38 +00:00
renovate[bot]
aaca7ee732 chore(deps): update dependency postcss to v8.4.16 2022-08-07 13:23:29 +00:00
renovate[bot]
3aca9eee95 chore(deps): update dependency @testing-library/jest-dom to v5.16.5 2022-08-06 18:21:54 +00:00
renovate[bot]
b3bcc79444 chore(deps): update babel monorepo 2022-08-06 12:50:04 +00:00
camperbot
6f6cf5f63a
chore(i18n,client): processed translations (#47153) 2022-08-05 10:05:09 +02:00
Jagruti Tiwari
4e55be35bd
feat: show reset button after submitting the code once (#47126)
* feat: shows reset after checking code once

* fix: changed conditions to hide and show help button
2022-08-04 17:13:34 +03:00
Naomi Carrigan
4cdf31d9dc
chore: remove mongo reference (#47133)
* chore: remove mongo reference

* chore: apply review suggestions

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2022-08-04 11:26:41 +02:00
camperbot
4b4e043675
chore(i18n,client): processed translations (#47122) 2022-08-02 15:53:00 +02:00
renovate[bot]
18f9d63ebb fix(deps): update stripe 2022-08-01 01:14:15 +00:00
renovate[bot]
91112827ab chore(deps): update codesee to v0.334.0 2022-07-31 22:13:52 +00:00
renovate[bot]
d31c5a62ff chore(deps): update dependency webpack to v5.74.0 2022-07-31 16:42:06 +00:00
renovate[bot]
643124d9fa fix(deps): update font awesome to v6.1.2 2022-07-31 14:28:01 +00:00
renovate[bot]
afefff3377 fix(deps): update dependency react-transition-group to v4.4.4 2022-07-31 10:59:13 +00:00
renovate[bot]
2cb5f6e180 fix(deps): update dependency react-i18next to v11.18.3 2022-07-31 05:40:21 +00:00
renovate[bot]
c59ea81f3c fix(deps): update dependency algoliasearch to v4.14.2 2022-07-31 03:34:35 +00:00
renovate[bot]
13d5e4ab10 chore(deps): update dependency autoprefixer to v10.4.8 2022-07-30 17:31:31 +00:00
Naomi Carrigan
836ccb79b1
chore: resolve type coercion todo comment (#47036) 2022-07-28 09:18:08 +02:00
Sem Bauke
2440d3f43f
chore(client): make curriculum helpers external (#46906)
* chore: make curriculum helpers external

* feat: add curriculum helpers as a package

* fix: use right preset?

* fix: update version with babel transpiled files

* fix: re-add fixture

* fix: declare as module

* fix: add declaration files in curriculum helpers

* fix: nothing with version 1.0.4

* fix: missing functions in package

* fix: remove old babel

* fix: linting
2022-07-27 19:00:37 +02:00
camperbot
1063426e5d
chore(i18n,client): processed translations (#47030) 2022-07-26 00:25:21 +09:00
Oliver Eyton-Williams
167b94b223
fix(client): handle empty editor contents (#46986) 2022-07-25 15:18:53 +02:00
Dario-DC
dfd1fb22a0
chore(i18n): Updated italian/meta-tags.json (#46963)
* Updated italian/meta-tags.json

* Added keywords
2022-07-24 11:16:48 +02:00
renovate[bot]
f20527af54 fix(deps): update dependency algoliasearch to v4.14.1 2022-07-24 06:21:27 +00:00
renovate[bot]
08cc08d7fd chore(deps): update codesee to v0.331.0 2022-07-24 00:01:34 +00:00
renovate[bot]
423deb3815 fix(deps): update dependency sanitize-html to v2.7.1 2022-07-23 21:00:03 +00:00
renovate[bot]
1d13cd5511 fix(deps): update dependency react-instantsearch-dom to v6.30.2 2022-07-23 18:35:49 +00:00
renovate[bot]
9143b08f2b chore(deps): update babel monorepo to v7.18.9 2022-07-23 03:26:19 +00:00
camperbot
9433970aab
chore(i18n,client): processed translations (#46962) 2022-07-22 12:46:14 +02:00
Ahmad Abdolsaheb
93b3151cca
Adding meta-tags in Ukranian (#46981) 2022-07-22 10:00:18 +02:00
DanielRosa74
f0e4131f9d
Adding meta-tags in Portuguese (#46973) 2022-07-21 12:18:09 -05:00
sidemt
ccd128959a
i18n: add missing translation for Japanese (#46974)
i18n: add missing translation
2022-07-21 12:17:02 -05:00
Hankai Xia
b0faf882e1
chore(client): ts-migrate i18n-schema-validation (#46703)
* chore(client): Typescript migrate of i18n-schema-validation

* refactor(client): readJsonFile in i18n-schema-validation

* chore(client): extract field
2022-07-20 17:44:59 +02:00
camperbot
3ad1c72876
chore(i18n,client): processed translations (#46953) 2022-07-19 23:44:09 +09:00
Ahmad Abdolsaheb
72a9e76ce5
feat: remove the mention of recurring donations. (#46948)
feat: remove the mention of ongoing donations
2022-07-19 08:39:45 -05:00
Radi Totev
8f19b1926b
chore(client): typescript migration - utils/build.js (#46761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Luke Steinmann <92131626+lulululu12345@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
2022-07-19 11:54:38 +05:30
Oliver Eyton-Williams
ef68b2ce7d
fix(client): simplify challenge completion wording (#46938) 2022-07-18 14:59:10 +02:00
Oliver Eyton-Williams
0e8113b4af
fix: allow users to submit after editing (#46939)
If a user runs the tests and they pass, the multifile editor will show a
submit button.  If the user then edited the page, it would no longer be
possible to submit.

This ensures the redux store keeps the original, passing, tests and lets
the user submit
2022-07-18 14:57:53 +02:00
Oliver Eyton-Williams
9421aa6041
fix: expand projects on map (#46937) 2022-07-18 11:34:19 +02:00
Bruce Blaser
0345244c43
fix(a11y): change headings in footer to h2 (#46932)
fix: change headings in footer to h2
2022-07-17 09:59:15 -07:00
renovate[bot]
85b009b308 chore(deps): update dependency ts-node to v10.9.1 2022-07-17 03:52:46 +00:00
renovate[bot]
48231dba8e chore(deps): update codesee to v0.324.0 2022-07-16 19:38:48 +00:00
renovate[bot]
a8a1f81963 fix(deps): update dependency react-lazy-load to v3.1.14 2022-07-16 17:25:16 +00:00
renovate[bot]
50df776ab6 fix(deps): update dependency react-instantsearch-dom to v6.30.1 2022-07-16 13:33:57 +00:00
renovate[bot]
a0b0942692
chore(deps): update dependency serve to v13.0.4 (#46817)
* chore(deps): update dependency serve to v13.0.4

* test: fix for it

* test: I think this might be right

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-07-15 12:33:29 +05:30
renovate[bot]
f6f252eba8
chore(deps): update dependency eslint-plugin-react to v7.30.1 (#46664)
* chore(deps): update dependency eslint-plugin-react to v7.30.1

* fix: prettier

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-07-14 21:07:56 +05:30
camperbot
65196f6b49
chore(i18n,client): processed translations (#46892) 2022-07-14 17:06:49 +02:00
Ilenia
0a2d0733a2
feat: simplify client logic (#46870)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-07-14 14:11:20 +05:30
sidemt
eea6f5195c
fix(i18n): configure search Japanese publication (#46888) 2022-07-14 14:02:01 +05:30
renovate[bot]
9756175852 fix(deps): update dependency react-i18next to v11.18.1 2022-07-13 22:31:58 +00:00
Oliver Eyton-Williams
2f6eef61d4
fix: save project to redux on submit (#46791) 2022-07-13 15:20:02 +05:30
Ilenia
1a8899bfb8
feat: remove random id from forum topic title (#46869)
feat/remove random id from forum topic title

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2022-07-12 16:46:11 -07:00
Moshe
67cf5d63f2
fix(client): prevent navigating on failed submissions (#46734)
* fix(37615): avoid navigate to next challenge api fails

* fix: elsint errors

* fix: more elsint errors

* fix: make 'navigate' call conditional

* chore: removed async prefix from naigateTo method

* refactor: compare types with constants

* chore: remove unused closeChallengeModal

* fix: restore call to closeModal

* refactor: use setTimeout inside map block

* fix: requested changes according the comments

* fix:remove !request.ok block
2022-07-12 10:17:08 -05:00
Moshe
8d4d4d79e8
fix(ui): "sign in" button hidden at small devices (#46561)
* fix(UI): missing sign-in button at small devices

* feat: replace menu and sign-in buttons text with images

* refactor: svg icons replaced by fortawesome ones

* test: fix e2e test of navigation menu button

* feat: display sign in button and hide all

* feat: display sign in icon on nav for small screens

* feat: add accessibility span for menu icon

* fix: lint errors

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-07-12 08:15:52 -05:00
Ilenia
f61b227665
chore: rename project type from bonfire to jsProject (#46823)
* change bonfire in index.js

* change bonfire in build.js

* change bonfire in challenge-types.js

* change bonfire in test-challenges.js

* add jsProject to constants.js
2022-07-11 07:28:29 -05:00
Naomi Carrigan
31a542d111
fix: update i18n keys (#46838)
* fix: update key for i18n CTA link

* chore: sync remaining keys

* fix: update forum category links
2022-07-10 10:25:46 +02:00
renovate[bot]
f2c3329855 fix(deps): update dependency react-instantsearch-dom to v6.30.0 2022-07-10 06:21:47 +00:00
renovate[bot]
fc580165ae fix(deps): update dependency psl to v1.9.0 2022-07-10 03:05:25 +00:00
renovate[bot]
44fb2f37b8 chore(deps): update codesee to v0.315.0 2022-07-09 22:18:13 +00:00
renovate[bot]
b0352c34e9 chore(deps): update babel monorepo to v7.18.8 2022-07-09 02:00:46 +00:00
alpox
e3fe5d0a9b
feat: add title to "ask for help" forum requests (#46777)
* feat: add title to "ask for help" forum requests

* fix: remove need for translation

* fix: remove dangling comma

* fix: no email-fallback but remove user part if no username is available

* fix: fallback to username if no name is set

* Use nanoid instead of username

* Add block title to challenge description
2022-07-08 13:48:09 -07:00
camperbot
a2d25f40c3
chore(i18n,client): processed translations (#46787) 2022-07-07 07:54:38 -07:00
Ahmad Abdolsaheb
ba6de5a8ef
feat: footer jun 22 (#46764) 2022-07-07 10:55:47 +02:00
camperbot
5a617186c1
chore(i18n,client): processed translations (#46773) 2022-07-06 17:34:24 +02:00
renovate[bot]
4bfa15857c
chore(deps): update babel monorepo (#46738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-06 11:32:38 +05:30
Muhammed Mustafa
793e021b82
chore(curriculum): remove wiki reference from cip (#46457)
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
2022-07-05 23:26:03 +05:30
renovate[bot]
f2e0fa548e
fix(deps): update dependency @fortawesome/react-fontawesome to v0.2.0 (#46745)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-05 13:45:21 +05:30
renovate[bot]
1fdfd7884b chore(deps): update dependency ts-node to v10.8.2 2022-07-02 21:38:17 +00:00
renovate[bot]
da5d5462ff chore(deps): update codesee to v0.312.0 2022-07-02 12:27:07 +00:00
Radi Totev
e17e57aba5
feat: update keyboard shortcuts client endpoint (#46378)
* feat: update keyboard shortcuts client endpoint

* Update client/src/redux/settings/settings-sagas.js

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update putUpdateMyKeyboardShortcuts return type

* Use new saga in shortcuts-modal

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-07-01 11:38:06 -07:00
Tom
a02db52800
fix: caching issues (#46716) 2022-07-01 15:24:29 +02:00
camperbot
d2b93ae838
chore(i18n,client): processed translations (#46732) 2022-07-01 15:03:55 +02:00
Ilenia
ac6f9fc95d
fix: collapse rosetta (#46714) 2022-07-01 12:32:01 +02:00
camperbot
bdd7278f54
chore(i18n,client): processed translations (#46724) 2022-06-30 17:25:34 +02:00
Ilenia
32175ff149
fix(client): fix typo (#46690) 2022-06-29 17:11:59 -05:00
camperbot
c7470ac4cd
chore(i18n,client): processed translations (#46710) 2022-06-29 16:36:28 +02:00
Muhammed Mustafa
c648de9ee7
fix(client): validation test is typing a file, that doesn't exist (#46657)
fix(client): validation test looking for a file that doesn't exist
2022-06-27 15:44:56 +02:00
camperbot
1fe52761c0
chore(i18n,client): processed translations (#46681) 2022-06-27 12:46:17 +00:00
Caden Parker
85f3ecbb0a
Change Link Regex Tests to DOM queries (#45890)
* Change link regex tests to DOM queries

* Keep injection of style tag

Co-authored-by: Florencia <sicref001@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-06-27 10:37:23 +02:00
renovate[bot]
814a90f27f fix(deps): update dependency react-i18next to v11.17.3 2022-06-26 22:56:39 +00:00
Oliver Eyton-Williams
8bc5b0a310
fix: show completion modal (#46589)
* fix: make ctrl/cmd + enter trigger modal

Multifile projects should be handled like legacy challenges in this
regard.

* test: check modal appears

* refactor: ignore additional solutions

* test: fix ctrl + enter tests

* fix: only run on electron

* fix: remove log

* fix: show completion modal if instructions focused

* fix: handle undefined challengeType
2022-06-26 12:23:46 -05:00
renovate[bot]
9f16562fc0 fix(deps): update dependency react-instantsearch-dom to v6.29.0 2022-06-26 03:02:56 +00:00
renovate[bot]
0eacd9c5fd chore(deps): update codesee to v0.299.0 2022-06-25 18:41:48 +00:00
camperbot
98bf5d72de
chore(i18n,client): processed translations (#46642) 2022-06-25 00:24:17 +09:00
Naomi Carrigan
74a03ce0e5
feat: only 3 attempts before showing buttons (#46641)
* feat: only 3 attempts before showing buttons

* fix: linter
2022-06-24 08:27:18 +03:00
Dario-DC
1cd3cedc74
feat: new italian footer (#46634)
new footer
2022-06-23 19:21:12 +02:00
camperbot
81f4feb3be
chore(i18n,client): processed translations (#46630) 2022-06-23 21:34:10 +05:30
Oliver Eyton-Williams
44b1a3dab5
fix(client): inject user's script.js contents correctly (#46627)
With this change the preview should function as if the user had written
a script with script.js's contents.  <script src="script.js"> is
replaced, so the script element's position in the html matters.
2022-06-23 16:34:29 +01:00
Oliver Eyton-Williams
9046d70b67
fix: use certification hours consistently (#46442)
* fix: use certification hours consistently

Since the value appearing on the /learn map was hardcoded, it could have
gone out of sync with the certifications, which were relying on
certification-settings.

Also, for simplicity (and because it's hard to estimate accurately), all
the certifications are set to 300 hours.  Fullstack being the exception,
as it is a set of certifications.

* feat: remove the hours from the map
2022-06-23 14:24:33 +03:00
Naomi Carrigan
4e8ab1634b
feat: update the new rwd intro (#46624) 2022-06-22 15:14:29 -05:00
Oliver Eyton-Williams
22bb60196a
chore: update stripe (#46604) 2022-06-22 16:59:39 +03:00
camperbot
f69864913d
chore(i18n,client): processed translations (#46601) 2022-06-21 19:44:03 +05:30
renovate[bot]
19f27fe3f8 chore(deps): update dependency webpack-cli to v4.10.0 2022-06-21 05:24:28 +00:00
Shaun Hamilton
7a91407184
fix(client): handle verification of full-stack cert once (#46588) 2022-06-20 13:14:22 -07:00
camperbot
e95c76022b
chore(i18n,client): processed translations (#46583) 2022-06-20 18:28:03 +05:30
renovate[bot]
1d793e011e
chore(deps): update codesee to v0.284.0 (#46562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 15:48:43 +05:30
renovate[bot]
17cc61dfe1
fix(deps): update dependency typescript to v4.7.4 (#46560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 15:48:19 +05:30
renovate[bot]
03daea6fde fix(deps): update dependency react-i18next to v11.17.2 2022-06-20 07:05:56 +00:00
renovate[bot]
c3b96b4504 fix(deps): update dependency react-ga to v3.3.1 2022-06-20 00:00:59 +00:00
renovate[bot]
5834cb3ad6 chore(deps): update babel monorepo to v7.18.5 2022-06-18 10:30:31 +00:00
Bruce Blaser
bcb048a93b
fix(a11y): improve RWD challege grid accessibility (#45957)
* fix: improve RWD challege grid accessibility

* fix: change wording from challenge to step

* fix: improve keyboard focus indicator on step links

* fix: style jump link as button

* fix: accessible background color for completed steps

* refactor: make steps a nav region

* refactor: remove duplicate selector

* fix: enhance focus indicator on jump link

* fix: TS type

* refactor: remove unneeded CSS

* chore: resolve conflict

* chore: translate accessible name on nav

* fix: remove h4 from button

* fix: add course name to toggle button

* fix: improve accessibility of course stats on toggle button

* fix: prefix step links with sr-only "Step"

* fix: add start project button

* refactor: remove unnecessary spaces

* fix: clean up styles

* Update client/src/templates/Introduction/intro.css

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-06-17 15:45:40 +03:00
Radi Totev
9e51b59584
feat: show sign in button for unauthenticated users (#46401) 2022-06-16 13:47:30 +02:00
camperbot
d4234c256b
chore(i18n,client): processed translations (#46507) 2022-06-15 15:17:07 +02:00
camperbot
8f57a8c976
chore(i18n,client): processed translations (#46496) 2022-06-14 21:09:31 +05:30
Bruce Blaser
46450b802c
fix(a11y): improve challenge test suite results accessibility (#45802)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-06-14 12:09:25 +05:30
camperbot
e559212f67
chore(i18n,client): processed translations (#46484) 2022-06-14 03:14:08 +09:00
renovate[bot]
b4cef73d28
fix(deps): update dependency reselect to v4.1.6 (#46459)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 12:38:32 +05:30
Renovate Bot
2d2f019e4a fix(deps): update dependency react-instantsearch-dom to v6.27.0 2022-06-12 23:41:23 +00:00
Renovate Bot
0a9b4a4ece chore(deps): update codesee to v0.280.0 2022-06-12 17:16:31 +00:00
Renovate Bot
42eec9ca1c fix(deps): update dependency react-i18next to v11.17.1 2022-06-12 14:18:22 +00:00
Oliver Eyton-Williams
55e71cb599
fix: slightly improve logging from promises (#46422) 2022-06-10 22:28:38 +05:30
camperbot
5a5272a67c
chore(i18n,client): processed translations (#46439) 2022-06-10 23:04:24 +09:00
camperbot
961a41de21
chore(i18n,client): processed translations (#46420) 2022-06-10 02:03:50 +05:30
Radi Totev
c0e0dcfef9
chore: improve spelling (#46421) 2022-06-09 16:18:35 +02:00
Bruce Blaser
4f54125e76
fix:enable default mouse/touch events on monaco content widget (#46217)
* fix:enable default mouse events on monaco content widget

* add touch event handling

* initial test of scroll gutter

* disable scroll gutter

* re-enable gutter scroll as content widget

* move scroll gutter over line numbers

* fix: bug in moving scroll gutter over line numbers

* CSS adjustments to put scroll gutter over line numbers

* fix: scroll gutter height

* fix: make scroll gutter width responsive

* refactor: consolidate event handlers

* refactor: simplify args to createWidget
2022-06-09 12:07:40 +05:30
camperbot
89f78e4d8c
chore(i18n,client): processed translations (#46402) 2022-06-08 22:43:46 +05:30
Prathamesh Gawas
f803d60be1
fix: multiple redirects after account deletion (#46350) 2022-06-08 07:48:17 -07:00
Oliver Eyton-Williams
3361419e87
fix: set _csrf to be httpOnly (#46366)
There's no need for JS to access it, so we can safely set it to be
httpOnly
2022-06-08 16:54:23 +03:00
camperbot
ecfac5733c
chore(i18n,client): processed translations (#46381) 2022-06-07 14:00:36 -03:00
Oliver Eyton-Williams
f0f44ca315
feat(client): re-enable failed update re-submission (#46064)
* refactor: return response with data from ajax

Because we still need to manipulate the data coming back from the server
(files -> challengeFiles) and we want to keep ajax.ts as the interface
between client and server we need to return the manipulated data with
the response.

* feat: re-enable failed updates flushing

* test: failed updates get resubmitted and flushed

* fix: convert settings requests to use { data }

* refactor: use preserveSession
2022-06-07 17:52:23 +03:00
Jordan Moore
fcf2dd7254
fix(UI): Remove 'CTRL + Enter' on CTA for mobile (#46239)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-06-07 18:20:16 +05:30
camperbot
44b47e9e87
chore(i18n,client): processed translations (#46368) 2022-06-06 20:18:18 +05:30
Muhammed Mustafa
e7d7702e25
fix(client-UI): view button takes full width (#45964)
* added class to td so it takes full width

* added width 100% to dropbox components

* removed excessive code

* limit the max space dropdown takes

* `view` takes the same size as `show-solution`

* undo previous change

* view takes the same size as show-solution

* fix: static width for buttons on small screen

* fix: remove max-width cause iocd

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-06-06 08:43:48 +02:00
Renovate Bot
e5ed578541 fix(deps): update dependency react-i18next to v11.17.0 2022-06-06 00:45:41 +00:00
Renovate Bot
9ad8bf5435 chore(deps): update dependency webpack to v5.73.0 2022-06-05 15:30:20 +00:00
Renovate Bot
4ff5d480c0 chore(deps): update codesee to v0.276.0 2022-06-05 05:48:10 +00:00
Renovate Bot
902ca385ee fix(deps): update dependency typescript to v4.7.3 2022-06-05 03:43:47 +00:00
Renovate Bot
366e18e339 fix(deps): update babel monorepo to v7.18.4 2022-06-05 01:42:33 +00:00
Renovate Bot
b3ed01b226 chore(deps): update dependency ts-node to v10.8.1 2022-06-04 19:54:43 +00:00
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
Sem Bauke
345268019c
fix(client): reduce line number bar width (#46309) 2022-06-03 15:01:08 +02:00
SadmanSyfe
12d742a4f0
fix(client): prevent lower jaw breaking on code evaluation (#46154)
* Fix(issue:#46062)

* feat: render based on earliest available lower jaw conditions

* fix: persist challenge completion properly

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-06-03 12:10:49 +02:00
Oliver Eyton-Williams
f55a4c48db
test: tighten up two more cypress tests (#46273)
* test: tighten up user-token

This should be faster and a little more reliable.  before should have
worked, but beforeEach seems more reliable, so I'm trying it.

* test: use a single test for intro-page

Should be more robust as well as a lot faster.
2022-06-03 11:44:20 +03:00
Ahmad Abdolsaheb
78090c76ca
feat(client): contextually show reset step button (#46272)
* feat: show reset step button contexually

* feat: rename render function

* fix:clean up

* feat: open a reset step modal
2022-06-02 19:34:31 +02:00
camperbot
9b67298008
chore(i18n,client): processed translations (#46293) 2022-06-02 12:36:46 -03:00
Ahmad Abdolsaheb
aead146554
feat(client): center login button (#46287)
* feat(client): center login button

* feat: remove unused file
2022-06-02 17:34:29 +03:00
Shaun Hamilton
b2da57881c
chore(client): remove console log (#46275) 2022-06-01 20:16:45 +02:00
Shaun Hamilton
33e0bb79d7
fix(client): add mathjax to intermediate-algorithm-scripting (#46270) 2022-06-01 20:01:22 +05:30