Commit Graph

1531 Commits

Author SHA1 Message Date
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
Sky020
a86b220eb7 chore: remove isRequired from curriculum files 2020-09-21 20:51:46 +05:30
Twaha Rahman
984f311061 fix(Client): Use font-display: fallback to avoid FOIT (#39628) 2020-09-21 16:06:44 +03:00
Jarson Abenojar
66630715ee fix(learn): update 'Whitelist' to 'Access List' for Atlas setup (#39626)
Mongodb has been updated to call this the 'IP Access List'
2020-09-19 23:03:23 +01:00
Hassaan Pasha
80438cac3e feat(client, learn): add helper functions for common validation operations (#38605)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-09-17 19:38:01 +05:30
Lasse Jørgensen
45520cd7c5 fix(editor): disable suggestion actions squiggly-hint (#39596) 2020-09-17 16:18:04 +05:30
Shaun Hamilton
bdc29c2e49 fix(client): rename certification for typo (#39567)
* fix(client): rename legacy cert

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-09-16 19:18:01 +02:00
Oliver Eyton-Williams
39b4aff4f8 fix(client): return frame-runner err correctly 2020-09-16 11:54:15 +05:30
Ahmad Abdolsaheb
9d647ee90c fix: load editor tabs conditionally on mobile 2020-09-16 11:54:14 +05:30
Oliver Eyton-Williams
1ce354a179 fix(client): show editor for React challenges 2020-09-16 11:54:14 +05:30
Ahmad Abdolsaheb
a500279036 fix: editor resize (#39542) 2020-09-16 11:54:13 +05:30
Ahmad Abdolsaheb
9b1077acf5 fix: render editor tabs if SHOW_UPCOMING_CHANGES is 'true' (#39513) 2020-09-16 11:54:13 +05:30