Commit Graph
170 Commits
Author SHA1 Message Date
a563b3b4e4 feat(curriculum): CSS Box Model project (#42182)
* feat(curriculum): add initial steps

Add the initial step files for this project.

* feat(curriculum): write test texts

Add some test text (tests coming soon).

* feat: tests for HTML bits

Add tests for the HTML bits - CSS holding off until parser lands.

* feat: CSS tests

New CSS parser works great!

* fix: link href

Fix the href in the boilerplate.

* chore: apply suggestions from code review

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

* fix: clarify link element

* fix: optional chaining

* fix: remove unused meta props

* fix: update helper and fix tests

* chore: apply tom's review suggestions

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

* chore: no console logs

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

* feat: intro

Add introductory text, tweak instructions a bit.

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-09-10 17:17:03 +01:00
camperbot 654526c942 chore(i18n,learn): update translations (#43421) 2021-09-09 07:15:47 -07:00
camperbot 430719f56a chore(i18n,client): processed translations (#43404) 2021-09-08 22:25:23 +05:30
fa84f6c449 feat(curriculum): css picasso painting (#42436)
* feat: generating steps

- Steps 1-32 done.
- Steps 33-80 done.
- Instructions 1-26 done.
- Instructions 27-61 done.
- More steps.
- Instructions 62-88 done.
- Clarify instructions for new concepts.
- build fixes
- Audit instructions on live site.

* fix: add helpCategory

* feat: write tests

* feat: add intro

* chore: use the right selectors

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

* chore: cannot read property Shaun of undefined :)

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

* feat: Shau-ptional chaining

* chore: apply shaun's review suggestions

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

* fix: uncross my wires

* chore: apply shaun's review suggestions

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

Co-authored-by: gikf <60067306+gikf@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-09-07 21:49:42 +02:00
camperbot b952bbb179 chore(i18n,learn): update translations (#43386) 2021-09-05 20:14:23 +02:00
Ahmad AbdolsahebandShaun Hamilton 326983f878 Update client/i18n/locales/english/trending.json
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-09-02 16:58:25 +05:30
Ahmad Abdolsaheb 1ca2f3598a feat(client):add july 2021 footer 2021-09-02 16:58:25 +05:30
camperbot 313b2baa20 chore(i18n,learn): update translations (#43323) 2021-08-27 18:23:35 +02:00
camperbot a973b29042 chore(i18n,docs): update translations (#43322) 2021-08-27 18:23:06 +02:00
miyaliu666 c96a426e45 delete an extra word in Chinese trending articles (#43319) 2021-08-27 12:17:56 +05:30
camperbot 1db205cdab chore(i18n,learn): update translations (#43307) 2021-08-26 20:57:13 +05:30
Nicholas Carrigan (he/him) b9d08f2fea feat: locale specific help posts (#43290) 2021-08-25 21:43:40 +05:30
camperbot 867044aa63 chore(i18n,client): processed translations (#43299) 2021-08-25 21:41:33 +05:30
camperbot f8b41a34ab chore(i18n,client): processed translations (#43276) 2021-08-24 16:39:35 +02:00
muneeb-121 b3cae635e1 fix: typo intro.json 2021-08-24 16:05:17 +02:00
Mohamed Naufal AandIlenia 498805c235 fix(client): use en top contributor link for i18n (#43248)
* Changes made as directed in the instructions

* second revision

* Third revision

* Cypress Test updated

* cypress test updation

* directly linking to top-contributors news page

Co-authored-by: Ilenia <nethleen@gmail.com>
2021-08-23 16:50:28 +01:00
miyaliu666 5ecfbcc5d4 Update trending.json 2021-08-23 18:33:55 +08:00
Madhuri Ramakrishnan 3c71593931 fix(client): "help translate" link for Italian & Portuguese (#43254) 2021-08-20 08:34:17 -07:00
camperbot ec9034751e chore(i18n,learn): update translations (#43190) 2021-08-20 09:03:00 +02:00
c2a11ad00d feat: add 'back/front end' in curriculum (#42596)
* chore: rename APIs and Microservices to include "Backend" (#42515)

* fix typo

* fix typo

* undo change

* Corrected grammar mistake

Corrected a grammar mistake by removing a comma.

* change APIs and Microservices cert title

* update title

* Change APIs and Microservices certi title

* Update translations.json

* update title

* feat(curriculum): rename apis and microservices cert

* rename folder structure

* rename certificate

* rename learn Markdown

* apis-and-microservices -> back-end-development-and-apis

* update backend meta

* update i18n langs and cypress test

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

* fix: add development to front-end libraries (#42512)

* fix: added-the-word-Development-to-front-end-libraries

* fix/added-the-word-Development-to-front-end-libraries

* fix/added-word-development-to-front-end-libraries-in-other-related-files

* fix/added-the-word-Development-to-front-end-and-all-related-files

* fix/removed-typos-from-last-commit-in-index.md

* fix/reverted-changes-that-i-made-to-dependecies

* fix/removed xvfg

* fix/reverted changes that i made to package.json

* remove unwanted changes

* front-end-development-libraries changes

* rename backend certSlug and README

* update i18n folder names and keys

* test: add legacy path redirect tests

This uses serve.json from the client-config repo, since we currently use
that in production

* fix: create public dir before moving serve.json

* fix: add missing script

* refactor: collect redirect tests

* test: convert to cy.location for stricter tests

* rename certificate folder to 00-certificates

* change crowdin config to recognise new certificates location

* allow translations to be used

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

* add forwards slashes to path redirects

* fix cypress path tests again

* plese cypress

* fix: test different challenge

Okay so I literally have no idea why this one particular challenge
fails in Cypress Firefox ONLY. Tom and I paired and spun a full build
instance and confirmed in Firefox the page loads and redirects as
expected. Changing to another bootstrap challenge passes Cypress firefox
locally. Absolutely boggled by this.

AAAAAAAAAAAAAAA

* fix: separate the test

Okay apparently the test does not work unless we separate it into
a different `it` statement.

>:( >:( >:( >:(

Co-authored-by: Sujal Gupta <55016909+heysujal@users.noreply.github.com>
Co-authored-by: Noor Fakhry <65724923+NoorFakhry@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-08-13 21:57:13 -05:00
DanielRosa74 b51d0d72f5 fix(i18n): Fixing a typo in line 170 (#43187) 2021-08-12 12:59:05 +01:00
camperbot c9b9175d1d chore(i18n,learn): update translations (#43155) 2021-08-09 13:17:06 -07:00
b623c340a9 feat(client): add google pay (#43117)
* feat: initial button setup client

* feat: rename walletsButton to .tsx

* chore: typescriptize wallet component

* chore: re-add keys to config, env, etc + check in gatsby-node

* feat: refactor donate form and wallet component

* feat(client): set labels correctly

* chore: add stripe package back to server

* chore: add stripe back to allowed paths

* chore: copy donate.js code from PR #41924

* feat: attempt to make back end work

* feat: make redux work

* feat: clean up

* feat: hokify

* feat: add error handling

* fix: back-end should be working

* fix: type errors

* fix: clean up back-end

* feat:addd styles

* feat: connect the client to the api

* feat: display wallets button everywhere

* test: add stripe key for cypress action

* test: fix for cypress tests

* test: cypress tests again

* test: maybe?

* test: more

* test: more

* test: more

* test

* askdfjasklfj

* fix: tests finally?

* revert: remove space from cypress yaml action

* remove logs

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-08 23:22:25 +03:00
camperbot 1f4972c6f5 chore(i18n,learn): update translations (#43139) 2021-08-07 16:55:07 +01:00
camperbot 48fee9232b chore(i18n,learn): update translations (#43131) 2021-08-06 08:04:24 -07:00
DanielRosa74 038ac3e7b9 feat(client,i18n): update motivation.json for Portuguese (#43121) 2021-08-05 21:23:47 +02:00
camperbot e389517800 chore(i18n,learn): update translations (#43126) 2021-08-05 07:30:35 -07:00
Tom 7b27821871 feat(curriculum): add icon for rdbms (#43109)
* feat(curriculum): add icon for rdbms

* fix: add better behaved icon
2021-08-04 13:22:58 -07:00
camperbot 3350cb4522 chore(i18n,learn): update translations (#43088) 2021-08-02 07:05:00 -07:00
Oliver Eyton-Williams e118dda13a fix: order imports and remove circular dependencies (#41824)
* fix: remove circular dependency

redux depended on templates/Challenges/redux and vice versa.  This
meant that import order mattered and confusing bugs could arise.

(cherry picked from commit 7d67a4e70922bbb3051f2f9982dcc69e240d43dc)

* feat: require imports to be in alphabetical order

Import order generally does not matter, but there are edge cases
(circular  imports and css imports, for example) where changing order
changes behaviour

(cherry picked from commit b8d1393a91ec6e068caf8e8498a5c95df68c2b2c)

* chore: order imports

* fix: lift up challenge description + title comps

This brings the classic Show closer to the others as they
now all create the description and title components

* fix: remove donation-saga/index circular import

(cherry picked from commit 51a44ca668a700786d2744feffeae4fdba5fd207)

* refactor: extract action-types from settings

(cherry picked from commit 25e26124d691c84a0d0827d41dafb761c686fadd)

* fix: lint errors

* feat: prevent useless renames
2021-08-02 08:39:40 -05:00
camperbot ffdc8315f6 chore(i18n,learn): update translations (#43077) 2021-07-30 15:31:19 +02:00
camperbot 43308fd612 chore(i18n,client): processed translations (#43071) 2021-07-29 18:45:36 +05:30
camperbot aced643bc2 chore(i18n,learn): update translations (#43045) 2021-07-28 10:36:53 -05:00
Ko b96132449b Add missing word in APIs and Microservices intro (#43030)
* Add missing word in APIs and Microservices intro

* Updated the word 'back end'
2021-07-28 09:28:50 +02:00
Shaun Hamilton 9731ea31b8 fix(client): fix i18n external locations in nav (#42995) 2021-07-28 07:31:07 +07:00
camperbot 946f6847a7 chore(i18n,learn): update translations (#43032) 2021-07-27 08:24:26 -07:00
camperbot c5963374cb chore(i18n,client): processed translations (#43007) 2021-07-25 22:54:39 +05:30
camperbot 80cddc7731 chore(i18n,learn): update translations (#42983) 2021-07-23 15:03:23 +02:00
Shaun HamiltonandNicholas Carrigan 06b1e584f9 feat(client): add new coder survey link to learn (#42955)
* feat(client): add new coder survey link

* add translation key to all locales

* close i18n tags

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-07-23 08:03:25 +02:00
camperbot c3eb8189af chore(i18n,learn): update translations (#42956) 2021-07-21 16:30:16 +01:00
Ilenia 3c29cfab1b feat(i18n, learn): adding first few motivational quotes and compliments in italian (#42935)
* i18n Italian Compliements

* first 10 motivational quotes for italian
2021-07-19 21:50:46 -05:00
camperbot 25f145b5c8 chore(i18n,learn): update translations (#42929) 2021-07-19 16:23:54 +02:00
camperbot 3c62525a44 chore(i18n,client): processed translations (#42917) 2021-07-19 10:50:07 +05:30
Mrugesh Mohapatra 017ae24894 fix(client): add if private warning to the name (#42901)
* fix(client): add if private warning to the name

* fix(client): add if private warning to the name
2021-07-16 16:40:14 +01:00
camperbot 8871128bec chore(i18n,client): processed translations (#42887) 2021-07-16 09:07:13 +01:00
Shaun HamiltonandOliver Eyton-Williams 6ca6d9950c feat(client): improve SuperBlock cert claiming UX (#41147)
* feat(client): improve SuperBlock cert claiming UX

* broken: add certCard foundation

* broken: add TODO comments for scatter-brain

* restructure stepsToClaimSelector

* add api-server verifyCanClaimCert logic

* temp: correct verifyCanClaim URL

* move GET logic to CertificationCard, remove console.logs

* add error handling, and navigation logic

* correct verification logical flow

* fix completion-epic updates, fix cert verify

* update widget to button, disable button unless verified

* working: refactor CertChallenge with hook state

* add StepsType

* update Honesty snapshot

* add DonationModal to SuperBlockIntro

* disable Claim Cert button unless also isHonest

* prevent warning when viewing cert

* test: use navigate in Modal to return to hash

* test: replace gatsby.navigate with reach/router.navigate

* add propTypes

* fix: rename propTypes -> prop-types

* use react-scrollable-anchor to squash modal bug

* update location parser type

* open-source Oliver's suggestion

* fix superblock title

* add claim-cert-from-learn tests

* use larger tests

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

* fix some cypress stuff

* fix ShowCertification cypress test

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-07-15 23:51:27 +09:00
camperbot 2f8c5619ff chore(i18n,client): processed translations (#42856) 2021-07-14 19:52:21 +05:30
RawandDevandShaun Hamilton 6fac38ef7d fix(curriculum): improve seo with better-used terms (#42848)
* update main JS introduction

* update note

* update es6 with rephrasing

* intro of basic algo scripting remove unnecessary comma

* oop intro removing unnecessary phrase

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

Done!

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: Shaun Hamilton <shauhami020@gmail.com>
2021-07-13 22:27:44 +02:00
camperbot ba828f9040 chore(i18n,client): processed translations (#42831) 2021-07-12 23:37:14 +02:00
camperbot 69c6105531 chore(i18n,client): processed translations (#42809) 2021-07-09 15:11:11 +02:00