Commit Graph

30653 Commits

Author SHA1 Message Date
Renovate Bot
e9574c4f67 chore(deps): update dependency @testing-library/cypress to v8.0.3 2022-06-04 02:45:26 +00:00
L4rryFisherman
0562a41781 fix(curriculum): increase readability of the introduction (#46300)
* fix(curriculum): increase readability of the introduction

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/generate-an-array-of-all-object-keys-with-object.keys.md

Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>

Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
2022-06-03 16:15:25 -05:00
casem725
e627b5e0ad Added quotations around 'Question #' (#46302)
* Added quotations around 'Question #'

* fix: remove double quotes in assert

Co-authored-by: Casey <casay725@gmail.com>
Co-authored-by: Bruce B <bbsmooth@gmail.com>
2022-06-03 15:35:45 -05: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
Oliver Eyton-Williams
42ec3e2ecb test: reduce flake on multifileCertProject (#46313) 2022-06-03 09:36:46 -07:00
camperbot
6527844dd0 chore(i18n,docs): processed translations (#46310) 2022-06-03 21:35:18 +05:30
camperbot
2d718876a9 chore(i18n,learn): processed translations (#46311) 2022-06-03 21:34:56 +05:30
Prathamesh Gawas
3dd23c259c fix(learn): add example in building a set of colored markers (#46312) 2022-06-03 21:34:04 +05:30
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
Muhammed Mustafa
2bcaaeec04 fix(curriculum): external happy number link in CIP (#46307) 2022-06-03 11:47:23 +03:00
Muhammed Mustafa
4b1a524037 fix(curriculum): external lzw compression link in CIP (#46308) 2022-06-03 11:45:04 +03: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
Muhammed Mustafa
eee1db008e fix(curriculum): external hofstadter link in CIP (#46305) 2022-06-03 11:16:46 +03:00
Muhammed Mustafa
2f79969f6b fix(curriculum): external symmetric difference link in CIP (#46288)
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
2022-06-03 09:52:34 +02:00
Muhammed Mustafa
2b62eab803 fix(curriculum): external gray code link in CIP (#46304) 2022-06-03 09:51:22 +02:00
Muhammed Mustafa
bccb54bdaf fix(curriculum): external mode link in CIP (#46306) 2022-06-03 09:50:25 +02:00
Muhammed Mustafa
bfe50cd195 fix(curriculum): external lu decomposition link in CIP (#46286)
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
2022-06-03 12:01:42 +05:30
Muhammed Mustafa
76eba2423d fix(curriculum): external comb sort link in CIP (#46284) 2022-06-03 12:01:11 +05:30
Muhammed Mustafa
f15a73bd92 fix(curriculum): external sutherland algorithm link in CIP (#46283) 2022-06-03 12:01:02 +05:30
Muhammed Mustafa
804e7f471b fix(curriculum): external amicable pairs link in CIP (#46281)
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2022-06-03 12:00:22 +05:30
Oliver Eyton-Williams
b0ecd766e0 fix: order entries in available-superblocks.json (#46274) 2022-06-03 10:47:35 +05:30
L4rryFisherman
3d143b6aaa fix(curriculum): clarify that 'g flag' signifies 'global flag' (#46277)
* Update find-more-than-the-first-match.md

* fix(curriculum): clarify that 'g flag' signifies 'global search flag'
2022-06-02 20:05:04 +02:00
Muhammed Mustafa
2e879b5dbe fix(curriculum): external knight's tour link in CIP (#46289)
* fix(curriculum): external knight's tour link in CIP

* Refacter the parameters
2022-06-02 20:03:03 +02:00
Muhammed Mustafa
1d94a06c3f fix(curriculum): external Feray squence link in CIP (#46279)
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2022-06-02 20:02:06 +02:00
camperbot
ec9e7a7f10 chore(i18n,docs): processed translations (#46291) 2022-06-02 10:53:02 -07: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
Brian Nilles
9c1a329b6e fix(curriculum): change ; to : in description (#46297)
Fix typo of semi-colon instead of colon
2022-06-02 16:05:17 +01: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
Muhammed Mustafa
9c015adc2a fix(curriculum): external shall sort link in CIP (#46285)
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2022-06-02 17:32:46 +03:00
camperbot
b3929627b3 chore(i18n,learn): processed translations (#46294) 2022-06-02 15:19:53 +02:00
Muhammed Mustafa
5c4923e864 fix(curriculum): external LAS sequence link in CIP (#46280) 2022-06-02 13:15:51 +02:00
Dario-DC
790df7b0d4 fix(curriculum): hint and test weren't matching (#46290) 2022-06-02 12:47:02 +02:00
Shaun Hamilton
b2da57881c chore(client): remove console log (#46275) 2022-06-01 20:16:45 +02:00
Muhammed Mustafa
ff4b5069c1 fix(curriculum): external twitch link in CIP (#46261) 2022-06-01 20:49:59 +05:30
Muhammed Mustafa
83464c129d fix(curriculum): external wiki API links in CIP (#46260) 2022-06-01 20:49:28 +05:30
Muhammed Mustafa
e15889a53e fix(curriculum): external orbital link in legacy JSA (#46266)
* fix(curriculum): external orbital link in legacy JSA

* Shaun for the rescue

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-06-01 07:53:44 -07:00
Shaun Hamilton
33e0bb79d7 fix(client): add mathjax to intermediate-algorithm-scripting (#46270) 2022-06-01 20:01:22 +05:30
Muhammed Mustafa
8384b3c690 fix(curriculum): external Life link in CIP (#46262) 2022-06-01 07:16:20 -07:00
camperbot
915e4c5056 chore(i18n,learn): processed translations (#46269) 2022-06-01 07:10:25 -07:00
camperbot
fd7fe273bc chore(i18n,client): processed translations (#46268) 2022-06-01 07:09:14 -07:00
Shubham Rasal
9b9d85a451 Update index.md (#46267)
Fixes typo !
2022-06-01 07:31:03 -05:00
Muhammed Mustafa
603aec0cf1 fix(curriculum): external socket link in ISP (#46265) 2022-06-01 14:57:56 +03:00
Muhammed Mustafa
f17395007a fix(curriculum): external masonry link in CIP (#46264) 2022-06-01 14:57:09 +03:00
Muhammed Mustafa
aad4c4e216 fix(curriculum): external Yelp link in CIP (#46263) 2022-06-01 14:56:37 +03:00
Bruce Blaser
d2332093f6 fix(a11y): main menu a11y updates (#45137)
* fix: main menu a11y updates

* update font menu

* fix: sign in button text alignment

* fix: disabled button font

* fix: language menu font

* remove sign-in from main menu

* fix: add section dividers to menu

* fix: height on language selector menu

* fix: alignment of Menu button text

* fix: language globe icon

* refactor: remove dup selector

* update language menu colors

* refactor: clearer name for language menu display state

* fix: don't close onBlur if Menu button is clicked

* refactor: move globe icon styling to CSS

* refactor: get rid of switch statements

* refactor: remove try catch block

* fix: translate Change language button

* fix: move search into nav menu for mobile layout

* fix: forgot a merge

* refactor: updates for changes in i18n/all-langs

* fix: prevent menu from collapsing when focus is on change language button and user clicks into search

* fix: translate cancel change option in language picker

* feat: add cypress tests

* feat: display the complete language list

* fix: fix TS typing

* fix: force scrollbar on lang menu

* fix: remove scroll bar from lang menu

* fix: close menu when user tabs away from last menu item

* add list role to navigation list to appease Safari

* chore: capitalize Change Language/remove CSS comment

* fix: right side search box alignment in narrow view

* remove extraneous list role

* fix: cypress

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-06-01 10:39:26 +03:00
Lasse Jørgensen
6d89576b6c fix(curriculum): don't block fragment links (#46246) 2022-06-01 12:56:19 +05:30
Oliver Eyton-Williams
9076c419eb test: clean upcoding interview prep intro (#46257) 2022-05-31 17:21:24 -05:00
Oliver Eyton-Williams
ed865269a6 test: fix donate page for existing donors (#46255) 2022-05-31 23:06:35 +01:00