Commit Graph

539 Commits

Author SHA1 Message Date
Ahmad Abdolsaheb
3a710d2cb1 chore(client): clean up GA (#40856) 2021-02-01 19:56:48 +05:30
Oliver Eyton-Williams
77158a533e fix: catch edge case of lang in path (#40826)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-01 19:18:56 +05:30
Shaun Hamilton
ab83d698f9 fix(client): give useful error in solutionform (#40225) 2021-02-01 19:04:04 +05:30
Shaun Hamilton
5539dbf086 feat(client): add project links to certificate (#40071)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-01 18:55:14 +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
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
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
Ahmad Abdolsaheb
7d41dd0e80 feat: update donation page copy (#40639) 2021-01-08 18:24:39 +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
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
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
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
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
Shaun Hamilton
e6b29dcc2c fix(client): fix modal heading CSS for light theme (#40106) 2020-11-02 18:46:04 +05:30
Ahmad Abdolsaheb
b2a11dcb72 feat: add back the forum nav item (#40060) 2020-10-22 21:57:41 +05:30
max-voronov
2ac34a9799 chore(client): refactor NotFoundPage (#39777) 2020-10-22 03:56:46 +05:30
Ahmad Abdolsaheb
7b6e32ca7c fix: show profile link when user signed in on landing page (#39983) 2020-10-22 03:50:22 +05:30
Ahmad Abdolsaheb
05fe520c0f feat: update footer sept (#40030)
* feat: update footer sept

* fix: typo and urls

Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2020-10-19 18:28:03 +09:00
Eli Carlin-Coleman
a834672437 Fix low-contrast CSS strings in code blocks (#39967) (#39987)
First noticed on the challenge "Divide the Grid Into an Area Template", text is hard to read in night mode due to low contrast in the CSS code block. Problem was discussed in issue #39967, and this change was proposed to boost contrast above the minimum acceptable ratio of 4.5:1.

This change only targets CSS code blocks in night mode, and only strings. I could not find code blocks in other languages with this issue, but they may exist.
This also does not target `.token.operator`, `.token.entity`, or `.token.url`. There is no issue here with contrast, but these classes do not include a background. A proposed future change could be to remove the background from `.token.string` as well, but this change is not made here, as current style guides recommend the background.
2020-10-16 14:52:16 +03:00
Oliver Eyton-Williams
89737e1406 refactor(learn): remove static prism css (#39981) 2020-10-15 18:13:51 +05:30
Ahmad Abdolsaheb
3106fe804f fix(client): unify client donations methods (#39562)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-10-14 15:53:26 +05:30
Oliver Eyton-Williams
38323f858f fix(client): update nanoid (#39960) 2020-10-13 17:24:46 +05:30
Oliver Eyton-Williams
35f43e8886 chore: update date-fns 2020-10-13 16:26:17 +05:30
Oliver Eyton-Williams
b9db30f7a1 refactor(client): move jest-dom into setup file 2020-10-12 14:11:52 +02:00