Commit Graph

3331 Commits (6d8d18ef1bf26b138a3801dbefaf33df2dfad2fe)

Author SHA1 Message Date
Oliver Eyton-Williams 61d6b02c79
fix: update jaws on resize (#43777)
* fix: update jaws on resize

Use isProjectStep to determine if the jaws need to be updated

* refactor: isProjectStep -> hasEditableRegion

isProjectStep was misleading.  hasEditableRegion correctly describes
that function and leaves isProjectStep to enable features that are
unique to project steps, but nothing to do with the editable region
2021-10-13 12:40:28 +03:00
Maciek Sitkowski 3eae0645ab
fix: add translated close button label in alert messages (#43810) 2021-10-13 11:07:29 +02:00
Oliver Eyton-Williams e209582daf
chore: remove night-mode-saga (#43829)
The saga only sets the value of fcc-theme in storage, but the values are
never retrieved, so the saga can be removed.
2021-10-13 12:00:00 +03:00
camperbot 091473645b
chore(i18n,client): processed translations (#43826) 2021-10-13 12:59:58 +05:30
Renovate Bot 588493b705 fix(deps): update dependency typescript to v4.4.4 2021-10-13 00:10:30 +00:00
Renovate Bot 55d7c5adf0 chore(deps): update codesee to v0.111.1 2021-10-12 09:58:03 +00:00
Renovate Bot 7fb5a29987 chore(deps): update codesee to v0.111.0 2021-10-12 02:54:23 +00:00
camperbot 54652e34e7
chore(i18n,learn): update translations (#43773) 2021-10-10 10:38:02 -07:00
Renovate Bot 0c4d757e73 chore(deps): update codesee to v0.110.1 2021-10-09 01:20:31 +00:00
Oliver Eyton-Williams 461e429598
fix(client): prevent jumping between editor tabs (#43771) 2021-10-08 22:14:15 +01:00
Renovate Bot bba3b6f8a4 chore(deps): update dependency webpack to v5.58.1 2021-10-08 18:14:22 +00:00
Renovate Bot ac3cbdabee chore(deps): update codesee to v0.109.0 2021-10-08 04:05:00 +00:00
Renovate Bot 28084d5e1f chore(deps): update codesee to v0.108.0 2021-10-08 00:14:46 +00:00
Renovate Bot 2e19ea217f chore(deps): update dependency webpack to v5.58.0 2021-10-07 18:09:06 +00:00
renovate[bot] abc831f24f
fix(deps): update gatsby monorepo (#43737)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 21:39:41 +05:30
Tom 80b1905cd0
feat(curriculum): replace placeholder text with intros for rdbms section (#43589)
* feat: add introsos for rdbms

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

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

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

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

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

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

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-10-07 17:14:01 +02:00
camperbot b7bb8a5e9c
chore(i18n,client): processed translations (#43759) 2021-10-07 12:43:26 +00:00
renovate[bot] 25783b7929
fix(deps): update dependency nanoid to v3.1.29 (#43736)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 18:06:02 +05:30
Ahmad Abdolsaheb 982a6e90d4
feat: add placeholder color to card form (#43757) 2021-10-07 18:03:39 +05:30
renovate[bot] be73864bd5
fix(deps): update dependency @stripe/react-stripe-js to v1.6.0 (#43734)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 16:17:18 +05:30
Renovate Bot f518a2039f chore(deps): update dependency webpack-cli to v4.9.0 2021-10-07 07:54:57 +00:00
Renovate Bot f95909f53f chore(deps): update codesee to v0.106.1 2021-10-07 04:47:10 +00:00
renovate[bot] 9816a2c6fb
chore(deps): update dependency webpack to v5.57.1 (#43733)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 07:00:42 +05:30
Renovate Bot 536eef3be9 chore(deps): update babel monorepo to v7.15.8 2021-10-06 23:33:34 +00:00
Oliver Eyton-Williams e3e794ddef
fix(client): only jump to editable region on reset (#43748)
If the code has changed without the user typing (e.g. they've pushed
the restart button), then we jump them back to the editable region.
Otherwise (e.g. they've typed in the editor) we reset the display, but
do not move the editor.
2021-10-06 14:09:04 -07:00
Lim Shang Yi df8dc9b9c6
fix(ui): Fix crash when viewing an invalid certificate (#43681)
* fix: remove empty object literal creation causing #43224

* fix: initialize userByName selector using empty object from initialState to keep the same reference instead

* fix(lang): added translation for invalid certificate
2021-10-06 21:05:05 +02:00
Oliver Eyton-Williams c8d7f0a782
feat(tools): remove eslint-plugin-prettier for prettier (#42438)
* feat: remove eslint-plugin-prettier for prettier

This removes the annoying lint warnings when all that needs to change is
formatting

* fix: use .js lint-staged config to ignore properly

* fix: lint everything if a lot of files are changed

It's faster than making lots of individual linter calls

* chore: apply prettier

* fix: ignore code in curriculum-file-structure
2021-10-06 21:02:21 +05:30
Noor Fakhry 8518079316
fix(client):make menu bar disappear after user chooses item from it on landing page (#43458)
* removed serachBarRef

* removed serachBarRef

* Revert "removed serachBarRef"

This reverts commit 6a5c2f4cb3.

* Revert "removed serachBarRef"

This reverts commit 67710b3d18.

* added innerRef as ref to SearchBarOptimized component

* Update client/src/components/Header/index.tsx

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

* Update client/src/components/search/searchBar/search-bar-optimized.tsx

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

* Update client/src/components/search/searchBar/search-bar-optimized.tsx

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-06 16:42:54 +02:00
Budbreaker bc802cbbbd
feat: added warning for unreachable server (#43576)
* feat: added warning for unreachable server

* fix: update initial state in test file

* fix: make offline warning scroll with page

* adjust z-indexes for warning banners

* add hyperlink for offline warning
2021-10-06 15:18:02 +02:00
Oliver Eyton-Williams 83354c5632
fix: stop using .night to control theme (#43745)
.light-palette and .dark-palette should be enough, so there's no need
to attach the default or night classes to the html element
2021-10-06 11:30:15 +01:00
Kristofer Koishigawa 580f57cf5f
feat: add code highlighting to descriptions in the new editor (#43740) 2021-10-06 11:26:22 +02:00
Oliver Eyton-Williams b0d48b8463
fix: reset editor display on user interaction (#43730)
If the user types in the editor or pushes the reset button, the lower
jaw now resets to the default state.
2021-10-06 12:22:00 +03:00
Tomer Ben-Rachel 4ffc06e014
fix: correct theme when viewing certifications challenges solutions 2021-10-06 11:05:52 +02:00
Renovate Bot 5c4e90d24d chore(deps): update codesee to v0.105.0 2021-10-06 03:17:30 +00:00
renovate[bot] 4c038a8a13
chore(deps): update dependency jest-json-schema-extended to v1.0.1 (#43705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 07:19:19 +05:30
Renovate Bot 45a1f28308 chore(deps): update dependency webpack to v5.57.0 2021-10-05 17:49:41 +00:00
Renovate Bot 697506c112 fix(deps): update dependency date-fns to v2.25.0 2021-10-05 10:10:42 +00:00
Renovate Bot ea0157d673 chore(deps): update codesee to v0.104.0 2021-10-05 03:53:43 +00:00
Renovate Bot 926da84521 chore(deps): update dependency postcss to v8.3.9 2021-10-05 02:17:44 +00:00
Renovate Bot 4bfbb5e208 chore(deps): update dependency autoprefixer to v10.3.7 2021-10-04 23:04:45 +00:00
Renovate Bot 2643143118 fix(deps): update dependency @stripe/stripe-js to v1.19.1 2021-10-04 21:05:26 +00:00
Oliver Eyton-Williams 38d65f95b4
refactor(editor): improve naming and comments (#43662)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-10-04 19:18:57 +05:30
RobertoMSousa f5de80dc4f
chore: migrate to jsx element (#43707) 2021-10-04 19:16:34 +05:30
camperbot 38740f256c
chore(i18n,client): processed translations (#43712) 2021-10-04 19:13:09 +05:30
Renovate Bot c9586ec4ca chore(deps): update dependency webpack to v5.56.1 2021-10-04 09:15:00 +00:00
Renovate Bot 3f79710779 chore(deps): update dependency @testing-library/react to v12.1.2 2021-10-03 17:15:37 +00:00
camperbot 7134cf5ea5
chore(i18n,learn): update translations (#43677) 2021-10-03 07:44:58 -07:00
Eric Cheng 1f880a552d
fix(docs): modified grammar and phrasing in docs and comments (#43682)
* docs: fixed minor typos in how-to-open-a-pull-request.md

* docs: grammar fixes in FAQ.md

* refactor: streamlined comments in multiple TS files

* fix: linting issues
2021-10-02 23:43:14 +01:00
Felix Yan b923a32736
fix: a typo in ga-saga.test.js (#43673) 2021-10-02 15:03:19 +02:00
Renovate Bot d261d7a6d9 chore(deps): update dependency @types/react-helmet to v6.1.3 2021-10-02 09:10:28 +00:00
Renovate Bot 00e7817db5 chore(deps): update codesee to v0.103.0 2021-10-02 03:29:12 +00:00
Renovate Bot 996c01a280 fix(deps): update dependency @stripe/stripe-js to v1.19.0 2021-10-01 23:02:18 +00:00
Renovate Bot 8c73901f5a chore(deps): update codesee to v0.102.2 2021-10-01 21:44:39 +00:00
Sem Bauke cd8a71c56d
fix: wrong flash message when changing email (#43653) 2021-10-01 23:04:54 +05:30
camperbot 182aee555e
chore(i18n,learn): update translations (#43660) 2021-10-01 10:00:09 -07:00
Renovate Bot 58a0c37305 chore(deps): update dependency webpack to v5.56.0 2021-10-01 16:19:32 +00:00
Oliver Eyton-Williams e4ba0e23ea
feat: enable reset in multifile editor (#43617)
* feat: dispatch resetChallenge action

* fix: copy challengeFiles instead of in-place sort

* fix: handle null updateFile payloads in redux

* refactor: reorganise region initialization

* refactor: pull code into editorDidMount

Then we can rely on the presence of the editor and monaco and don't have
litter the code with null checks.

* refactor: use better name for editable region init

* refactor: remove unused decoration

* refactor: rename forbidden region init functions

* fix: keep all challengeFiles when resetting

* refactor: remove unused decoration class

* fix: reinitialize editor on reset

* fix: stop adding multiple scroll listeners

Since the challengeFile update on each keystroke extra (unnecessary)
adding of listeners slowed the editor to a crawl.

* fix: only scroll to editor on mount

Rather than on any edit.

* refactor: remove logs and comments

* fix: rename toSortedArray and fix broken test

* fix: check for null not falsy in updateFile

* fix: only update project features when project

* fix: only reset if editor contents have changed

* feat: focus on editor after reset
2021-10-01 10:36:20 +02:00
Sem Bauke cfc9b7258d
fix(client): cert rendering temporarily (#43335)
* fix: require login as step

* fix: cert rendering temporary

* fix: remove keys from other translation files

* fix: cypress test

* chore: shauns suggestions

* fix: remove steps

* fix: use a seperate UseEffect function

* Suggestions from Shaun

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

* fix: certification temp rendering

* fix: cert temp rendering hopefully

* fix: button visibility and cert test

* fix: condition

* test: improve claim cert tests

Without npm run seed, retries will be in a different state.

Check the scroll position to (hopefully) catch the weird cert claim bug.

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-01 10:00:14 +05:30
Renovate Bot d5e3979753 chore(deps): update codesee to v0.102.1 2021-09-30 22:52:54 +00:00
Renovate Bot 0cd3634d95 fix(deps): update dependency react-final-form to v6.5.7 2021-09-30 21:10:58 +00:00
Renovate Bot 871f808883 fix(deps): update dependency gatsby to v3.14.1 2021-09-30 19:36:07 +00:00
Renovate Bot 2da395ae75 fix(deps): pin dependency react-monaco-editor to 0.45.0 2021-09-30 11:19:07 +00:00
Renovate Bot 80e8ba8879 fix(deps): pin dependencies 2021-09-30 09:14:46 +00:00
renovate[bot] 9095925484
fix(deps): update monaco editor (#43344)
* fix(deps): update monaco editor

* chore: rollback monaco, update react-monaco-editor

The latest version of react-monaco-editor is only compatible with monaco
v0.27

* fix: roll-back monaco-editor-webpack-plugin

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-09-30 09:42:43 +02:00
camperbot eeeddd5f23
chore(i18n,learn): update translations (#43613) 2021-09-29 20:19:53 -07:00
Renovate Bot 62315d96db chore(deps): update codesee to v0.101.0 2021-09-30 02:58:02 +00:00
Renovate Bot 9de5f3ed15 chore(deps): update codesee to v0.100.0 2021-09-30 01:00:37 +00:00
Renovate Bot 4caecf4ebf fix(deps): update dependency final-form to v4.20.4 2021-09-29 21:49:56 +00:00
Renovate Bot 87b2a61bd0 fix(deps): update dependency react-final-form to v6.5.6 2021-09-29 20:19:51 +00:00
Renovate Bot 2aa8c60a1f chore(deps): update dependency webpack to v5.55.1 2021-09-29 11:02:44 +00:00
Renovate Bot 145ce88de4 chore(deps): update codesee to v0.97.0 2021-09-29 00:51:37 +00:00
Renovate Bot f51cafad72 chore(deps): update dependency webpack to v5.55.0 2021-09-28 23:19:24 +00:00
Shaun Hamilton 2deb73c8d1
feat(curriculum): add accessibility-quiz practice project (#43244)
* feat(curriculum): add accessibility-quiz practice project

* add parts 002-006

* add parts 7-8, tentative on logo aspect-ratio

* add parts 008-013

* add parts 013-016

* add parts 017-026

* add parts 026-027

* add parts 027-029

* add parts 029-044

* add parts 044-067 - all parts done

* add tests 001-009

* add tests 010 - 033

* add tests 034 - 039

* update tests 008~033, add tests 040-050

* add all tests

* fix some stuff, remove final.md

* take reasonable suggestions from Nich, ignore rest

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* replace svg link with actual CDN

* remove getAttribute in potentially bad places

* add method to form

* fix silly querySelectors

* adjust selectors for 028

* fix selectors, and add color transformations

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

* fix: typos, and make one test lenient

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
2021-09-28 15:38:44 -05:00
Renovate Bot 92d2119199 chore(deps): update codesee to v0.96.0 2021-09-28 19:54:56 +00:00
renovate[bot] 8beb26e84e
chore(deps): update dependency typescript to v4.4.3 (#43316)
* chore(deps): update dependency typescript to v4.4.3

* fix: use UserType correctly

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-09-28 10:56:46 +02:00
Renovate Bot b751becb40 chore(deps): update dependency @testing-library/react to v12.1.1 2021-09-27 15:02:33 +00:00
Oliver Eyton-Williams 0f32cabef9
fix: move ActionRow outside the ReflexContainer (#43532)
* fix: move ActionRow outside the ReflexContainer

It does not need to be resizable.

* fix: make DesktopLayout aware of ActionRow

The ReflexContainer seems to need to be inside a display: flex component
to correctly compute the sizes of it's children.

* refactor: remove unused props
2021-09-27 13:16:29 +03:00
Oliver Eyton-Williams 2b6bef08ae
feat: localize videos (#42869)
* refactor: separate out VideoPlayer component

* feat: support bilibili videos

* feat(client): allow localized videos to be shown

* fix: remove add subtitles CTA

* feat: add locale ids for Why Program?
2021-09-27 12:26:38 +03:00
Oliver Eyton-Williams 48f2c02c5d
refactor(client): remove unused axios dependents (#43579) 2021-09-27 14:32:42 +05:30
Renovate Bot 25c3349685 fix(deps): update dependency nanoid to v3.1.28 2021-09-26 17:34:57 +00:00
Renovate Bot bf83352e66 chore(deps): update dependency autoprefixer to v10.3.6 2021-09-26 13:18:29 +00:00
camperbot 8da2c348a3
chore(i18n,learn): update translations (#43568) 2021-09-26 10:31:51 +01:00
Renovate Bot 38f0bec2e3 chore(deps): update dependency postcss to v8.3.8 2021-09-25 10:50:22 +00:00
Sem Bauke e44610f1d0
chore: remove coder survey text (#43559) 2021-09-25 00:54:24 +01:00
Renovate Bot c80fa07d31 chore(deps): update dependency webpack to v5.54.0 2021-09-24 22:36:14 +00:00
Renovate Bot 9c897b0077 chore(deps): update codesee to v0.95.0 2021-09-24 19:55:54 +00:00
Oliver Eyton-Williams b5019000bb
fix(client): errors with multiple editor tabs (#43549)
* fix: enforce multifile tab order

* fix: sort challengeFiles to prevent remounts

If the challengeFiles are used unsorted, this can unmount an editor.
The editors rely on the mount hook for initialization, so extra mounts
can cause unwanted behaviour.

* fix: make editor tabs and panes match
2021-09-24 15:40:18 +01:00
Renovate Bot 8fac91292d chore(deps): update codesee to v0.94.4 2021-09-24 02:54:48 +00:00
Renovate Bot 33c88e5c3e fix(deps): update dependency @stripe/react-stripe-js to v1.5.0 2021-09-24 01:40:42 +00:00
Sem Bauke aa3c6987e3
fix: redundant scrollbar on codeally Iframe (#43503) 2021-09-23 10:31:56 -05:00
Oliver Eyton-Williams 41e428d23d
feat: update editable region behaviour (#43537)
* refactor: remove ambiguity about editable region

Since the editable region is implemented via decorations and defined in
challenge object, getEditableRegionFromRedux, makes the source obvious

* fix: make jaws follow the highlighted region

* fix: update the jaws on all content changes

* feat: make editable region 'absorb' text

As the user types, the editable region can move, expand and contract.

With this PR then if the user, say, presses backspace on the line after
the editable region, causing that line to move up, then the new contents
will expand/contract as if they had always been part of the region.
2021-09-23 17:27:44 +03:00
Raymen Deol 0036aa8969
feat(client): ts-migrate (/client/src/components/layouts/Certification.js) (#42939)
* change name to certification.tsx

* migrate certification.js to ts

* update ceritification import in index and fix prettier errors

* Update client/src/components/layouts/certification.tsx

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* Update client/src/components/layouts/certification.tsx

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

* Update client/src/components/layouts/certification.tsx

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

* Update client/src/components/layouts/certification.tsx

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* fix: reorder imports

Co-authored-by: Raymen Deol <raymen.deol@outlook.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-09-23 09:15:16 +02:00
Renovate Bot 5f93847770 fix(deps): update dependency @stripe/stripe-js to v1.18.0 2021-09-23 03:19:38 +00:00
Renovate Bot ca7dbdf4a6 chore(deps): update codesee to v0.93.0 2021-09-22 22:33:35 +00:00
Renovate Bot 226f9f3a97 chore(deps): update dependency postcss to v8.3.7 2021-09-22 19:31:10 +00:00
Renovate Bot 98b06848a4 chore(deps): update dependency autoprefixer to v10.3.5 2021-09-22 11:30:24 +00:00
Oliver Eyton-Williams 7200269534
refactor(client): use the view zones to place the widgets (#43519)
Rather than calculating the widget (i.e. the jaws) position ourselves,
we can use the fact that monaco knows where the view zones are.
2021-09-22 09:29:29 +05:30
Renovate Bot a007c19c44 chore(deps): update codesee to v0.92.2 2021-09-22 03:10:26 +00:00
Oliver Eyton-Williams 222fc3f255
refactor: minor clean up of editor (#43513) 2021-09-21 18:05:12 +05:30
Nicole Aldurien cc1b945fab
refactor(client): migrating ActionRow.js to TypeScript (#43490) 2021-09-21 10:13:54 +02:00
Renovate Bot d2f98270d5 chore(deps): update codesee to v0.92.1 2021-09-21 02:02:01 +00:00
Sem Bauke c0e0241440
feat(Cypress): hotkey tests (#43434)
* feat(Cypress): hotkey tests

* fix: test previous next for projects

* fix: link time-out firefox

* feat: test the "r" hotkey

* fix: change select back to body for now

* fix: retain navigation mode for video challenges

* test: find focused elements

* fix: move focus from panel before pressing 'r'

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>

* test: add hotkey test for backend

* test: remove redundant {esc} presses

* refactor: naming change

* fix: refactor properly

* fix: actually refactor it properly

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
2021-09-20 20:53:42 +02:00
EhEhRon91 35bee5ca68
fix: message removed when not logged in (#43411)
* fix: message removed when not logged in

* removed unnecessary code from DonateCompletion.tsx that was added

* now using isSignedIn in props and not donationFromState
2021-09-20 12:57:05 +03:00
camperbot f0aca2d351
chore(i18n,learn): update translations (#43492) 2021-09-19 20:03:32 +01:00
camperbot 96205ccf53
chore(i18n,learn): update translations (#43489) 2021-09-18 19:23:44 +01:00
Renovate Bot 81d48b26ad chore(deps): update codesee to v0.90.0 2021-09-18 14:23:12 +00:00
Renovate Bot c184f23d27 chore(deps): update babel monorepo to v7.15.7 2021-09-18 02:07:35 +00:00
Renovate Bot bccc217981 fix(deps): update gatsby monorepo 2021-09-17 22:08:20 +00:00
Ahmad Abdolsaheb e5523bf16e
feat: add Stripe card form (#43433)
* eat: add Stripe card form

* Apply suggestions from code review

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

* feat: adjust payload and error handling

* feat:  readjust error handling

* Apply suggestions from code review

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

* feat: refactors from comments

* feat: prevent submition during processing

* feat: redefine isSubmitting

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

* fix: show the proper paypal button on donate page

* fix: handle errors from stripe

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2021-09-17 22:15:56 +03:00
Igor Cunha 2dd106eb2f
feat(client): migrate to ts - (HelpModal, Preview, VideoModal, Side-Panel) (#42857)
* refactor: migrate HelpModal, Preview, VideoModal, Side-Panel

* refactor: import order

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-09-17 18:37:53 +01:00
camperbot 5de0aae5da
chore(i18n,learn): update translations (#43476) 2021-09-17 18:12:54 +01:00
Renovate Bot 0fd8e55b9b fix(deps): update dependency date-fns to v2.24.0 2021-09-17 09:36:48 +00:00
Renovate Bot 5a44900bd2 chore(deps): update codesee to v0.89.0 2021-09-17 02:56:59 +00:00
Renovate Bot 10c8113b3b chore(deps): update dependency webpack to v5.53.0 2021-09-17 00:02:10 +00:00
Renovate Bot 615e8158c3 fix(deps): update dependency gatsby to v3.13.1 2021-09-16 22:05:39 +00:00
Renovate Bot 1bfe5d5c34 chore(deps): update dependency @types/react-transition-group to v4.4.3 2021-09-16 20:20:19 +00:00
Renovate Bot 6033992edc chore(deps): update dependency prismjs to v1.25.0 2021-09-16 17:56:51 +00:00
Renovate Bot b1f57abcb0 chore(deps): update codesee to v0.87.1 2021-09-15 23:10:06 +00:00
Renovate Bot 1dc6f2ac74 chore(deps): update codesee to v0.85.0 2021-09-15 01:56:09 +00:00
Renovate Bot 30cae62259 chore(deps): update codesee to v0.84.0 2021-09-14 22:51:16 +00:00
Renovate Bot 46933e1f2d fix(deps): update dependency sanitize-html to v2.5.1 2021-09-14 17:27:04 +00:00
camperbot d0f4240ca0
chore(i18n,learn): update translations (#43455) 2021-09-14 13:58:08 +01:00
Renovate Bot 27226732ef chore(deps): update codesee to v0.83.0 2021-09-14 02:19:40 +00:00
Renovate Bot c154848dfd chore(deps): update codesee to v0.82.0 2021-09-13 22:23:43 +00:00
camperbot c0d6c3c3db
chore(i18n,client): processed translations (#43442) 2021-09-13 19:18:47 +02:00
Nicholas Carrigan (he/him) 2cf4a7d787
feat(curriculum): add piano project (#43364)
* feat: i broke it horribly

* fix: background colour first

* chore: apply shaun's review suggestions

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

* fix: missing asserts

* chore: apply shaun's review suggestions

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

* chore: apply shaun's review suggestions

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

* fix: remove extra background

* fix: meta order

* feat: clarify descriptions

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-09-13 17:51:42 +01:00
Renovate Bot 0752c68a64 chore(deps): update dependency @types/lodash-es to v4.17.5 2021-09-12 18:27:27 +00:00
Renovate Bot 7b5d54bb78 chore(deps): update dependency @testing-library/react to v12.1.0 2021-09-11 13:34:10 +00:00
Nicholas Carrigan (he/him) a563b3b4e4
feat(curriculum): CSS Box Model project (#42182)
* feat(curriculum): add initial steps

Add the initial step files for this project.

* feat(curriculum): write test texts

Add some test text (tests coming soon).

* feat: tests for HTML bits

Add tests for the HTML bits - CSS holding off until parser lands.

* feat: CSS tests

New CSS parser works great!

* fix: link href

Fix the href in the boilerplate.

* chore: apply suggestions from code review

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>

* fix: clarify link element

* fix: optional chaining

* fix: remove unused meta props

* fix: update helper and fix tests

* chore: apply tom's review suggestions

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

* chore: no console logs

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

* feat: intro

Add introductory text, tweak instructions a bit.

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-09-10 17:17:03 +01:00
Renovate Bot ac11c85409 chore(deps): update dependency webpack to v5.52.1 2021-09-10 15:36:47 +00:00
renovate[bot] f46d183d95
chore(deps): update babel monorepo to v7.15.6 (#43424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 15:27:27 +05:30
Renovate Bot 11493a6a5e chore(deps): update dependency serve to v12.0.1 2021-09-09 22:56:31 +00:00
Renovate Bot 1552c5226f chore(deps): update codesee to v0.81.0 2021-09-09 21:02:13 +00:00
renovate[bot] b34465d217
chore(deps): update dependency axios to v0.21.2 [security] (#43409)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 22:09:12 +05:30
camperbot 654526c942
chore(i18n,learn): update translations (#43421) 2021-09-09 07:15:47 -07:00
Renovate Bot 983ff5d93f fix(deps): update dependency sanitize-html to v2.5.0 2021-09-09 00:05:51 +00:00
Renovate Bot e1dff59eab chore(deps): update codesee to v0.80.0 2021-09-08 22:11:00 +00:00
Renovate Bot 2c5ba710c3 fix(deps): update dependency react-i18next to v11.12.0 2021-09-08 20:12:09 +00:00
camperbot 430719f56a
chore(i18n,client): processed translations (#43404) 2021-09-08 22:25:23 +05:30
Renovate Bot 499ce56fd6 fix(deps): update dependency i18next to v20.6.1 2021-09-08 14:33:16 +00:00
Ahmad Abdolsaheb a48091a012
fix(client): avoid calling the api for signed out users (#42383)
* feat(client): call api for singed in paypal subs

* feat(client): update tests

* feat(client): add kebab case

* fix: clarify tests
2021-09-07 21:24:18 -05:00
Renovate Bot bdcd6fa577 chore(deps): update codesee to v0.79.0 2021-09-08 00:27:13 +00:00
Nicholas Carrigan (he/him) fa84f6c449
feat(curriculum): css picasso painting (#42436)
* feat: generating steps

- Steps 1-32 done.
- Steps 33-80 done.
- Instructions 1-26 done.
- Instructions 27-61 done.
- More steps.
- Instructions 62-88 done.
- Clarify instructions for new concepts.
- build fixes
- Audit instructions on live site.

* fix: add helpCategory

* feat: write tests

* feat: add intro

* chore: use the right selectors

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>

* chore: cannot read property Shaun of undefined :)

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

* feat: Shau-ptional chaining

* chore: apply shaun's review suggestions

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

* fix: uncross my wires

* chore: apply shaun's review suggestions

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

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-09-07 21:49:42 +02:00
EhEhRon91 88385e46bb
fix: button width and text not matching (#43380) 2021-09-07 20:18:25 +05:30
camperbot b952bbb179
chore(i18n,learn): update translations (#43386) 2021-09-05 20:14:23 +02:00
Renovate Bot ec34f0f918 chore(deps): update babel monorepo to v7.15.5 2021-09-04 11:01:38 +00:00
Renovate Bot 5d53d9d4a9 chore(deps): update codesee to v0.78.0 2021-09-03 21:41:15 +00:00
Renovate Bot 38d7ac87ba chore(deps): update dependency webpack to v5.52.0 2021-09-03 18:06:04 +00:00
Shaun Hamilton 7857756062
chore(client): meta and yml certificate -> certification (#43353)
* chore(client): meta and yml certificate -> certification

* make translators lives more difficult - rename everything
2021-09-03 08:08:45 -07:00
Renovate Bot 53c88efb0d chore(deps): update dependency autoprefixer to v10.3.4 2021-09-03 01:41:02 +00:00