Commit Graph

1954 Commits

Author SHA1 Message Date
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
Matheus Pormanhani
be29e37a69 chore: typescript migration of components/settings/Honesty.test.js (#45713)
* chore: renamed file to .tsx

* chore: migrate components/settings/Honesty.test.js to .tsx

* fix: update Honesty.test.tsx snapshot
2022-04-18 09:03:44 -07:00
Tristan Toye
dfe5a7fd05 Add Sentry to client for error handling (#43920)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-04-15 09:54:02 -05:00
Tom
e0a5fcdb8e fix: add message about third-party cookies (#45672) 2022-04-13 20:56:16 +05:30
Oliver Eyton-Williams
1d87c3c4f2 fix: handle missing sound saga payloads (#45645) 2022-04-08 18:57:57 +01:00
Ahmad Abdolsaheb
4034c59ba2 feat(client): add secure donation border to donation form (#45637)
* feat: add secure donation border to donation form

* feat: add string to translations

* Apply suggestions from code review

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

* feat: cleanup and reorder logic

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-04-07 13:24:42 +01:00
Naomi Carrigan
0c35edb4d6 feat: change monaco shortcut (#45627)
* feat: change monaco shortcut

* fix: oops I lost the eslint-enable comment

* feat(tests): add cypress tests
2022-04-07 14:10:34 +05:30
Tiffanie Alcaide
5b0250241a chore(client): migrate i18n/configForTest.js to TS (#45624) 2022-04-04 19:44:17 +00:00
Bruce B
31cbbc3501 fix: update light theme code example color contrast ratios (#45603) 2022-04-04 16:27:38 +03:00
Tom
3d242179b2 fix: make crtl+s save to appropriate location (#45406)
* fix: crtl+s for multifile cert projects

* fix: remove unused code

* feat: add limit on save frequency
2022-04-04 15:32:43 +03:00
sjkadali
ca33332a38 chore(challenges-utils): Typescript migration of Challenges util postUpdate$.js (#45601)
* Rename to .ts

* Typescript migration of Challenges/utils/postUpdate$.js
2022-04-02 11:58:11 +02:00
Tom
9f753a5662 feat: let users save cert project code to db (#44700)
* feat: let users save cert project code to db

fix: move getChallenges call out of request function so it only runs once

fix: use FlashMessages enum

fix: transform challengeFiles earlier

test: make tribute page use multifile editor

stuff I was playing with - revert this to get it to a working state

refactor: allow undefined editableRegionBoundaries

fix: save history

history is not necessarily ["name.ext"] and using the incorrect history
could cause weird bugs

fix: replace files -> challengeFiles on the client

refactor: DRY out ajax

fix: use file -> challengefile map

refactor: rename ajax types

fix: alphatize flash-messages.ts

revert: tribute page project

fix: remove logs

fix: prettier

fix: cypress

fix: prettier

fix: remove submitComplete action

fix: block UI for new projects

fix: handle code size

* fix: catch undefined files

* fix: don't default to undefined when it's already the default

* fix: only update savedChallenges if applicable

* fix: dehumidify backend + fine tune nearby stuff

* fix: prop-types

* fix: dehumidify sagas

* fix: variable name

* fix: types

* Apply suggestions from code review

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

* fix: typo

* fix: prettier

* fix: props types

* fix: flash messages

* Update client/src/utils/challenge-request-helpers.ts

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

* chore: rename function uniformize -> standardize

* fix: flash message

* fix: add link to forum on flash messages

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-03-31 10:34:40 -05:00
Mrugesh Mohapatra
111a402378 fix(client): add loader for email sign up (#45560)
Add a loader for the buttons.

Co-authored-by: Oliver Eyton-Williams ojeytonwilliams@gmail.com
2022-03-29 15:42:28 +05:30
Mrugesh Mohapatra
b2a96e0a09 fix(client): sign up for email list directly (#45508)
* fix(client): sign up for email list directly

* fix: remove extraneous code
2022-03-28 19:51:58 +05:30
renovate[bot]
6fc99192f4 fix(deps): update font awesome (#45479)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-03-25 18:23:45 +05:30
Naomi Carrigan
6d56b777d8 fix: disable code folding when editable regions present (#45525) 2022-03-25 16:15:19 +05:30
Ahmad Abdolsaheb
94650964c4 feat: a/b test lock icon (#45499)
* feat: a/b test

* Update client/i18n/locales/english/translations.json

* Apply suggestions from code review
2022-03-22 16:28:41 +00:00
Bruce B
3490a3a956 fix(a11y): hotkeys for toggle-aria-roledescription (#45498) 2022-03-22 13:22:26 +01:00
Tom
a428284804 feat: release rdbms as beta (#45428) 2022-03-22 11:35:38 +05:30
Ahmad Abdolsaheb
54fb32f007 feat: add dark theme editor highlight color (#45450) 2022-03-17 13:28:25 +01:00
Kai Wei Mo
6a7d2e5cbe feat: visual distinction between instructions and code (#45354)
* Add border-left to description-container

* Add description-container use primary-background

* Jaw border to quaternary bg

* Select editor line to highlight bg

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

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-03-17 14:07:18 +03:00
Triumph Joshua Odemudia
adcce7fb6d Chore: Typescript Migration for Index.js file (#45447) 2022-03-17 15:34:19 +05:30
Ahmad Abdolsaheb
7b9bc8bb99 fix: clean up donate-saga error (#45435)
* fix: clean donate-saga error

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-03-15 15:11:31 -07:00
Naomi Carrigan
10efb79643 fix: resolve lint error in paypal-button (#45440) 2022-03-15 18:54:08 +00:00
Ahmad Abdolsaheb
193973f7ec feat: add database cert alert (#45346)
* feat: add database cert alert

* fix: change link to forum post

* fix: alert text

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-03-15 10:31:20 +01:00
Tom
daaa2b38cf feat: encode user tokens (#45429) 2022-03-15 14:11:43 +05:30
Tom
9e5f9b2a7c fix: webhook process (#45385)
* fix: token rework functional

fix: clean up

fix: more clean up

fix: more clean up

fix: add widget back to settings

fix:

fix:

fix: cypress

Apply suggestions from code review

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

fix: use flash enum

* chore: rename webhookToken -> userToken

fix: add translations I forgot to save

* fix: add missing tones for flash messages

* fix: node test
2022-03-11 13:58:23 -08:00
Ahmad Abdolsaheb
2e9b37a02b feat: A/B test firing a confetti on block donation modal (#45393) 2022-03-10 09:13:10 +00:00
Shaun Hamilton
8b3f3251b4 feat(client): match .freecodecamp.org for submissions (#45386) 2022-03-09 09:56:09 +01:00
Tom
e24c8abc7f revert: release rdbms to production (#45347) 2022-03-04 15:15:20 +01:00
Tom
84c305ab08 feat: release rdbms to production (#45169)
* fix: add cert to email for when all certs are earned

* fix: unhide rdbms from production

* fix: cert project input field

* feat: add cypress tests

* fix: message on project pages to lower expectations

* fix: update instructions

* fix: add quincy's suggestions

* fix: add beta label and reorder

* fix: utils test

* fix: move rdbms to bottom of settings

* fix: cypress tests

* Apply suggestions from code review

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

* fix: only drop seeded users webhook tokens

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-03-04 15:38:09 +05:30
Bruce B
cef8e8f739 fix(a11y): remove unnecessary link on course heading (#44794)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-03-03 19:26:10 +05:30
Oliver Eyton-Williams
c11bd163b2 feat: display multifile projects (#45220)
* refactor: DRY up certification and ProjectModal

* fix: use sensible keys for SolutionViewer

* refactor: handle legacy solutions like new ones

* refactor: correct CompletedChallenge type

* fix: store challengeType for multifile projects

* fix: use challengeType to set display type

* feat: use dropdown to display project + code

* refactor: isOpen -> showCode to avoid a clash

We need to be able both show the code and show the completed project

* refactor: remove redundant parts of projectPreview

* refactor: fix project preview types

* feat: wip, using existing modal to show project

* feat: show projects on timeline

* feat: display projects on time-line

* chore: use consistent case for GitHub

* fix(a11y): translate show solution/view

* refactor: rename showFilesSolution

* refactor: use self-closing tag

* fix: remove hardcoding (certification + timeline)

* fix: remove hardcoding (settings)

* test: supply store and mock ga

* fix: include challengeType for projects

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* refactor: remove space

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: key -> filekey on challenge submission

* fix: handle submissions without files

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2022-03-02 19:49:54 -06:00
renovate[bot]
bec2deb3c0 chore(deps): update typescript-eslint monorepo to v5.13.0 (#45294)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-03-02 11:00:55 +01:00