Commit Graph

3573 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
60258d40c9 fix: order import (again) (#44670)
* refactor: reenable import ordering

* refactor: require alphabetic ordered imports
2022-01-05 16:05:50 -06:00
Renovate Bot
1e74017dc3 fix(deps): update dependency react-instantsearch-dom to v6.19.0 2022-01-05 13:37:54 +00:00
Renovate Bot
071295aa03 chore(deps): update codesee to v0.159.0 2022-01-05 09:33:20 +00:00
Renovate Bot
1bb0c46656 fix(deps): update dependency prop-types to v15.8.1 2022-01-05 05:06:58 +00:00
Aleksa Kis
34a76659c1 chore(client): ts-migrate Challenges/utils test (#44672)
* chore(challenges-utils): Change test util file extension

* chore(challenges-utils): typescript migration of Challenges util test
2022-01-04 16:59:50 +01:00
renovate[bot]
51c2969555 fix(deps): update dependency react-youtube to v7.14.0 (#44667)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 20:57:14 +05:30
Oliver Eyton-Williams
e5e7f89f4b refactor(client): remove redundant code (#44669) 2022-01-04 20:38:52 +05:30
Aleksa Kis
cc86654048 chore(challenges-utils): Typescript migration of Challenges util (#44663) 2022-01-04 16:49:31 +05:30
Oliver Eyton-Williams
a726dd381f fix(client): prevent data url render (#44658)
* fix: only render profile urls

* feat: warn user when submitting data url

* fix: prevent dataurls being saved to db

* fix: tests and imports

Not sure why jest didn't like the es imports, but they aren't necessary
so I dropped them.

* fix: check for url protocol
2022-01-04 11:05:40 +05:30
Oliver Eyton-Williams
795316b1d4 fix(client): always render bottom jaw in correct position (#44657) 2022-01-03 17:27:58 +05:30
Renovate Bot
90795f6dd4 fix(deps): update dependency react-i18next to v11.15.3 2022-01-02 17:54:44 +00:00
Renovate Bot
5f14e43454 chore(deps): update babel monorepo to v7.16.7 2021-12-31 02:17:09 +00:00
Renovate Bot
adc6d96e8b chore(deps): update codesee to v0.158.0 2021-12-29 21:21:12 +00:00
Renovate Bot
c3b542b78d chore(deps): update dependency autoprefixer to v10.4.1 2021-12-29 19:24:59 +00:00
Renovate Bot
5d908130ae chore(deps): update codesee to v0.157.0 2021-12-28 22:12:13 +00:00
Renovate Bot
a8c33e8fcd fix(deps): update dependency react-i18next to v11.15.2 2021-12-28 10:38:32 +00:00
camperbot
8a8b9b574b chore(i18n,learn): update translations (#44585) 2021-12-28 12:38:11 +05:30
Ahmad Abdolsaheb
cb201a8e8b feat: add grid map (#44557)
* feat: add map grid

* fix: lint/prettier/ts

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-23 10:29:52 -06:00
renovate[bot]
f540c839ed fix(deps): update dependency prop-types to v15.8.0 (#44560)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-23 21:48:26 +05:30
Tom
bd9065fdfe fix: sideways checkmarks on blocks (#44575) 2021-12-23 17:17:11 +01:00
Oliver Eyton-Williams
05089c535a fix(client): enlarges console pane for project steps (#44567) 2021-12-23 17:39:06 +03:00
Oliver Eyton-Williams
85b9daedb8 fix(client): handle challenge resets with hidden preview (#44570) 2021-12-23 17:34:26 +03:00
Tom
dfd3fd452d fix: make beta go to RWD superblock instead of learn (#44563) 2021-12-23 19:18:12 +05:30
camperbot
2890970937 chore(i18n,client): processed translations (#44572) 2021-12-23 18:41:21 +05:30
Oliver Eyton-Williams
54ff692a10 fix: slight change to 'go back to learn' message (#44566) 2021-12-23 16:37:11 +05:30
Tom
b27aeb11ca fix: footer showing up on new RWD challenges (#44562) 2021-12-23 08:02:35 +01:00
Tom
075bc04a2b fix: step-1 crashing (#44561) 2021-12-23 06:51:03 +00:00
Renovate Bot
b5dc0dbee9 chore(deps): update codesee to v0.156.0 2021-12-23 01:06:30 +00:00
Shaun Hamilton
4528c65715 fix(client): move new stuffs to new pages location (#44545) 2021-12-22 11:01:39 -06:00
Oliver Eyton-Williams
fd63bb6f85 feat: mvp features for soft launch (#44539)
* refactor: use enum

* feat: create links between legacy and new

* refactor: pull out legacy-links component

* fix: import order

* fix: provide icon for new superblock

* feat: only show the copy on the new superblock

* fix: use the proper i18n keys correctly

* feat: put the new superblock at the end of the map

* feat: update the new superblock title

* test: update for soft launch order

* fix: show original project links on /settings

Soft launch only.

* test: use SHOW_NEW_CURRICULUM in tests

* fix: rename the remaining rwd-22s

* feat: make the messge prettier

* fix: message copy

* refactor: make comment make sense

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-12-22 16:53:40 +00:00
camperbot
52dc01760e chore(i18n,client): processed translations (#44552) 2021-12-22 19:19:02 +05:30
Nicholas Carrigan (he/him)
65293f0716 feat: add intro text (#44547)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-12-21 22:29:31 -06:00
Renovate Bot
be36e1e7d0 chore(deps): update codesee to v0.154.0 2021-12-22 02:13:01 +00:00
Ahmad Abdolsaheb
449c37fb33 feat(client): add donate faq (#44380)
* feat: add donate faq

* Apply suggestions from code review

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* clean up

* Apply suggestions from code review

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

* Update client/src/components/Donation/donation-text-components.tsx

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-12-21 14:42:10 -08:00
Kristofer Koishigawa
e878b3ee57 feat: add CSS Color Markers project (#44459)
* feat: first draft of CSS Color Markers project

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

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-007.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-046.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-079.md

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

* feat: begin adding tests

* feat: add more tests, fix wording and some CSS values

* feat: add more steps, fix wording

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-014.md

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

* feat: add more tests, simplify some regex tests, fix wording

* fix: preformatted block names and help category map

* feat: finish first draft of color marker tests

* fix: simplify text involving classes

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-004.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-008.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-009.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-010.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-011.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-013.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-014.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-014.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-054.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-089.md

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

* Update curriculum/challenges/english/01-responsive-web-design/learn-css-colors-by-building-a-color-markers-set/step-094.md

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

* fix: add outro message to final CSS color markers step

* fix: make most regex tests case insensitive, add note about casing for filename

* correct double key from rebase

* remove jQuery for betterness

* move project to new superblock

* adjust meta to match others

* fix: add new to helper call

* regex-ise funny lessons

* unnecessary: add -22 superblock

* fix: make linter happy

* regex-ise missed challenges...oops

* Revert "fix: make linter happy"

This reverts commit 6e6e3cf503.

* Revert "unnecessary: add -22 superblock"

This reverts commit a58045607e.

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-005.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-010.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-052.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-053.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-054.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-055.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-056.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-057.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-058.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-059.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-062.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-063.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-064.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-065.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-068.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-069.md

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

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-color-markers-set/step-082.md

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

* fix: rename project to "Learn CSS Colors by Building a Set of Colored Markers"

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/step-010.md

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

* adjust superblock to include `2022/`

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-12-21 11:45:08 -08:00
Oliver Eyton-Williams
ff566d441a fix: rename superblock to use /2022/ (#44535)
* chore: update superblock properties

* refactor: remove isAudited from certs

It was always defaulting to English, anyway.

* refactor: get superblock from metas, not dirs

* fix: rename responsive-web-design-22

This converts the slugs to /2022/responsive-web-design

* refactor: remove unused export

* test: update test with new curriculum config

* refactor: use key not [key]

* refactor: remove directory reference from test
2021-12-21 12:35:51 -06:00
camperbot
9b806c4eec chore(i18n,client): processed translations (#44538) 2021-12-21 21:08:22 +05:30
Tom
b0872abd86 fix: hide editor tabs on desktop (#44534) 2021-12-20 15:11:09 -08:00
Nicholas Carrigan (he/him)
0073a15455 fix: duplicate i18n keys (#44533) 2021-12-20 21:55:49 +00:00
Nicholas Carrigan (he/him)
8614db7a32 feat: enable new curriculum (#44183)
* feat: use legacy flag

chore: reorder challenges

fix: linter

revert: server change

feat: unblock new editor

fix: proper order

fix: 0-based order

fix: broke the order

feat: move tribute certification to its own block

feat: split the old projects block into 4

fix: put all blocks in order

chore: add intro text

refactor: use block, not blockName in query

fix: project progress indicator

* fix: reorder new challenges/certs

* fix: reorder legacy challenges

* fix: reintroduce legacy certs

* feat: add showNewCurriculum flag to env

* chore: forgot sample.env

* feat: use feature flag for display

* fix: rename meta + dirs to match new blocks

* fix: add new blocks to help-category-map

* fix: update completion-modal for new GQL schema

* test: duplicate title/id errors ->  warnings

* fix: update completion-modal to new GQL schema Mk2

* chore: re-order metas (again)

* fix: revert super-block-intro changes

The intro needs to show both legacy and new content.  We need to decide
which pages are created, rather than than what a page shows when
rendered.

* feat: move upcoming curriculum into own superblock

* fix: handle one certification with two superBlocks

* fix: remove duplicated intros

* fix: remove duplicate projects from /settings

* fix: drop 'two' from Responsive Web Design Two

* chore: rename slug suffix from two to v2

* feat: control display of new curriculum

* feat: control project paths shown on /settings

* fix: use new project order for /settings

This does mean that /settings will change before the release, but I
don't think it's serious.  All the projects are there, just not in the
legacy order.

* fix: claim/show cert button

* chore: remove isLegacy

Since we have legacy superblocks, we don't currently need individual
blocks to be legacy

* test: fix utils.test

* fix: verifyCanClaim needs certification

If Shaun removes the cert claim cards, maybe we can remove this entirely

* fix: add hasEditableBoundaries flags where needed

* chore: remove isUpcomingChange

* chore: v2 -> 22

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-20 12:36:31 -06:00
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