Commit Graph

235 Commits (4a4aa1f2f913b8daa5e07e977f06f21dbd6028bb)

Author SHA1 Message Date
camperbot 99f34ff283
chore(i18n,learn): update translations (#44345) 2021-12-01 14:34:19 +01:00
Ahmad Abdolsaheb 513f27e408
feat: add seasonal learn alert (#44335)
* feat:  add seasonal learn alert

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

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

* Update client/src/pages/learn.tsx

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-30 09:35:35 -08:00
Vinay 5b61c8a56f
refactor(client): ts-migration of i18n/validate-keys.js (#44292)
* refactor - file extenstion change to .ts

* fix - imports syntax

* fix - migration complete

* fix - lint:prettier warn

* refactor - validate-keys in tools/scripts/lint/

* refactor - validate-keys.ts moved to tools/scripts/lint and added in tsconfig.json

* refactor - tsconfig.json file for tools

* fix - lint:ts script update and validate-keys.js added to .eslintignore

* fix - lint:prettier and ts compilation

* fix - ts compilation

* refactor - changes in .gitignore and validate-keys script
2021-11-30 08:37:00 -08:00
camperbot d9971a2ac2
chore(i18n,client): processed translations (#44333) 2021-11-30 10:30:57 -03:00
Oliver Eyton-Williams bb7893db8e
feat: show project preview (#43967)
* feat: add data for preview to challengeMeta

* feat: allow creation of project preview frames

* feat: make project preview data available for frame

* refactor: simplify reducer

* feat: show project preview for first challenge

* feat: show project preview on MultiFile challenges

* test: check for presence/absence of preview modal

* fix: simplify previewProject saga

* test: uncomment project preview test

* fix: increase modal size + change modal title

* modal-footer

* feat: adjust preview size

* fix: remove margin, padding, and line-height for preview of finished projects

* Revert "fix: remove margin, padding, and line-height for preview of finished projects"

This reverts commit 0db11a0819.

* fix: remove margin on all previews

* refactor: use closeModal('projectPreview') for clarity

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

* fix: get started -> start coding!

* fix: update closeModal type

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-29 18:30:28 +00:00
camperbot ecd6a73e2b
chore(i18n,client): processed translations (#44254) 2021-11-23 14:32:21 +01:00
camperbot 204114c00f
chore(i18n,client): processed translations (#44226) 2021-11-22 12:55:17 +00:00
Nicholas Carrigan (he/him) 2cfa1d3bcd
chore: rename css skyline (#44211)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: block name

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-20 08:34:21 -06:00
Nicholas Carrigan (he/him) fbb9f657b1
chore: rename accessibility quiz (#44206)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: preformatted block name
2021-11-20 07:43:42 -06:00
Nicholas Carrigan (he/him) a73cffdc63
chore: rename photo gallery (#44204)
* chore: rename files

* chore: update codebase

* chore: proper title case

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-20 00:05:22 -06:00
Nicholas Carrigan (he/him) ff0fc1bdbf
chore: rename picasso painting (#44209)
* chore: rename files

* chore: update codebase

* chore: proper title case

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-19 23:30:57 -06:00
Nicholas Carrigan (he/him) 57d303826c
chore: rename nutrition label (#44205)
* chore: rename files

* chore: update codebase

* chore: proper title case

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-19 23:10:09 -06:00
Nicholas Carrigan (he/him) 59c24bd4be
chore: rename cafe menu (#44201)
* chore: rename files

* chore: update codebase

* chore: proper title case

* chore: missed block name

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-11-19 22:22:24 -06:00
Nicholas Carrigan (he/him) 0e66904272
chore: rename css piano (#44210)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:49:10 -06:00
Nicholas Carrigan (he/him) 06651d7043
chore: rename ferris wheel (#44213)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:38:19 -06:00
Nicholas Carrigan (he/him) 2ca67a6c23
chore: rename magazine (#44212)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:33:29 -06:00
Nicholas Carrigan (he/him) 1958eb2acd
chore: rename rothko painting (#44203)
* chore: rename files

* chore: update codebase

* chore: missed one

* chore: use proper title case
2021-11-19 21:23:04 -06:00
Nicholas Carrigan (he/him) ca6f5dbbcd
chore: rename registration form (#44202)
* chore: rename files

* chore: update codebase

* chore: proper title case
2021-11-19 21:18:01 -06:00
Nicholas Carrigan (he/him) 48550a582e
chore: rename cat photo project (#44200)
* chore: move files

* chore: update names in code

* chore: use correct name oops

* chore: proper title case
2021-11-19 21:11:31 -06:00
camperbot 398a972b5d
chore(i18n,client): processed translations (#44220) 2021-11-19 15:06:35 +00:00
Tom f0698aa517
feat(client,api): add user tokens and route for submitting coderoad tutorials (#43304)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-17 19:49:24 +05:30
camperbot 98a4b24057
chore(i18n,client): processed translations (#44170) 2021-11-12 16:35:12 +01:00
camperbot 48e44ddc05
chore(i18n,learn): update translations (#44158) 2021-11-11 14:10:15 +01:00
camperbot 2657265a84
chore(i18n,learn): update translations (#44153) 2021-11-10 16:49:12 +00:00
Kristofer Koishigawa 38c7cab70a
fix: bump number of english articles (#44149) 2021-11-10 12:57:15 +04:00
Nicholas Carrigan (he/him) 229fa686ca
feat(curriculum): css ferris wheel (#43460)
* feat: initial infra

* feat: initial step breakdown

* feat: expand instructions

* feat: write tests!

* chore: apply shaun's review suggestions

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

* chore: more tweaks

* chore: ferris → Ferris

* chore: apply shaun's review suggestions

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

* fix: no lang

* chore: fix lint issues

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-09 18:03:21 +00:00
camperbot 09b1592a53
chore(i18n,learn): update translations (#44137) 2021-11-06 15:14:58 +00:00
camperbot 08d50f4c22
chore(i18n,learn): update translations (#44130) 2021-11-05 16:01:50 +00:00
camperbot cb373132cb
chore(i18n,learn): update translations (#44121) 2021-11-04 17:02:04 +00:00
Nicholas Carrigan (he/him) 039809d961
feat: add note about campfire mode (#44118)
* feat: add note about campfire mode

* chore: shorter :)

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-11-04 09:38:44 +04:00
camperbot 77ff095d89
chore(i18n,learn): update translations (#44112) 2021-11-03 08:24:08 -07:00
Nicholas Carrigan (he/him) 0d33dff597
feat: nutrition label (#43852)
* feat: initial infra

* feat: break down steps

* feat: tests 1-30

* feat: tests 31 to end

* chore: apply gikf's review suggestions

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

* feat: actually testing things helps

* chore: apply review suggestions

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

* chore: take the part, put it in a step

* chore: apply shaun's review suggestions

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

* chore: missed one

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

* chore: clarify verbiage

Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-11-03 09:13:47 +01:00
camperbot 5d844ccf4b
chore(i18n,learn): update translations (#44080) 2021-10-31 14:48:17 +00:00
camperbot 772aca3ea1
chore(i18n,learn): update translations (#44059) 2021-10-29 16:20:03 +01:00
Nicholas Carrigan (he/him) cb5244be73
feat: css magazine (#43507)
* feat: initial infrastructure

* feat: html steps done

* feat: through step 50

* feat: complete steps

* feat: write tests

* chore: apply gikf's review suggestions

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

* chore: use correct alt text

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

* fix: image size

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

* feat: add temporary width

* chore: apply sem's review suggestions

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

* chore: missed one

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

* chore: apply kris' review suggestions

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

* chore: no text walls

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

* chore: walls of text

* chore: remaining review suggestions

* chore: apply shaun's review suggestions

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

* fix: linting index.md

* chore: lang tags

* feat: clarify noreferrer

* feat: clarify lazy loading

* chore: apply shaun's review suggestions

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

* fix: note about justify

* fix: split step 7

* fix: hero title

* chore: parts are secretly steps

* chore: apply tom's review suggestions

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

* chore: missed one

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

Co-authored-by: Krzysztof <60067306+gikf@users.noreply.github.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-10-28 14:31:12 -05:00
camperbot e88d24371a
chore(i18n,client): processed translations (#44046) 2021-10-28 14:48:11 +01:00
Nicholas Carrigan (he/him) 07bfe87419
feat: add campfire mode (#42663)
* feat: add campfire mode

fix: resolve lint issues

feat: add sound to editor

fix: restore flash messages

fix: linter issues

fix: obey sound setting

Update the editor to obey the camper's sound setting.

chore: apply suggestions from code review

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

fix: use @types/store

fix: linter issues

feat: simplify sound saga

Update client/src/redux/sound-mode-saga.js

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

fix: missing bracket

chore: use new s3 bucket

fix: lint

fix: import only needed bits

fix: remove from navbar

(was intermittently broken here anyway)

fix: dynamic imports?

fix: more dynamic imports

fix: tweak theme logic

chore: boolean | undefined

fix: dns

fix: no hammer local storage

* chore: apply oliver's review suggestions

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

* fix: lost an import

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-27 17:50:29 -05:00
Nicholas Carrigan (he/him) 2868347742
feat: css photo gallery (#43602)
* feat: initial infra

* feat: create steps

* feat: prototype tests

Haven't tested locally yet :)

* feat: complete tests

* feat: move image size step

* chore: apply shaun's review suggestions

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

* chore: apply kris' review suggestions

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

* fix: index.md linting

* chore: steps are parts in disguise

* chore: apply tom's review suggestions

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

* fix: colon to period

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-10-27 13:40:44 -05:00
camperbot 40e588ab90
chore(i18n,client): processed translations (#44019) 2021-10-26 19:09:17 +05:30
Rafael D. Hernandez 001aa3ea9e
feat(i18n): Add more motivational phrases and quotes in Spanish (#43970)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-25 23:09:24 +05:30
Kristofer Koishigawa bcc9beff1f
feat(curriculum): introduce let and const earlier (#43133)
* fix: move "Explore Differences Between..." to basic JS, update seed and tests

* fix: resequence "Declare String Variables"

* fix: move "Declare a Read-Only Variable..." to basic JS, update seed and tests

* fix: revert changes to non-English "Explore Differences Between..." test text

* fix: revert test strings, solutions, and seeds for non-English challenges

* fix: update "Declare String Variables" description

* fix: sync quotation marks in description and seed

* fix: modify note in "Declare a Read-Only..." challenge

* fix: update operator and compound assignment challenges

* fix: update string challenges

* fix: update array and array method challenges

* fix: update function and scope challenges, resequence slightly

* fix: "Word Blanks" solution

* fix: add spacing to seed

* fix: concatenating += challenge spacing

* fix: appending variables to strings spacing

* fix: find the length of a string spacing

* fix: removed instances of removedFromMyArray = 0

* fix: switch challenges

* fix: function argument and param spacing

* fix: update counting cards, object challenges, and record collection

* fix: finish rest of Basic JS section

* fix: introducing else statements solution

* fix: update spacing and wording

* fix: update wording for const challenge

* fix: update functional programming challenges

* fix: intermediate algorithms and cert challenges

* fix: revert some spacing and remove comments for fp challenge solutions

* feat: add notes with links to moved let and const challenges in first two es6 challenges

* fix: update es6 intro text

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-the-plus-equals-operator.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/finding-a-remainder-in-javascript.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/global-scope-and-functions.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-through-an-array-with-a-for-loop.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-through-an-array-with-a-for-loop.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype.md

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

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md

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

* fix: concatenating strings with plus operator seed

* fix: add comments back to Declare a Read-Only Variable... seed

* feat: add es6 to basic javascript redirect tests for let and const challenges

* fix: revert "Concatenating Strings with Plus Operator" seed

* fix: move test file to cypress/integration/learn/redirects, separate redirect tests

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-10-25 17:55:58 +01:00
camperbot 798ac7793b
chore(i18n,learn): update translations (#43984) 2021-10-23 09:35:51 -07:00
camperbot e8e64318b3
chore(i18n,learn): update translations (#43880) 2021-10-18 07:59:48 -07:00
Shaun Hamilton 4a605c5cd2
feat(curriculum): add registration form practice project (#42876)
* feat(curriculum): add registration-form practice project

* add parts 001-006

* add parts 007-009

* add parts 010-013

* add parts 014-024, fix 013

* add parts 025-043

* add parts 043-046

* add parts 0047-057 without tests

* fix tests and adjust index.md file I do not understand

* add css tests to parts 037-040

* add tests parts 040-057

* remove space around ERM

* add true assertion until document iframe is fixed

* add critical review suggestions

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

* use clear, Tom-like language for 038

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

* change order to match author's age

* apply suggestions with personal pazzaz

* add that thing Nich forgets

* use innerText

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

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-14 15:33:13 -07:00
camperbot 091473645b
chore(i18n,client): processed translations (#43826) 2021-10-13 12:59:58 +05:30
camperbot 54652e34e7
chore(i18n,learn): update translations (#43773) 2021-10-10 10:38:02 -07:00
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
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
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