Commit Graph

594 Commits

Author SHA1 Message Date
Ismail Tlemcani
914ff44f74 fix(client): add validation to profile image URL (#41927)
* fix: fix broken image url after validation

* feat: add tests for a broken image url submission

* fix: reduce event related calls

* Update cypress/integration/settings/image-picture-check.js

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

* Update cypress/integration/settings/image-picture-check.js

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-23 16:08:12 +02:00
ChrisPrzR
d636bb8912 fix(client): update CSS variable values (#42197)
Update rgba instead of rgb to translucent colors and add hex value for --purple-mid
2021-05-21 12:55:33 +05:30
Lance
9c86168b2f fix: valid username lowercase (#42172)
* fix: valid username lowercase

* test: add test in the validate for reject uppercase characters

* test: add test in the cypress for check on uppercase characters and reject it.
2021-05-20 09:04:00 +02:00
Oliver Eyton-Williams
66dae77fc5 feat: use TypeScript in the client (#42124) 2021-05-18 00:23:41 +05:30
Kristofer Koishigawa
94d4b2f553 fix: navbar avatar height, background colors (#42076)
* fix: navbar avatar height

* fix: prevent avatar background change when hovered or focused
2021-05-11 00:15:16 +05:30
renovate[bot]
21dd80c47a chore(deps): update dependency prettier to v2.3.0 (#42074)
* chore(deps): update dependency prettier to v2.3.0

* chore: apply formating per prettier

* fix: correctly disable import/no-unresolved

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-10 08:48:49 -07:00
Mrugesh Mohapatra
7c4676d0a4 fix(client): quick-fix for cert claiming (#42055)
* chore: reinstate the quick-fix for cert claiming

This reverts commit d80d093c8b.

* feat: add progress to claim cert card
2021-05-07 12:39:42 -07:00
Mrugesh Mohapatra
d80d093c8b revert(client): add quick superblock cert claim steps
This reverts commit e8578341b5.
2021-05-07 02:39:38 +05:30
Shaun Hamilton
e8578341b5 feat(client): add quick superblock cert claim steps (#42031)
* feat(client): add quick superblock cert claim steps

* remove comments
2021-05-06 11:45:19 -07:00
Mrugesh Mohapatra
5cb3465a1d fix(i18n): ensure language redirects for Chinese traditional (#42020) 2021-05-06 20:35:27 +05:30
Ahmad Abdolsaheb
27c8d564e4 fix(client): replace Stripe with PayPal (#41924)
* feat: remove stripe payment option from client

* feat: remove stripe completely

* fix: remove last Stripe remnants

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-03 11:45:23 +03:00
Oliver Eyton-Williams
9be2fb9a10 fix: use lodash-es in the client (#41931) 2021-04-28 16:11:20 -05:00
Sem Bauke
20cbfce484 chore(client) remove contextual navigation (#41919) 2021-04-28 08:10:43 -05:00
Shaun Hamilton
d3f59e6d5d fix(dev): rename superBlock with v7 to certSlug (#41738)
* fix(dev): rename superBlock with v7 to slug

* improve name slug -> certSlug

* superBlockTitle -> superBlock

* correct teeny, tiny mistake

* fix: correct slug to certSlug in certLocation

* refactor currentCerts

* rename showCert cert -> certSlug and various
2021-04-23 22:29:17 +03:00
Michael Parkadze
081f79060d fix(client): update search results links to open in new tab (#41734) 2021-04-12 15:29:01 +07:00
Ahmad Abdolsaheb
d5d786049e feat(api): stripe checkout integration (#41666)
* feat: add api stripe checkout integration

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-04-02 15:33:34 +09:00
Oliver Eyton-Williams
740370eb60 refactor: explicit mocking for analytics (#41562)
The previous approach did avoid a fair number of jest.mock calls, but
made debugging the tests harder. If you don't know about the mapping
it's unclear why the imported module does not behave as normal.

By forcing the use of jest.mock it means that the answer to that
question is in the test you are working on.
2021-03-29 16:48:58 -07:00
Mrugesh Mohapatra
ad9b1f89d8 fix(api, client): update Gatsby, webpack & related things (#41452)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-25 12:13:43 -07:00
Oliver Eyton-Williams
92dfb3065c fix(tests): expand client testing for Espanol (#41574) 2021-03-25 21:25:13 +05:30
Nicholas Carrigan (he/him)
b0f6c4e7a1 revert: remove nowrap rule (2f0b9ec) (#41572)
Revert the white-space: nowrap rule introduced in commit
2f0b9ec4a5 which was breaking multi-
line code block rendering.
2021-03-24 23:29:50 +03:00
Oliver Eyton-Williams
963c3c5af5 fix(test): handle NavLinks for Chinese locale (#41566) 2021-03-24 08:11:19 -07:00
Patrick Franz
0190c19411 fix(client): code blocks overflowing parents (#41438) 2021-03-23 10:23:57 +05:30
Shaun Hamilton
cd722a0e7f fix(client): change repl.it validation to replit for migration (#41457) 2021-03-15 19:37:43 +05:30
Nicholas Carrigan (he/him)
f1c8a9825b fix(i18n,client): translatable cta url (#41384) 2021-03-12 17:14:54 -07:00
Mrugesh Mohapatra
6c91f81b0e chore(deps): upgrade eslint, prettier & related packages 2021-03-11 12:19:42 +05:30
Ahmad Abdolsaheb
aac49e9a40 fix(client): modernize stripe form (#41359)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-10 20:33:55 +05:30
Shaun Hamilton
36f58bcfdf fix(client): update store after any submission (#41329) 2021-03-05 02:31:18 +05:30
Mrugesh Mohapatra
b5f4754e2a fix: re-revert the API decoupling (#41263)
* fix(api): decouple api from curriculum

This reverts commit 8f0e441644 and
introduces the implementations from #40703.

* fix(gitpod): add curriculum build to GitPod

This reverts commit 706d70f58d and
introduces implementations from #41234.

* docs: update DevOps manual for api change (#41259)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-25 12:02:35 -08:00
Mrugesh Mohapatra
8f0e441644 revert(api): decouple api from curriculum
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30
Sem Bauke
5a3903f4ec fix(client) fixed icon height in containers (#41086)
* fix for the containers not having a fixed height and icon sizes
2021-02-24 12:50:05 +01:00
Sachin Diwate
5fa7d2ec14 fix(client): Private timeline doesn't hide certs #41171 (#41224) 2021-02-23 09:02:15 -06:00
manziEric
0c28a2c755 fix: update notification bar z-index (#41160)
* fix: update notification bar z-index

* fix: update notification bar z-index to 100

* fix: update z-index to 100 in flash.css
2021-02-22 13:12:24 +03:00
Oliver Eyton-Williams
c077ffe4b9 feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
Shaun Hamilton
d70e33c1d2 feat(i18n): url validation translations (#41190) 2021-02-20 10:32:44 +05:30
Shaun Hamilton
b2ec1a3ef4 feat(client): add common links to formValidators regex (#41094)
* feat(client): add repl join link to formValidators regex

* add fCCRegex to validators
2021-02-19 12:43:54 +01:00
Shaun Hamilton
fa8163fe7a fix(client): add t to ShowProjectLinks props (#41139)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-17 21:15:32 +05:30
Ahmad Abdolsaheb
05a97d19fb fix: adjust donation confirmation text (#41140) 2021-02-16 23:52:52 +03:00
Madan Kumar
b083b58913 fix(client): remove extra 'hours' from /donate page (#41113) 2021-02-16 10:34:00 +01:00
Oliver Eyton-Williams
97fcaa693f refactor: only use dasherized superBlock (#41067) 2021-02-13 10:36:04 +05:30
Nicholas Carrigan (he/him)
1e0c09faff fix(i18n, client): use placeholder on map (#41064)
Modifies the translation flow for the certification buttons on the
learn/landing map to pass the superBlock title to the string as a
placeholder. This will allow translators to restructure the order
of the sentence (i.e. certification and hours) based on language-
specific grammar structures.
2021-02-12 10:16:11 +01:00
Oliver Eyton-Williams
6c1f6bebed feat: label un-audited challenges (#41002)
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-11 18:10:32 +05:30
Kristofer Koishigawa
1e9dc8cea5 fix: remove algolia indices and urls from translations (#41043) 2021-02-11 00:11:51 +05:30
Nicholas Carrigan (he/him)
e195eb1ebe fix(tools): better tests for navlinks (#41021)
Fixes the tests for the NavLinks component to remove the need
for magic numbers when travelling the DOM tree.
2021-02-10 17:02:00 +05:30
Shaun Hamilton
f157eda1af fix(client): allow editor links for Py submissions (#41036)
* fix(client): allow editor links for Py submissions

* add isEditorLinkAllowed to PropTypes
2021-02-10 17:01:08 +05:30
Kelvin Sánchez
0a7278774e fix(client): remove external prop on 'donate' link (#41023) 2021-02-10 05:04:10 +05:30
Kristofer Koishigawa
3b0ebb3dcb feat(client): translation status banner (#41001)
Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-02-09 13:26:18 +05:30
Nicholas Carrigan (he/him)
1e60623c8b feat(i18n, client): replace language select (#40936)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-09 11:23:40 +05:30
Ahmad Abdolsaheb
3c7979692b fix(client): block donation modal (#40899)
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2021-02-08 12:58:36 +05:30
Sembauke
40861a8a09 fix(client): remove outline: none on Menu button (#40914) 2021-02-06 15:07:43 +05:30
Shaun Hamilton
ea1c132868 feat(client): add github to validation list (#40894) 2021-02-04 12:14:35 +05:30