Commit Graph

3149 Commits

Author SHA1 Message Date
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