Commit Graph

30573 Commits (03612c2600d5207c0767fde14d55097f0526c98c)

Author SHA1 Message Date
DanielRosa74 5597147ac7
fix(curriculum): delete unnecessary escape character (#45976)
Removing "\" before "_blank" (typo?).
2022-05-15 09:58:54 +01:00
Renovate Bot 4895f4c47e fix(deps): update dependency @actions/github to v5.0.3 2022-05-15 04:12:21 +00:00
Renovate Bot 3e593f8d7f fix(deps): update dependency @actions/core to v1.8.2 2022-05-15 01:17:29 +00:00
Renovate Bot da9ddb2d9c chore(deps): update dependency webpack to v5.72.1 2022-05-14 22:21:10 +00:00
Renovate Bot 6f8dab6c4f chore(deps): update dependency redux-saga-test-plan to v4.0.5 2022-05-14 19:48:04 +00:00
Renovate Bot e2f3db360e chore(deps): update dependency @types/react-dom to v17.0.17 2022-05-14 17:37:02 +00:00
Renovate Bot aea9d57914 chore(deps): update dependency @types/node to v16.11.35 2022-05-14 15:14:15 +00:00
camperbot 9775af71a5
chore(i18n,learn): processed translations (#45965) 2022-05-14 21:08:13 +09:00
Naomi Carrigan d808d726f4
fix: add scrollable anchor to grid project block (#45954) 2022-05-14 09:17:20 +02:00
Oliver Eyton-Williams 538e7c787b
feat: improve file insertion (#45942) 2022-05-14 10:06:26 +05:30
Ekansh Baweja 0dd9fc8d4f
fix(client): Code solution modal on timeline (#45953) 2022-05-14 10:03:23 +05:30
Renovate Bot e6998464f0 chore(deps): update dependency @types/jest to v27.5.1 2022-05-14 03:40:20 +00:00
Naomi Carrigan a0cafbe49e
fix(curriculum): tribute page (#45933)
* fix: tribute page

* feat: query the dom for shaun
2022-05-13 20:50:51 +01:00
camperbot 868284bc81
chore(i18n,learn): processed translations (#45945) 2022-05-13 08:35:27 -07:00
camperbot dde1d2a79f
chore(i18n,docs): processed translations (#45943) 2022-05-13 08:33:16 -07:00
camperbot d5f6a8f23a
chore(i18n,client): processed translations (#45944) 2022-05-13 15:27:53 +02:00
Naomi Carrigan cc18ce951b
feat: allow source element (#45935) 2022-05-13 18:22:18 +05:30
Naomi Carrigan 0677464b68
feat: banner for updated RWD (#45936) 2022-05-12 21:38:20 -07:00
Ilenia e279d9a64d
fix(curriculum): more typos for rwd (#45932)
* wrong word in step 12 cat cafe menu project

* wrong word step 27 cafe menu
2022-05-13 05:37:49 +02:00
Ilenia a1df6056b0
chore(i18n): new italian footer (#45934)
* new articles footer

* fixed order of titles
2022-05-13 00:54:15 +05:30
Tom 832e504ced
fix: user object on account reset (#45929) 2022-05-12 18:27:11 +01:00
camperbot 6bc383f60f
chore(i18n,learn): processed translations (#45928) 2022-05-12 18:20:24 +02:00
Hassaan Pasha fadd2b1d13
fix: code duplication in tests for create-language-redirect (#45925) 2022-05-12 20:13:40 +05:30
camperbot b0733cfedc
chore(i18n,client): processed translations (#45927) 2022-05-12 20:11:26 +05:30
Shaun Hamilton 9e066cc47e
chore(docs): add courses-vscode-extension flight manual (#45926) 2022-05-12 15:45:05 +02:00
Ilenia d2d95dcfc3
fix(curriculum): more fixes for rwd beta (#45913)
* wrong word in step 58 cat-photo-app

* typo in step 63 cat photo app

* typo in cat photo app step 65

* extra word in step 64 cat photo app

* typos step 62 cat photo app

* The p elements weren't respectable
2022-05-12 13:10:35 +01:00
Tom 898d6eafa3
fix: cert project links going to english (#45923)
* fix: cert project links going to english
2022-05-12 13:29:10 +05:30
Abdelmalek Ennani d1fe6b3eaf
fix(client): remove unexpected duplicate "height" (#45911)
I deleted an Unexpected duplicate "height" property
2022-05-12 11:13:21 +05:30
sidemt f63fc2a6e8
fix(curriculum): correct challenge title (#45918) 2022-05-11 16:26:09 -07:00
Shaun Hamilton 2717581b2f
fix(api): add needsModeration flag to user document root (#45921)
* fix(api): add needsModeration flag to user document root

* fix prettiers complaints

* Update api-server/src/common/models/user.json

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2022-05-11 15:30:51 -05:00
Muhammed Mustafa 8da87f4d58
fix(client): duplicates and zero length units (#45909)
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2022-05-11 11:20:39 -07:00
camperbot 5aa1ab8b0a
chore(i18n,docs): processed translations (#45914) 2022-05-11 09:24:05 -07:00
camperbot de14a17e43
chore(i18n,learn): processed translations (#45916) 2022-05-11 09:23:27 -07:00
camperbot f3189a8705
chore(i18n,client): processed translations (#45915) 2022-05-11 21:14:14 +05:30
Ilenia 516db42de8
fix(curriculum): varius fixes for responsive web design beta files (#45900)
* fixing selectors in tech-doc project

* removed extra word

* adding missing word

* fixed typo

* fixed typo

* added missing periods

* Update build-a-survey-form.md

* Update build-a-technical-documentation-page.md

* missing periods in tribute page project

* typos in tribute page

* Update 5ef9b03c81a63668521804d5.md

* missing backticks

* missing word in step 42 cat photo app
2022-05-11 12:13:37 +02:00
Tom da1f0cc357
fix: use new RWD cert projects for all i18n's (#45906) 2022-05-11 11:08:21 +02:00
ned-park 6fded30b51
fix(client): remove unneeded explicit padding-bottom (#45910) 2022-05-11 10:47:14 +05:30
Ahmad Abdolsaheb 9e61fe17fb
feat: add may 22 footer (#45901) 2022-05-10 11:23:07 -07:00
camperbot 0338db3315
chore(i18n,docs): processed translations (#45903) 2022-05-10 10:57:50 -07:00
camperbot 750e9fce08
chore(i18n,client): processed translations (#45904) 2022-05-10 10:57:07 -07:00
camperbot a13bca06d4
chore(i18n,learn): processed translations (#45905) 2022-05-10 10:56:44 -07:00
Naomi Carrigan 23b4be71d7
feat: release RWD from beta (#45865)
* feat: release RWD from beta

* feat: replace beta banner with legacy banner

* feat: update project links

* fix: cypress tests

* fix: map selector

* chore: legacy verbiage

* chore: remove isBeta flag

* fix: go back url verbiage

* feat: separate order for i18n

* fix: curriculum utils test

* fix: cypress

* tests: use data-cy for robustness

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-10 11:44:23 -05:00
Benjamin Rio 1457c362c1
fix(client): remove duplicate css properties (#45902) 2022-05-10 10:03:53 -05:00
Naveen 2d05f98430
feat(.github): add dependency review action (#45879)
* chore(deps): Included dependency review

> Dependency Review GitHub Action in your repository to enforce dependency reviews on your pull requests.
> The action scans for vulnerable versions of dependencies introduced by package version changes in pull requests,
> and warns you about the associated security vulnerabilities.
> This gives you better visibility of what's changing in a pull request,
> and helps prevent vulnerabilities being added to your repository.

https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement

* Update .github/workflows/dependency-review.yml

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2022-05-10 15:31:02 +01:00
Ilenia 60f87c348d
fix(curriculum): missing backtick in product landing page project tests (#45899) 2022-05-10 17:33:44 +07:00
Ilenia 2bebb92189
fix(curriculum): missing word and backticks 2022-05-10 12:11:31 +02:00
camperbot 668c7225fc
chore(i18n,learn): processed translations (#45893) 2022-05-09 22:11:48 -03:00
camperbot 4fbb3460e2
chore(i18n,docs): processed translations (#45892) 2022-05-09 22:10:53 -03:00
Oliver Eyton-Williams cf4b9a1557
feat: client overhaul proof of concept (#45844)
* chore: initial setup of web package

This is *not* a workspace, yet, because it would be nice to use the
latest React, but /client can't migrate (yet).

Having two React versions creates issues in workspaces since /.bin/next
gets hoisted to root... and finds the root React version :(

* feat: add config for next

* fix: use jsx-runtime for web linting

* chore: init curriculum-server with json-server

* chore: integrate curriculum-server with TS/eslint

* feat: add patch script

json-server doesn't like keys with '/'s in so, for now I'm just patching
them out.

This lets us keep a strong separation between this WIP and the rest of
the code.

* fix: use port 8000 to avoid conflicts

* feat: crude ISR demo using challenge pages

* feat: extend ISR demo to use params

* feat: return props for specific superblocks

* chore: re-organise folders

* refactor: put data fetching in a single module

* refactor: challenge page slightly

* feat: add link to test ISR

You can see that, if you run next dev, the linked page gets regenerated
whenever you navigate to it.  However, if you run next build that is no
longer the case and the page has to be reloaded for the user to see the
latest version.

The implication is that we'll need another method (Web worker, probably)
to detect if the page needs to be updated.

* feat: render static paths for rwd

* feat: add monaco Editor

* feat: send less data via props

Rather than sending superblocks, this now sends blocks. Next step, just
the challenge!

* fix: only send individual challenge's data

* feat: send /learn/stuff/<id> to the challenge page

* fix: redirect to path with trailing id

* fix: handle all possible path prefixes

* feat: add superblocks with trailing ids

* chore: rename block -> blockOrId

* chore: remove logs

* fix: return notFound if page id is missing

* chore: add a note about increasing TS strictness

* feat: serverside redirects

This should be a touch more performant, but mostly it separates the
concerns.

Since the server already has the responsibility of choosing what pages
to render, redirects fit naturally with its concerns.

* refactor: clean up param validation

* feat: create list of blocks in superblock

* feat: add challenge links to map

* feat: link to full path, not just id

* refactor: ensure props match getStaticProps

By specifying the props for GetStaticProps we ensure that it returns the
expected data and use InferGetStaticPropsType to get the type out again
for use in the component

* feat: improve and document dev experience

* refactor: separate routing from rendering

* refactor: extract routing logic into functions

* refactor: naming consistency

* refactor: move data wrangling into get-curriculum

* refactor: align blockOrId and id

* chore: remove the server from workspaces

* chore: remove the lock

* docs: paths

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

* chore: install before linting

* fix: create env.json before installing new client

* chore: ignore generated json file

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2022-05-09 11:30:15 -05:00
Huyen Nguyen fa59d4a107
chore(ui-components): simplify color tokens (#45848)
* chore: rename color tokens

* chore: clean up hover tokens

* docs: add a note on colors usage
2022-05-09 16:28:25 +03:00