Commit Graph

3848 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
b223cdd255 refactor: display solutions (#45139)
* refactor: re-organise show-project-links

* refactor: update ChallengeFile's declared shape

* fix: handle missing challenge solution

* refactor: use display function for Certification

* refactor: use display function for TimeLine

* refactor: use common component for timeline + cert

* fix: handle legacy solutions

* refactor: use widget for certifications

* refactor: reorganise ShowDisplayWidget

* refactor: remove unused ids

* test: pass dataCy, not projectTitle, to widget

* chore: kebabify

* revert: add id back for dropdown

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

* revert: add the ids back

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-02-16 13:48:22 -08:00
camperbot
fe7f2b74ca chore(i18n,client): processed translations (#45141) 2022-02-16 18:18:47 +01:00
Renovate Bot
229a9d8b2b chore(deps): update babel monorepo to v7.17.4 2022-02-16 03:55:50 +00:00
Renovate Bot
904778c7a6 chore(deps): update dependency @testing-library/react to v12.1.3 2022-02-16 01:35:20 +00:00
Renovate Bot
6f6b6cc84c fix(deps): update dependency @stripe/stripe-js to v1.23.0 2022-02-15 22:56:09 +00:00
Bruce B
7abb89326b fix(a11y): make breadcrumb nav more accessible (#45021)
* fix: make breadcrumb nav more accessible

* refactor: cypress test and jest snapshot

* slight adjustment to left breadcrumb focus outline

* feat: translate aria for nav

* chore(tools): update snapshot

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2022-02-15 21:44:18 +03:00
Oliver Eyton-Williams
cde1407f58 feat(client): make all sources available in tests (#44725)
* feat: make all sources available in tests

The original contents of all files (index.html, script.js etc.) will be
accessible in tests.  For example __sources['index.html'] gets the
original html file and nothing else.

* feat: use __file to get user code
2022-02-15 23:29:31 +05:30
Renovate Bot
62e75bc14f chore(deps): update babel monorepo to v7.17.3 2022-02-15 17:24:44 +00:00
camperbot
4a157750f5 chore(i18n,client): processed translations (#45122) 2022-02-15 08:04:06 -08:00
Renovate Bot
84f60cb9c5 chore(deps): update dependency webpack to v5.69.0 2022-02-15 15:56:49 +00:00
Renovate Bot
a500344ce9 fix(deps): update dependency nanoid to v3.3.0 2022-02-15 09:47:46 +00:00
Renovate Bot
192c0fb192 chore(deps): update codesee to v0.189.0 2022-02-15 00:05:59 +00:00
camperbot
ad7c9af5bd chore(i18n,client): processed translations (#45108) 2022-02-14 07:51:42 -08:00
renovate[bot]
24a5087c6c chore(deps): update codesee to v0.187.0 (#45013)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-14 21:09:48 +05:30
Ahmad Abdolsaheb
fa5c697d2a feat: clean ga (#45107) 2022-02-14 10:26:56 +01:00
Krzysztof G
f644c239c1 chore(client): tsmigrate getTargetEditor.js (#45090) 2022-02-14 06:12:04 +07:00
camperbot
dbef7a3464 chore(i18n,client): processed translations (#45083) 2022-02-13 12:44:51 +09:00
Renovate Bot
fa670e37db fix(deps): update dependency react-reflex to v4.0.6 2022-02-12 05:03:51 +00:00
Bruce B
a5e4596db7 fix(a11y): remove tab role from buttons in beta rwd challenges (#45032)
* fix: remove tab role from buttons in beta rwd challenges

* remove sr-only text

* remove whitespace
2022-02-11 16:00:36 -08:00
Oliver Eyton-Williams
7fe4695794 refactor: ignore eslint less (#45082)
* refactor: remove and fix some eslint disables

* refactor: drop max-line disables
2022-02-11 10:28:13 -08:00
Tom
57cf47dad4 feat: split rdbms into individual blocks and two challengeTypes (#44978)
* feat: split english rdbms into individual blocks

fix: stuff

fix: remove from partiallyComplete array on submit

fix: add suggestion

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

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

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

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

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

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

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

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

Update client/src/templates/Challenges/codeally/show.tsx

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

Update client/src/templates/Challenges/codeally/show.tsx

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

Update client/src/templates/Challenges/codeally/show.tsx

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

Update client/src/templates/Challenges/codeally/show.tsx

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

Update client/src/templates/Challenges/codeally/show.tsx

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

Update client/src/templates/Challenges/codeally/show.tsx

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

Update client/src/templates/Challenges/codeally/show.tsx

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

Update client/src/templates/Challenges/codeally/show.tsx

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

* fix: prettier

* fix: style suggestion

* Apply suggestions from code review

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-02-11 15:39:27 +00:00
Bruce B
361e7fc2e5 fix(a11y): FCC logo link (#45039)
* fix: fcc logo link

* fix: fcc svg label

* feat: use translated aria for logo

* clean up

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-02-10 17:02:26 -08:00
Huyen Nguyen
8711fbad8e chore: remove unused file (#45073) 2022-02-10 20:07:42 +01:00
camperbot
829ec163c0 chore(i18n,client): processed translations (#45067) 2022-02-10 10:07:53 -08:00
Oliver Eyton-Williams
5f06b7805c test: titles in project previews (#45051)
* fix: trim titles before injecting into iframes

Surrounding whitespace isn't useful

* test: check preview iframe has correct title
2022-02-11 00:57:50 +07:00
Oliver Eyton-Williams
44e2bce920 refactor: clean up ref types (#45070)
The react-hotkeys innerRef type is incorrect (it accepts both callback
and object refs), but the lib is unmaintained at this point.
2022-02-10 11:31:55 -06:00
Kita Pairojtanachai (Chris)
22acd4894d migrate certain files in __mocks__/ (#45071)
* change ref from styleMock.js to .ts

* change ref from fileMock.js to .ts
2022-02-10 18:10:02 +01:00
Poonkuzhali
1fa46c8f11 #45037_Renamed text from Expand courses to Expand course in intro.json (#45061)
* Updated intro.json

Changed the expand courses to expand course
2022-02-10 11:55:07 +00:00
Bruce B
2c8b9f7815 fix: beta rwd - make step heading h1 (#45036) 2022-02-10 11:14:58 +01:00
camperbot
ebfcd467c5 chore(i18n,client): processed translations (#45059) 2022-02-10 01:54:13 +09:00
Naomi Carrigan
a430aa42ef feat(client): styling for project cards (#44771)
* feat: project -> certification project

* feat: add certification icon

* feat: cert project banner

* feat: combine new cert detection methods

* feat: add a dynamic tag

* feat: replace blocks with grid bloks for new RWD

* feat: adjust individual progress bar

* feat: add dropdown icon

* feat: add conditional rendering

* feat: add local and fix cert card link

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-02-08 19:49:00 -06:00
Shaun Hamilton
7d1677fc86 fix(client): show description when above line 1 2022-02-09 03:56:13 +03:00
Shaun Hamilton
765e72e702 feat(client): enable scrollBeyondLastLine in editor 2022-02-09 03:56:13 +03:00
Renovate Bot
4049c38440 chore(deps): update babel monorepo to v7.17.2 2022-02-08 21:50:45 +00:00
Bruce B
6b2f2dbf77 fix(a11y): remove complementary role from instructions panel (#45030) 2022-02-08 17:46:24 +00:00
Bruce B
03d9239eb5 fix(a11y): add h1 heading to classic challenges (#45031) 2022-02-08 21:21:19 +05:30
Ahmad Abdolsaheb
d863018dd9 feat: footer Feb 22 (#45043) 2022-02-08 07:41:16 -08:00
Renovate Bot
0898c15255 fix(deps): update dependency react-i18next to v11.15.4 2022-02-08 13:04:55 +00:00
Bruce B
7d817cb237 fix(a11y): add title attribute to iframes (#45014)
* fix:add title attribute to iframes
2022-02-08 11:22:54 +01:00
Renovate Bot
37c41cdcf7 chore(deps): update dependency ts-node to v10.5.0 2022-02-07 19:06:10 +00:00
camperbot
6d659c9d90 chore(i18n,client): processed translations (#45025) 2022-02-05 08:59:51 -08:00
Renovate Bot
018f73e518 fix(deps): update dependency sanitize-html to v2.7.0 2022-02-04 18:59:16 +00:00
Renovate Bot
1d76032484 fix(deps): update dependency @babel/standalone to v7.17.1 2022-02-03 21:56:49 +00:00
Renovate Bot
a3732facc3 chore(deps): update dependency @testing-library/jest-dom to v5.16.2 2022-02-03 05:35:38 +00:00
Renovate Bot
bb36d04b37 chore(deps): update babel monorepo to v7.17.0 2022-02-03 03:08:35 +00:00
Renovate Bot
e3184acd2a fix(deps): update dependency babel-plugin-preval to v5.1.0 2022-02-03 00:33:54 +00:00
Renovate Bot
efaa3b497b chore(deps): update codesee to v0.177.1 2022-02-02 22:12:54 +00:00
Ahmad Abdolsaheb
3cee5509e6 chore(client): add view_type meta to analytics (#44999) 2022-02-02 17:34:24 +01:00
Ismail Tlemcani
09d30d2d14 fix(client): console output for sets and maps (#44966)
Co-authored-by: IsmailTlemcani <ismail.tlemcani@gmail.com>
2022-02-02 11:53:49 +00:00
Renovate Bot
634a39eebf fix(deps): update dependency react-instantsearch-dom to v6.22.0 2022-02-02 11:42:37 +00:00