Commit Graph

2156 Commits

Author SHA1 Message Date
Mrugesh Mohapatra
e666419a8f fix(client): address new warnings from linter 2020-10-12 15:10:42 +05:30
dependabot[bot]
cce1355efa chore(deps): bump gatsby-plugin-postcss from 2.3.12 to 2.3.13 in /client
Bumps [gatsby-plugin-postcss](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-postcss) from 2.3.12 to 2.3.13.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-postcss/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-postcss@2.3.13/packages/gatsby-plugin-postcss)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 20:16:31 +00:00
dependabot[bot]
221a822009 chore(deps): bump axios from 0.19.2 to 0.20.0 in /client
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.20.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 20:12:28 +00:00
dependabot[bot]
20867256fb chore(deps-dev): bump autoprefixer from 9.7.6 to 9.8.6 in /client
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.7.6 to 9.8.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.7.6...9.8.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 19:37:11 +00:00
dependabot[bot]
82b028542f chore(deps): bump prismjs from 1.21.0 to 1.22.0 in /client
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.22.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 19:28:59 +00:00
dependabot[bot]
551f0ca6c7 chore(deps): bump typescript from 3.8.3 to 4.0.3 in /client
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.3...v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 17:50:17 +00:00
dependabot[bot]
4f520a2144 chore(deps): bump sanitize-html from 1.27.4 to 2.1.0 in /client
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 1.27.4 to 2.1.0.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/1.27.4...2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 18:25:34 +00:00
dependabot[bot]
e9bfd68ec7 chore(deps): bump react-helmet from 5.2.1 to 6.1.0 in /client
Bumps [react-helmet](https://github.com/nfl/react-helmet) from 5.2.1 to 6.1.0.
- [Release notes](https://github.com/nfl/react-helmet/releases)
- [Changelog](https://github.com/nfl/react-helmet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nfl/react-helmet/commits/6.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 18:22:27 +00:00
dependabot[bot]
c198578303 chore(deps-dev): bump monaco-editor-webpack-plugin from 1.9.0 to 1.9.1
Bumps [monaco-editor-webpack-plugin](https://github.com/Microsoft/monaco-editor-webpack-plugin) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/Microsoft/monaco-editor-webpack-plugin/releases)
- [Commits](https://github.com/Microsoft/monaco-editor-webpack-plugin/compare/v1.9.0...v1.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 17:24:06 +00:00
dependabot[bot]
c3acbc8692 chore(deps): bump @fortawesome/react-fontawesome in /client
Bumps [@fortawesome/react-fontawesome](https://github.com/FortAwesome/react-fontawesome) from 0.1.9 to 0.1.11.
- [Release notes](https://github.com/FortAwesome/react-fontawesome/releases)
- [Changelog](https://github.com/FortAwesome/react-fontawesome/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/react-fontawesome/compare/0.1.9...0.1.11)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 17:18:12 +00:00
Mrugesh Mohapatra
b80f4da09d chore(deps): update packages on client 2020-10-10 21:54:43 +05:30
dependabot[bot]
cd8a4876d3 chore(deps): bump gatsby from 2.24.60 to 2.24.73
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.24.60 to 2.24.73.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.24.60...gatsby@2.24.73)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 20:41:10 +00:00
dependabot[bot]
7fdd9591be chore(deps): bump gatsby-transformer-remark from 2.8.35 to 2.8.38
Bumps [gatsby-transformer-remark](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-remark) from 2.8.35 to 2.8.38.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-transformer-remark/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-remark@2.8.38/packages/gatsby-transformer-remark)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 20:18:33 +00:00
dependabot[bot]
ca8b03113e chore(deps): bump gatsby-plugin-manifest from 2.4.29 to 2.4.34
Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 2.4.29 to 2.4.34.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@2.4.34/packages/gatsby-plugin-manifest)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 20:08:08 +00:00
dependabot[bot]
6c7ec6b34f chore(deps): bump @fortawesome/fontawesome-svg-core
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome) from 1.2.30 to 1.2.32.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 20:00:09 +00:00
dependabot[bot]
65fa4055d0 chore(deps): bump gatsby-plugin-create-client-paths
Bumps [gatsby-plugin-create-client-paths](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-create-client-paths) from 2.3.11 to 2.3.13.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-create-client-paths/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-create-client-paths@2.3.13/packages/gatsby-plugin-create-client-paths)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 19:41:54 +00:00
dependabot[bot]
1518e5e4c1 chore(deps): bump gatsby-source-filesystem from 2.3.30 to 2.3.34
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.3.30 to 2.3.34.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.3.34/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 19:09:44 +00:00
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
Oliver Eyton-Williams
9718244431 fix: watch curriculum changes 2020-09-29 22:09:02 +02:00
Kristofer Koishigawa
0a0fe2bae5 fix: suppress algolia errors (#39703) 2020-09-27 16:25:11 +05:30
Oliver Eyton-Williams
f5f2fca28c fix(client): use mongoids for challenge.id (#39676) 2020-09-24 23:49:40 +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
5528823151 fix(client): add polyfill explicitly
Previously it was only present because of a chain of dependencies
2020-09-24 16:29:55 +05:30
Oliver Eyton-Williams
410ab87c61 fix(client): use new Gatsby --inspect 2020-09-24 16:29:55 +05:30
Mrugesh Mohapatra
806cadfd91 chore:(deps): client - update minor and patch 2020-09-24 16:29:55 +05:30
Oliver Eyton-Williams
4b14f9297b fix: source certificates into Gatsby (#39648)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
2020-09-24 16:04:35 +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
c16785f74e fix(client): do not build Intro for missing blocks
This creates an empty page, but ideally it should be a 404
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
Oliver Eyton-Williams
07cf7e3e72 fix(client): set custom schema
Necessary for the time being, as all the multi-file challenges are
upcoming (and thus hidden)
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
Randell Dawson
06da30e48a feat(learn): Basic CSS Cafe Menu instructions and hints/tests (v7) (#39407)
* feat: created step instructions for cafe menu

fix: added instructions to steps 1-31

fix: changed steps 29-31

fix: added instructions for steps 32-42

fix: changed prototype class definition

fix: padded file names

fix: added instructions for steps 43-61

fix: add object id to final.md and final prototype to meta.json

fix: correct typos in steps 26 and 27

fix: misc wording changes

fix: added forward slash to closing html tag

fix: added instructions for steps 62-75

feat: added instructions to steps 76-79

fix: added FOOTER comment for steps 68-75

fix: add steps 68a and 68b

fix: add steps 69a and reorder steps

fix: added instructions to the final steps

* fix: remove final.md

* fix: fixed typo of menue to menu

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: changed wording to improve readability

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: changed wording to improve readability

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: changed wording to improve readability

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: combined two lines into same paragraph

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-09-16 11:54:13 +05:30
Oliver Eyton-Williams
3cfd80a806 fix: handle editable region covering editor's top 2020-09-16 11:54:12 +05:30
Oliver Eyton-Williams
9df098953d Feat: editable dom element (#39341)
* feat: __testEditable allows editable region tests

It's not entirely isolated, but it makes it possible to select only the
element with id 'editable-only' which is built solely from code inside
the editable region.

* fix(client): missing editableContents -> ''

Previously it was added as the string 'undefined'

* fix: more informative error messages

* fix: DRY, correct and test getLines
2020-09-16 11:54:11 +05:30
Ahmad Abdolsaheb
a1a051bd3a feat: add action row for challenges with ERMs on desktop (#39377) 2020-09-16 11:54:11 +05:30