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
Oliver Eyton-Williams
b0e3d7369b
fix(learn): reload when challenge tests change ( #39832 )
2020-11-02 11:22:01 -06:00
Shaun Hamilton
e6b29dcc2c
fix(client): fix modal heading CSS for light theme ( #40106 )
2020-11-02 18:46:04 +05:30
Oliver Eyton-Williams
e4a9b2988c
feat: update Ask for help ( #40114 )
...
* feat: get helpCategory from frontmatter
* DEBUG: sets all the projects to JavaScript
This is just so the tests pass, it'll need to go.
* fix: updated helpCategoryMap categories
* fix: added Python to helpCategory frontmatter key
Co-authored-by: Randell Dawson <rdawson@onepathtech.com >
2020-10-30 14:10:34 -05:00
Shaun Hamilton
de6e85853f
refactor(client): make ShowCertification functional ( #39735 )
2020-10-23 12:15:56 +02:00
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
a39235be83
feat(learn): allow word breaks in tool panel ( #39986 )
...
This is motivated by a desire to remove <wbr>s from the test texts
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com >
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com >
2020-10-16 16:20:50 +05:30
Oliver Eyton-Williams
89737e1406
refactor(learn): remove static prism css ( #39981 )
2020-10-15 18:13:51 +05:30
Oliver Eyton-Williams
a71150074d
fix(learn): preserve whitespace in the tool panel ( #39973 )
2020-10-14 21:40:15 +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
Mrugesh Mohapatra
e666419a8f
fix(client): address new warnings from linter
2020-10-12 15:10:42 +05:30
Oliver Eyton-Williams
ed2840cb1c
refactor: use dashedName over dasherize(title)
2020-10-06 23:10:08 +05:30
max-voronov
17a6a8868b
Refactor Honesty ( #39726 )
...
* remove unused prop from Honesty component
* convert Honesty into a functional component
2020-10-01 09:11:45 -05:00
Ahmad Abdolsaheb
4e51e845bb
fix: remove duplicate of borderColorPicker ( #39732 )
2020-09-30 14:56:30 +05:30
max-voronov
55f3df293a
chore(client): refactor ImageLoader ( #39691 )
2020-09-30 14:52:20 +05:30
Kristofer Koishigawa
0a0fe2bae5
fix: suppress algolia errors ( #39703 )
2020-09-27 16:25:11 +05:30
Ahmad Abdolsaheb
1a66eac990
feat: render nav conditionally
2020-09-24 17:48:29 +05:30
Tom
422bacd15d
feat: add button to add cert to LinkedIn profile ( #39466 )
2020-09-24 17:33:11 +05:30
Oliver Eyton-Williams
0a4316b0ae
fix(client): update eslint and fix issues
...
The eslint config now includes rules that have been added to Gatsby.
This uncovered some problems with missing labels that have been fixed.
2020-09-24 16:29:55 +05:30
Oliver Eyton-Williams
4f0959df1d
fix: use position: fixed to avoid forcing Cypress ( #39605 )
2020-09-23 20:45:21 +05:30
Oliver Eyton-Williams
dd7fba4558
fix(learn): ignore missing editable regions
...
They should never be missing, so that bug should be squashed. However,
for now, this gracefully deals with their absence.
2020-09-22 14:15:00 +05:30