Commit Graph

3533 Commits

Author SHA1 Message Date
Prashant
304773d62b fix(i18n): Expand/Collapse Courses Button text (#44528)
* fix(i18n): Expand/Collapse Courses Button text

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

Co-authored-by: Ilenia <nethleen@gmail.com>

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

Co-authored-by: Ilenia <nethleen@gmail.com>

Co-authored-by: Ilenia <nethleen@gmail.com>
2021-12-20 18:24:09 +01:00
Ahmad Abdolsaheb
ee73042c84 feat(client): add background animation for description of first challenge (#44519)
* initial

* Apply suggestions from code review

* Update client/src/templates/Challenges/classic/editor.css
2021-12-17 21:21:17 +01:00
Renovate Bot
54a94528c7 chore(deps): update codesee to v0.153.0 2021-12-17 20:14:07 +00:00
camperbot
3e9230724a chore(i18n,learn): update translations (#44520) 2021-12-17 10:33:29 -03:00
Renovate Bot
4d1ceb3f74 fix(deps): update dependency react-instantsearch-dom to v6.18.0 2021-12-17 09:02:21 +00:00
camperbot
88b6b8a8f5 chore(i18n,learn): update translations (#44515) 2021-12-16 14:04:55 +00:00
Tom
c2aa8ce3e5 fix: make completion modal a little more accessible (#44508)
* fix: make completion modal a little more accessible

* remove: unneeded aria attribute

* fix: update snapshots
2021-12-16 11:17:12 +01:00
Renovate Bot
3355487dcb chore(deps): update codesee to v0.152.0 2021-12-16 04:25:26 +00:00
Tom
1605dbb21f fix: grammar in private profile flash message (#44510) 2021-12-15 17:14:21 -08:00
Ahmad Abdolsaheb
5a8efaf4a4 feat: show card to signed in users (#44509) 2021-12-15 22:43:26 +03:00
Tom
580a51f7a7 fix: simplify mobile layout tabs (#44431)
* fix: simplify mobile layout tabs

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


Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-15 13:52:44 +00:00
camperbot
62071589d3 chore(i18n,learn): update translations (#44506) 2021-12-15 12:44:14 +00:00
Renovate Bot
5e0ebe1b57 fix(deps): update dependency @stripe/react-stripe-js to v1.7.0 2021-12-15 10:21:08 +00:00
Renovate Bot
5e66a30ac1 chore(deps): update codesee to v0.151.0 2021-12-15 08:20:13 +00:00
Renovate Bot
483010b87b fix(deps): update dependency @babel/standalone to v7.16.6 2021-12-15 02:25:05 +00:00
Oliver Eyton-Williams
b57cf4ffa7 fix: store completed js projects in redux (#44496)
* fix: store completed js projects in redux

These were missed when we migrated from files to challengeFiles

* test: put the data-cy on the correct button

Rather than the fallback. The tests were only passing because the
fallback was kicking in and, since that was fixed, the tests started to
fail!
2021-12-14 17:59:53 -06:00
Tom
5c4233a39a remove: unused dispatches from multifile editor (#44493) 2021-12-14 10:18:37 -08:00
Oliver Eyton-Williams
3b560deab6 refactor: stop spreading challenge over the node (#44499)
* refactor: stop spreading challenge over the node

Instead of creating a Gatsby node with id of challenge.id, we create a
single node field that has all the challenge data.

While this makes the GraphQL queries more verbose, it means we're free
to create multiple nodes with the same challenge.id.

* test: update time-line test for new GQL schema

* test: update mocks with new GQL schema
2021-12-14 12:11:20 -06:00
camperbot
d4f490419f chore(i18n,learn): update translations (#44497) 2021-12-14 14:43:29 +00:00
sidemt
34f19bd698 fix(i18n): include period in translatable string (#44474)
* fix: include period in translatable string

* chore: update snapshot

* fix: combine 2 strings into 1

* fix: add placeholder

* fix: update snapshot

Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
2021-12-14 14:42:57 +00:00
Renovate Bot
73c1ca1b4a fix(deps): update dependency typescript to v4.5.4 2021-12-14 04:46:42 +00:00
Renovate Bot
5a1414e247 chore(deps): update babel monorepo to v7.16.5 2021-12-14 02:42:46 +00:00
Renovate Bot
7ccf418f10 fix(deps): update dependency react-i18next to v11.15.1 2021-12-13 19:53:10 +00:00
Ahmad Abdolsaheb
cd9c57a8c5 feat(client): optimize donation form for holiday alert (#44482)
* feat(client): optmize donation form for holiday alert

* feat: remove key from i18n
2021-12-13 08:25:21 -08:00
Renovate Bot
361794aacd chore(deps): update dependency postcss to v8.4.5 2021-12-13 03:50:05 +00:00
Renovate Bot
ae7535299e fix(deps): update dependency @loadable/component to v5.15.2 2021-12-12 10:50:35 +00:00
Josh
9c386c829f fix(client): prevent unusual commas in iframe (#44477)
* fix: Moved src files in the head

* fix: Removed excess indents

Co-authored-by: Canopius <canopius@DESKTOP-KJC5QOG.localdomain>
2021-12-11 20:33:46 +01:00
Nicholas Carrigan (he/him)
4564b71d0e fix(client): i18n news configs (#44463)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-12-11 22:40:27 +05:30
camperbot
d896de60d9 chore(i18n,learn): update translations (#44473) 2021-12-11 13:18:37 +00:00
Renovate Bot
8fb945c5a8 fix(deps): update dependency react-i18next to v11.15.0 2021-12-11 00:16:52 +00:00
Oliver Eyton-Williams
6ce8738fc0 refactor: remove useless warning (#44465) 2021-12-10 14:35:46 -08:00
Mrugesh Mohapatra
a2f799866f feat(learn): enable ukrainian certifications (#44454)
* feat(learn): enable ukrainian certifications

* fix: add algolia config

* chore: apply suggestions from code review

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-10 22:11:52 +01:00
Renovate Bot
6fe6bab4a5 fix(deps): update dependency @stripe/stripe-js to v1.22.0 2021-12-10 21:04:32 +00:00
Nicholas Carrigan (he/him)
f8eec5d3fb chore: migrate required files (#44461) 2021-12-10 15:22:45 +00:00
camperbot
efe5d419f3 chore(i18n,client): processed translations (#44456) 2021-12-10 06:46:21 -08:00
Nicholas Carrigan (he/him)
42acc542b7 fix: handle uppercase and missing user verification (#44444)
* fix: hotfix for isHonest null

* fix: early return if no user?

* fix: handle invalid input on api

Also lowerCases the username it receives since the client could send any
case.

* fix: report errors to user when verification fails

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-10 11:23:26 +00:00
camperbot
ccd1f9f0c0 chore(i18n,client): processed translations (#44445) 2021-12-10 11:15:38 +05:30
Renovate Bot
8651ee1797 fix(deps): update dependency typescript to v4.5.3 2021-12-10 02:08:02 +00:00
Oliver Eyton-Williams
9ad29e03d5 refactor: handle certs separately (#44434)
* refactor: split createChallenge into two functions

* refactor: remove certification metas

* fix: remove the metas I missed
2021-12-09 11:53:12 -08:00
Shaun Hamilton
40acfa708b feat: reduce request payload for non-js projects (#44429)
* feat: reduce request payload for non-js projects

* break future TS

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-09 13:31:21 -06:00
Tom
1c5d136add feat(client): add notes tab to project based curriculum (#44247)
* feat: add notes tab to project based curriculum

* feat: add console key to i18n

* feat: add reset to i18n

* fix: use translations in action-row

* fix: use hasEditableBoundaries as check for when to display instructions/editor-tabs

* fix: clean up notes components and use prism formatting

* feat: add notes to docs/how-to-work-on-challenges

* revert: unused code

* fix: lint errors?

* fix: lint errors

* fix: add notes to graphql schema

* fix: add notes to challenge schema

* fix: only display notes on project based

* fix: add env data back to mobile layout

* fix: prettify

* revert: notes

* fix: hide notes on mobile for non project based

* rename: switchDisplayTab -> togglePane

* revert: hasEditableBoundaries check back to projectBasedChallenge check
2021-12-09 18:42:03 +00:00
Ahmad Abdolsaheb
69639bda8a feat(client): testing donation alert title (#44438) 2021-12-09 09:43:59 -06:00
Ahmad Abdolsaheb
dd8f5d07cd fix(client): add footer dec 2021 (#44413) 2021-12-09 15:11:09 +00:00
Oliver Eyton-Williams
fca626fc5e fix(client): prevent load from local storage (#44440) 2021-12-09 15:08:03 +00:00
camperbot
bf2b4caf12 chore(i18n,client): processed translations (#44436) 2021-12-09 19:41:55 +05:30
Renovate Bot
27051c7f07 fix(deps): update dependency react-instantsearch-dom to v6.17.0 2021-12-09 11:54:45 +00:00
JasmineSun33
d95226ff1d chore(client): migrate landing.test.js to ts (#43889)
* rename file

* disable lint

* change to specific annotation

* kebaberise file name

* adjust naming to remove need for eslint-disable

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-08 21:27:43 -06:00
Renovate Bot
471b2bf24f fix(deps): update dependency sanitize-html to v2.6.1 2021-12-09 03:05:21 +00:00
Tom
6872262d21 fix(client): make new editor more accessible (#44425) 2021-12-09 00:28:20 +00:00
Ahmed Ghoneim
4bdfb6794f feat(client): migrate layout/default to ts (#43866)
* chore: rename Default.js to default.tsx

* chore: refactor default layout to typescript

* use TFunction for type

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-08 10:20:20 -08:00