Commit Graph

2005 Commits

Author SHA1 Message Date
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
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
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
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
Jordan Moore
5f7d87daf0 feat: add project name on timeline for challenges completed RWD (#46181) 2022-05-28 10:45: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
Naomi Carrigan
ef841bdfb0 fix: throw sound into local storage (#46123) 2022-05-23 12:29:54 -05: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
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
Niraj Nandish
d4e01b66fb chore: TS migrate MultifileEditor (#45857) 2022-05-19 21:14:22 +05:30
Ahmad Abdolsaheb
23fe76f103 feat: add two second debounce to confirm username validity check intention (#46067) 2022-05-19 07:49:06 -05:00
Oliver Eyton-Williams
58482b9d98 test: skip the failed-updates-epic tests for now (#46053) 2022-05-18 11:13:00 -07:00
Oliver Eyton-Williams
85375e7621 fix: temporarily prevent the client from retrying (#46050) 2022-05-18 10:44:56 -05:00
Sem Bauke
cef1ef1db7 fix: update settings in batch (#46040)
* fix: update settings in batch

* fix: make buttons update

* fix: tests (hopefully)

* fix: cypress promise error

* fix: use submit instead of onclick

Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2022-05-18 17:54:50 +03:00
Radi Totev
aaca146d2b fix(client): show checkmark for completed challenges in new RWD (#46038) 2022-05-18 18:57:53 +05:30
Tom
26def9309f chore: check if canClaimCert before calling backend (#46029)
* chore: check if canClaimCert before calling backend

* refactor: make canClaimCert declarative

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-18 14:11:03 +03:00
Ahmad Abdolsaheb
d89b129d18 feat(client): combine editor submission and execution calls (#46037)
* feat: combine submission and execution calls

* refactor: rename the click listeners

onChallengeSubmission sounds like something that will get called in
response to challenge submission, not something that will trigger it

* fix: create one debounced function

* fix: use lodash-es

Otherwise we'll include all of lodash in the bundle.

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-18 14:34:39 +04:00
Muhammed Mustafa
ac027b0447 fix(client): added .text-center to modal title (#46022) 2022-05-18 02:08:32 +05:30
Oliver Eyton-Williams
301c2a598a fix: comments out update-my-current-challenge call (#46028) 2022-05-18 02:07:29 +05:30
Naomi Carrigan
2fbdfa5d09 feat: add ask for help button (#45636)
* feat: add ask for help button

* feat: move button to test output area

* feat: track number of attempts

* feat: add ask button to buttons container

* feat: restructure lower jaw

* feat: adjust the lower jaw styles

* fix: unmount component

* feat: restructure the lowerjaw

* fix: move aria live region to encompass both status and hint

* feat: rebase main

* feat: remove lower jaw update from test useEffect

* fix: output viewzone resize on output change

* fix: change encouragement message based on attemps

* fix: maintain lowerjaw height when tests run

* feat: remove set height and clear feedback

* fix: adjust lower jaw state on reset

* fix: focus submit button when challenge is completed

* fix: add aria-hidden after 500ms

* add translations

* fix: clean up

* feat: fade in test feedback after each attempt

* feat: make lower jaw accessible

* fix: clean up

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Bruce B <bbsmooth@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-05-17 21:22:03 +05:30
Tom
3503b473cc fix: remove update-current-challenge call (#46019) 2022-05-17 08:44:55 -07:00
Tom
b7155694d9 fix(curriculum): interfering style elements (#46000)
* fix: interfering style elements

* fix: node tests

* fix: allow style tags or styles.css
2022-05-17 21:13:36 +05:30
Shaun Hamilton
a993c21b9f chore(client): remove naomi's code (#46017) 2022-05-17 19:21:58 +04:00
Shaun Hamilton
e296dd5b55 fix(client): add debounce to challenge submission (#46009)
* fix(client): add debounce to challenge submission

* add timeout to shortcut

* add clear for dep
2022-05-17 15:17:05 +02:00
Shaun Hamilton
bcbbf8ace4 chore(client): reorder and rename rwd changes (#45972)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-05-16 19:40:18 +05:30
Naomi Carrigan
fe71a9cf25 feat: new js cert (#45873)
* chore: move files

* wip: i have no idea what i am doing

* feat: finish up the logic

* chore: use order from randy sheet

* chore: standardise titles

* feat: fix layout for new js projects

* fix: utils test

* fix: challenge tests

* fix: ignore show new curriculum on non-english tests

* chore: help category????

* fix: if these tests would fail locally that'd be great

* chore: duplicate ids
2022-05-16 11:53:45 +02:00
Naomi Carrigan
d808d726f4 fix: add scrollable anchor to grid project block (#45954) 2022-05-14 09:17:20 +02:00
Oliver Eyton-Williams
538e7c787b feat: improve file insertion (#45942) 2022-05-14 10:06:26 +05:30
Ekansh Baweja
0dd9fc8d4f fix(client): Code solution modal on timeline (#45953) 2022-05-14 10:03:23 +05:30
Naomi Carrigan
0677464b68 feat: banner for updated RWD (#45936) 2022-05-12 21:38:20 -07:00
Hassaan Pasha
fadd2b1d13 fix: code duplication in tests for create-language-redirect (#45925) 2022-05-12 20:13:40 +05:30
Tom
898d6eafa3 fix: cert project links going to english (#45923)
* fix: cert project links going to english
2022-05-12 13:29:10 +05:30
Abdelmalek Ennani
d1fe6b3eaf fix(client): remove unexpected duplicate "height" (#45911)
I deleted an Unexpected duplicate "height" property
2022-05-12 11:13:21 +05:30
Muhammed Mustafa
8da87f4d58 fix(client): duplicates and zero length units (#45909)
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2022-05-11 11:20:39 -07:00
ned-park
6fded30b51 fix(client): remove unneeded explicit padding-bottom (#45910) 2022-05-11 10:47:14 +05:30
Naomi Carrigan
23b4be71d7 feat: release RWD from beta (#45865)
* feat: release RWD from beta

* feat: replace beta banner with legacy banner

* feat: update project links

* fix: cypress tests

* fix: map selector

* chore: legacy verbiage

* chore: remove isBeta flag

* fix: go back url verbiage

* feat: separate order for i18n

* fix: curriculum utils test

* fix: cypress

* tests: use data-cy for robustness

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-10 11:44:23 -05:00