Commit Graph

3999 Commits

Author SHA1 Message Date
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
camperbot
fd7fe273bc chore(i18n,client): processed translations (#46268) 2022-06-01 07:09:14 -07: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
ed865269a6 test: fix donate page for existing donors (#46255) 2022-05-31 23:06:35 +01:00
camperbot
ec73d8f0b1 chore(i18n,client): processed translations (#46249) 2022-05-31 18:33:48 +05:30
Niraj Nandish
d67a617e47 fix(client): prevent code duplication when using help button (#46232)
* fix(client): prevent code duplication when using help button

* feat(client): comment file name when opening issue in forum

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-05-30 22:29:28 +05:30
Sem Bauke
2790362df8 feat: instruction hiding with button (#46086)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-05-30 18:50:32 +05:30
renovate[bot]
4a1d223429 fix(deps): update dependency react-reflex to v4.0.9 (#46206)
* fix(deps): update dependency react-reflex to v4.0.9

* fix(deps): update dependency react-reflex to v4.0.9

* fix(client): chore to remove unneeded ts comment

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-05-30 18:50:01 +05:30
Renovate Bot
36bd34f5ca fix(deps): update dependency typescript to v4.7.2 2022-05-30 00:38:12 +00:00
Renovate Bot
37c43a2218 fix(deps): update dependency @stripe/stripe-js to v1.31.0 2022-05-29 18:45:06 +00:00
Renovate Bot
7a0843ffde chore(deps): update codesee to v0.272.0 2022-05-29 06:02:03 +00:00
Renovate Bot
63875a3c23 fix(deps): update dependency @stripe/react-stripe-js to v1.8.1 2022-05-29 03:27:51 +00:00
Renovate Bot
6878cb781d fix(deps): update dependency @babel/standalone to v7.18.3 2022-05-28 21:55:34 +00:00
Jordan Moore
5f7d87daf0 feat: add project name on timeline for challenges completed RWD (#46181) 2022-05-28 10:45:03 +05:30
Oliver Eyton-Williams
b60cffd190 fix: update path of webpack bundles (#46180)
With this both the bundles and their chunks will have the correct path
names
2022-05-27 19:36:05 +02:00
Mrugesh Mohapatra
2be170c09d chore: delete _headers file from Netlify days (#46176) 2022-05-27 19:57:20 +05:30
Oliver Eyton-Williams
02955791bc fix: use standard path names for chunks (#46160) 2022-05-27 18:22:03 +05:30
Bruce B
8d90c02747 fix(a11y):add main landmark to super block intro (#46168) 2022-05-27 10:52:49 +02:00
Tom
658b48ba62 fix: third-party cookie issues with CodeAlly login (#46090) 2022-05-26 21:44:10 +05:30
Ahmad Abdolsaheb
97423f7a2f feat: add a leading submitChallenge debounce (#46085)
* feat: reduce submitChallenge debounce

* feat: register the leading call

* fix: presist debounce calls

* Update client/src/templates/Challenges/classic/editor.tsx

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-26 21:43:12 +05:30
Kristofer Koishigawa
739ee60995 fix: display certs on profile for username with upper chars (#46118) 2022-05-26 15:03:49 +05:30
renovate[bot]
e2daf1e252 chore(deps): update babel monorepo (#46095)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 18:51:20 +05:30
Naomi Carrigan
ef841bdfb0 fix: throw sound into local storage (#46123) 2022-05-23 12:29:54 -05:00
Renovate Bot
d9bca07121 fix(deps): update dependency react-instantsearch-dom to v6.26.0 2022-05-22 05:23:27 +00:00
Renovate Bot
5f9fd2c075 chore(deps): update dependency ts-node to v10.8.0 2022-05-22 02:09:40 +00:00
Renovate Bot
4f57b5260e fix(deps): update dependency @stripe/react-stripe-js to v1.8.0 2022-05-21 21:18:09 +00:00
Renovate Bot
26152fc096 chore(deps): update codesee to v0.265.0 2022-05-21 18:23:18 +00:00
Renovate Bot
d49305c929 fix(deps): update dependency algoliasearch to v4.13.1 2022-05-21 15:19:47 +00:00
Renovate Bot
0f1a67d692 chore(deps): update dependency postcss to v8.4.14 2022-05-21 12:44:36 +00:00
Sem Bauke
c3e1ba4390 fix(client): prevent iframe from duplicating by using preventDefault (#46082)
* fix: prevent iframe from duplicating

* fix: remove old stuff

* fix: changes

* fix: change wording

* Update client/src/templates/Challenges/utils/frame.ts

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

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2022-05-21 09:59:28 +04:00
camperbot
1037b39cf1 chore(i18n,client): processed translations (#46083) 2022-05-20 11:02:06 -07:00
Radi Totev
ea4cedd3f2 chore(client): typescript migration - utils/frame.js (#46075)
* Change extension to .ts

* Resolve ts issues

* Update test:curriculum script
2022-05-20 14:59:08 +02:00
Bruce B
3d9293f14b fix(a11y): improve accessibility on completed Step heading (#46047)
* fix: improve accessibility on completed Step heading

* fix: add translation
2022-05-20 13:29:03 +02:00
Naomi Carrigan
b9f3345721 feat: update endpoints (#45688) 2022-05-19 21:52:38 +05:30