Commit Graph

1669 Commits

Author SHA1 Message Date
Nicholas Carrigan (he/him)
8867e2dcbc feat(client): modify breadcrumb design (#40835) 2021-02-01 10:03:36 +05:30
Tom
c56a9c966f fix(client): address nav UX issues (#40823)
Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:41 +05:30
Tom
1875984423 fix(client): remove auto scroll on superBlock page (#40828) 2021-01-31 12:15:41 +05:30
Ahmad Abdolsaheb
df014a4715 fix(client): add visual hierarchy to card blocks (#40822) 2021-01-31 12:15:41 +05:30
Mrugesh Mohapatra
6a09b9bce2 fix(client): refactor dynamic URLs based on lang (#40824) 2021-01-31 12:15:41 +05:30
Kristofer Koishigawa
187e3ec973 feat: update footer links and search indices (#40818) 2021-01-31 12:15:40 +05:30
Nicholas Carrigan (he/him)
58c6c54c67 feat(client): redesigned navigation (#40709)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2021-01-31 12:15:40 +05:30
Kristofer Koishigawa
9014fff6c4 fix: touch up icons and UI (#40809) 2021-01-31 12:15:40 +05:30
Kristofer Koishigawa
9ec8aa3db4 fix: update intro pages and learn map (#40745) 2021-01-31 12:15:39 +05:30
Kristofer Koishigawa
2615490bac fix(learn): update copy for cert landing pages
* fix: update copy for certification landing pages (#40744)

* fix: broken ci tests (#40746)

Co-authored-by: Quincy Larson <QuincyLarson@users.noreply.github.com>
2021-01-31 12:15:39 +05:30
Ahmad Abdolsaheb
3ec468be38 feat: optimize head tags (#40630)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2021-01-31 12:15:39 +05:30
Tom
625469c82f feat: improve ui/ux learn map (#40579)
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2021-01-31 12:15:39 +05:30
Tom
14ca6beb0a fix: naming scheme for messages in translation files (#40642)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-01-31 12:15:38 +05:30
Tom
072a7ce6c6 feat(i18n): translate server messages (#40626) 2021-01-31 12:15:38 +05:30
Nicholas Carrigan (he/him)
a888b476a9 fix(i18n): apply unused translations (#40599)
* fix: Apply unused translations

Applies the following unused translation keys
(discovered with script from #40585):
- HeatMap uses plural form of points unless points=1
- Camper uses plural form of points unless points=1
- DeleteModal uses delete title instead of button text
- UpdateEmail page uses verify email translation correctly

Still unused:
- buttons.reset-lesson (replaced by reset-code?)
- settings.username validation error messages (loaded dynamically)
- flash messages (sent from server?)
- donate.additional (removed from page, discussed to keep this key)

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* revert: Undo manual plurality

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: use buttons.reset-lesson key

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2021-01-31 12:15:37 +05:30
Mrugesh Mohapatra
9381d259b6 fix(i18n): use withPrefix for custom paths (#40591) 2021-01-31 12:15:36 +05:30
nhcarrigan
03fa21a565 feat(client): Translatable donation link
Replaces the "other ways to donate" link with a
swappable translation token - allowing us to use
localised versions of the news article when
they are available.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:36 +05:30
nhcarrigan
994b4c27df feat(client): Translatable footer links
Modifies the translation schema to allow the
footer links (such as `about`) to be replaced
based on the client locale. Updates the snapshot
for the `Footer` component to reflect the changes.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:36 +05:30
Tom
5950a397e6 fix: i18n new donate text (#40584) 2021-01-31 12:15:36 +05:30
Nicholas Carrigan (he/him)
0de8dcdade feat(client): Add news translation (#40577) 2021-01-31 12:15:35 +05:30
Mrugesh Mohapatra
1e4c5fd6f0 fix: update donate page text options 2021-01-31 12:15:35 +05:30
Kabindra Shrestha
ac3d762bb5 fix(learn): split and simplified learn map (#39154) 2021-01-31 12:15:35 +05:30
Mrugesh Mohapatra
77c46dba2c fix(i18n): redirect based on Referer header (#40512)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-31 12:15:34 +05:30
Mrugesh Mohapatra
28d3319ba7 feat: add redirects after authentication 2021-01-31 12:15:33 +05:30
Mrugesh Mohapatra
ec5b250d13 feat: add scaffolding for chinese client 2021-01-31 12:15:33 +05:30
Tom
3978c6be28 feat: i18n user interface (#40306)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-31 12:15:32 +05:30
Ahmad Abdolsaheb
f2af1cd77e fix: update SEO on landing page (#40670) 2021-01-15 20:09:59 +05:30
Ahmad Abdolsaheb
42e6fa87c7 fix: resolve paypal subscription error (#40641) 2021-01-15 19:31:39 +05:30
Oliver Eyton-Williams
ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00
Ahmad Abdolsaheb
7d41dd0e80 feat: update donation page copy (#40639) 2021-01-08 18:24:39 +05:30
Eric Leung
fc17a816cb fix(tool-panel): unify help option casing (#40608) 2021-01-05 12:08:10 +05:30
Ahmad Abdolsaheb
405c9f96e1 feat: add donation options to donors alert and donation page footer (#40498)
* feat: add donation options to donors alert and donation page footer

* Update client/src/components/Donation/DonationOptionsText.js

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>

* Update client/src/components/Donation/DonationOptionsText.js

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>

* fix: clean up

* fix: remove comments

* feat: make the component declerative

* feat: move donation text components to one component

* feat: add cypress tests for donate page

* Update cypress/integration/learn/donate/donate-page-default.js

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-12-28 13:14:16 -06:00
Ikko Ashimine
cc19b6743b fix(client): comment typo fixed (#40535)
occured -> occurred
2020-12-28 15:51:53 +09:00
Paulson J Paul
decb879694 fix(client): better contrast for code sections when selected (#40461)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-12-21 21:16:33 +05:30
Ahmad Abdolsaheb
26bb9a4e21 feat: isolate donation views (#40383)
* feat: capitalize all donation cats

* feat: isolate donation page views from donation actions
2020-12-07 14:35:28 +01:00
Ahmad Abdolsaheb
2959196b35 feat: update title meta (#40362) 2020-12-07 11:15:11 +01:00
Ahmad Abdolsaheb
080154b34f fix: adjust ga value for stripe modal (#40360) 2020-12-07 10:49:20 +01:00
Ahmad Abdolsaheb
bfc4c33b0c fix: remove unused PAYPAL_SUPPORTERS var (#40361) 2020-12-01 14:51:24 +01:00
Oliver Eyton-Williams
0bd52f8bd1 Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00
Joe
a07f84c8ec feat(learn): expanded introduction to provide clarity (#40304)
* expanded a bit to transition into the tutorial

* Update client/src/pages/learn/machine-learning-with-python/how-neural-networks-work/index.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-11-27 16:13:08 +00:00
Ahmad Abdolsaheb
00849387c0 feat: remove all donation options on /donate but $5 (#40309) 2020-11-24 21:00:12 -06:00
Nullaferius
76763272c1 removed background color from offline-warning.css and added wrapper class alert-info (#40237)
* fixed issue offline warning message is hard to read in dark mode

* Update client/src/components/OfflineWarning/OfflineWarning.js

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

* Update client/src/components/OfflineWarning/OfflineWarning.js

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2020-11-16 14:32:05 +03:00
Ashraf Nazar
9831df18e0 feat(profile): Add Top Contributor badge feature (#38348)
Co-authored-by: Twaha Rahman <39026437+Twaha-Rahman@users.noreply.github.com>
Co-authored-by: Twaha Rahman <mahi6703890@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-11-16 13:49:45 +05:30
rolland patrice
f06b825a1c Bug(learn) - List item's font size larger than surrounding text (#40224)
* #40220 Bug(learn) - List item's font size larger than surrounding text

* #40220 move description css in challenge-description.css

* Update client/src/templates/Challenges/components/challenge-description.css

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2020-11-13 13:56:36 -06:00
Erik Krogh Kristensen
11dfe9274f fix catastrophic backtracking when removing HTML comments (#40223)
* fix catastrophic backtracking when removing HTML comments

The regexp `/<!--(.|\s)*?-->/g` can experience catastrophic backtracking while matching a string like `<!--                                           -- >` (notice how it does not end with `-->`).    

[You can see the catastrophic backtracking in action here](https://regex101.com/r/2jvwFi/1/debugger). 

This is because both `.` and `\s` matches the space character, and there are therefore a large number of possible ways for `(.|\s)*` to match a long sequence of spaces.  
The regexp evaluator is greedy, and the problem therefore only exists when the string does not match the regexp. 

The fix is simply to remove the ambiguity such that there is only one possible way for the regexp to match a sequence of white-space.

* Update client/src/utils/curriculum-helpers.js

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-11-12 08:20:34 -08:00
Oliver Eyton-Williams
b2e2f33cf1 feat(api): allow redirects with a returnTo param (#40161) 2020-11-07 13:35:25 +05:30
Ahmad Abdolsaheb
ca369b8585 feat: update donation plans on donate page. (#40102)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-11-06 17:00:14 +05:30
acenturyandabit
14b7b8f7a0 feat(learn): Flesh out the Responsive Web Design Stub (#39663)
* Flesh out the Responsive Web Design Stub

* Apply suggestions from code review

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

* Update client/src/pages/learn/responsive-web-design/index.md

* Add RandallDawson's verbiage changes

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2020-11-04 17:35:42 -08:00
dipayanDebTheCoder
56ad1c7d60 feat(client): add show solution button in TimeLine (#40120)
* feat: add show solution button in TimeLine

* feat: added tests for CertificateSettings and TimeLine

* feat: view button only for projects

* feat: view button visible only for projects
2020-11-04 08:40:56 -06:00
Kristofer Koishigawa
fdcf657d93 fix: qa project links on settings page (#40169) 2020-11-04 14:01:57 +05:30