Commit Graph

1987 Commits

Author SHA1 Message Date
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
Benjamin Rio
1457c362c1 fix(client): remove duplicate css properties (#45902) 2022-05-10 10:03:53 -05:00
Bruce B
c25634c05e fix(a11y): beta RWD course toggle button accessibility (#45544)
* fix: beta RWD course toggle button accessibility

* refactor: passing props to icons

* simplify prop name and give it a default value

* remove console log

* fix: added translations

* refactor: announce percentage of course completed to screen readers

* fix: variable name typo

* fix: add a clear separation between course title and status
2022-05-09 16:27:50 +03:00
Tahseen Islam
7ab15bd4ce fix(client): remove duplicate css properties (#45889) 2022-05-09 08:57:45 +02:00
Brandon Barricklow
60cb648734 fix(client): remove duplicate css properties (#45891) 2022-05-09 08:55:23 +02:00
Ahmad Abdolsaheb
e3bc038457 feat(donation): set donor cookie (#45808) 2022-05-07 14:53:01 +09:00
Ahmad Abdolsaheb
0ef633c373 feat: a/b test lock icon button (#45868) 2022-05-06 15:06:48 +02:00
Tom
f04fbba22d feat: convert RWD cert projects (#44564)
* feat: convert RWD cert projects

* feat: convert original projects

* fix: add usesMultiFileEditor to meta

* feat: add cypress tests for saving and loading to/from database

* fix: broken cypress tests

* fix: inconsistent variable naming

* fix: missed variable name

* fix: more cypress

* feat: add solutions for english

* fix: ctrl+s to database only if signed in

* fix: prioritize code from db

* refactor: expand the comments slightly
2022-05-05 10:58:14 +02:00
Bruce B
00123db8c4 fix(a11y): place textarea between the jaws (#45803)
* fix: place textarea between the jaws

* refactor: convert upper jaw to content widget

* fix: upper jaw shift on restart button

* fix: reset height of lower jaw on restart

* fix: upper jaw width resizing

* fix: placement of upper jaw on editor resize

* chore: remove unnecessary code

* chore: add useful comment

* refactor: create function to set height on test feedback
2022-05-03 11:38:33 -07:00
Sem Bauke
0895925520 chore: certification test to TypeScript (#45847)
* chore: cerfication test to TypeScript

* fix: add types
2022-05-03 15:51:04 +02:00
Sem Bauke
c3be968092 feat: migrate locale test to ts v2 (#45793)
* feat: migrate locale test to ts v2

* fix: langCodes

* fix: locale test

* fix: nav dropdown

* fix: header test

* fix: use type predicates

* refactor: DRY up all-langs

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-02 17:53:30 +02:00
Sem Bauke
c41687fa7e chore: convert error test to TypeScript (#45841) 2022-05-02 08:19:55 -07:00
Naomi Carrigan
0d749d7ff0 feat: enable RWD on i18n (#45587) 2022-04-25 19:00:27 +01:00
Matheus Pormanhani
888c9ca75e chore: migrate client/components/formHelpers/Form.test.js to TS (#45726) 2022-04-20 14:37:54 +02:00
Bruce B
361a21e29f fix: remove alt text from icons (#45730) 2022-04-20 08:38:34 +02:00
Oliver Eyton-Williams
2432fbb428 fix: create config files before linting (#45723) 2022-04-19 08:27:19 -07:00
Oliver Eyton-Williams
1017738090 fix: encode image urls (#45722) 2022-04-19 08:06:33 -07:00
Bruce B
647469a479 fix(a11y): beta RWD feedback for code check (#45579)
* fix: beta RWD feedback for code check

* cleaned up comments

* move colon on hint heading to CSS

* fix: keep status message box size consistent
2022-04-19 14:34:15 +03:00
Naomi Carrigan
58235a42c6 fix(a11y): wcag contrast issue on search icon (#45716)
* fix: hack the colours

* Revert "fix: hack the colours"

This reverts commit bd60d44c84.

* fix: global sr-only approach

* fix: motivation author colour
2022-04-18 22:47:48 -07:00