Commit Graph

2522 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
740370eb60 refactor: explicit mocking for analytics (#41562)
The previous approach did avoid a fair number of jest.mock calls, but
made debugging the tests harder. If you don't know about the mapping
it's unclear why the imported module does not behave as normal.

By forcing the use of jest.mock it means that the answer to that
question is in the test you are working on.
2021-03-29 16:48:58 -07:00
renovate[bot]
08114292c3 fix(deps): pin dependencies (#41589)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-27 20:57:57 +05:30
Mrugesh Mohapatra
42365dd172 fix: update package files, lerna config (#41599)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-27 07:46:20 -07:00
Oliver Eyton-Williams
e91793b934 fix(client): polyfill path with path-browserify (#41615)
path is being used by webpack to transform imports into requires. Since
some challenges rely on this transformation, path has to exist in the
browser.
2021-03-27 19:19:30 +05:30
Mrugesh Mohapatra
1a97759b47 chore(client): update dependencies 2021-03-26 03:07:12 +05:30
Mrugesh Mohapatra
ad9b1f89d8 fix(api, client): update Gatsby, webpack & related things (#41452)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-25 12:13:43 -07:00
Oliver Eyton-Williams
92dfb3065c fix(tests): expand client testing for Espanol (#41574) 2021-03-25 21:25:13 +05:30
Rafael D. Hernandez
b1bd2799cc MotivationES-Update (#41573)
* add more quotes for ES curriculum

* Update client/i18n/locales/espanol/motivation.json

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-03-25 05:08:38 -07:00
Nicholas Carrigan (he/him)
746380b14d feat(client): style code block scrollbar (#41556)
Styles the scrollbar within the python challenges answer box.
2021-03-25 12:36:28 +01:00
Oliver Eyton-Williams
6b63da3996 fix(client): get translationPending in video chals (#41567) 2021-03-25 11:24:17 +05:30
Nicholas Carrigan (he/him)
b0f6c4e7a1 revert: remove nowrap rule (2f0b9ec) (#41572)
Revert the white-space: nowrap rule introduced in commit
2f0b9ec4a5 which was breaking multi-
line code block rendering.
2021-03-24 23:29:50 +03:00
Oliver Eyton-Williams
73d9b4c194 fix(client): split Editor panes correctly (#41570)
* refactor: clean up MultifileEditor

* fix: show correct splitters

* fix: include splitter for JSX
2021-03-24 23:21:08 +03:00
Oliver Eyton-Williams
963c3c5af5 fix(test): handle NavLinks for Chinese locale (#41566) 2021-03-24 08:11:19 -07:00
Shaun Hamilton
3aad0808ed fix(client): fix v7 certlocation (#41565) 2021-03-24 20:28:13 +05:30
Tom
73e5c4d935 fix(i18n): translate block names in completion modal (#41516)
* fix(i18n): translate block names in completion modal

* fix: update snapshot

* fix: update test and snapshot betterish

* fix: remove dasherize usage

* Update client/src/templates/Challenges/video/Show.js

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

* Update client/src/templates/Challenges/projects/frontend/Show.js

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

* fix: add block props to backend Show.js

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-23 23:29:16 +03:00
Patrick Franz
0190c19411 fix(client): code blocks overflowing parents (#41438) 2021-03-23 10:23:57 +05:30
Michael Padilla
7603312b35 fix(i18n): Typo on motivation file (#41497)
Fixed Typo on compliments and motivationalQuotes.
2021-03-16 09:03:06 -07:00
Shaun Hamilton
cd722a0e7f fix(client): change repl.it validation to replit for migration (#41457) 2021-03-15 19:37:43 +05:30
camperbot
b2179c5222 chore(i8n,client): processed translations (#41495)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-03-15 13:05:17 +00:00
camperbot
85650f5f41 chore(i8n,client): processed translations (#41461)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-03-13 10:29:53 -07:00
Nicholas Carrigan (he/him)
f1c8a9825b fix(i18n,client): translatable cta url (#41384) 2021-03-12 17:14:54 -07:00
Mrugesh Mohapatra
6c91f81b0e chore(deps): upgrade eslint, prettier & related packages 2021-03-11 12:19:42 +05:30
Mrugesh Mohapatra
0a53a1d7f0 chore(deps): upgrade lerna to v4 2021-03-11 12:19:42 +05:30
Ahmad Abdolsaheb
aac49e9a40 fix(client): modernize stripe form (#41359)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-10 20:33:55 +05:30
dependabot[bot]
c0e24d735c Bump final-form from 4.20.1 to 4.20.2 in /client
Bumps [final-form](https://github.com/final-form/final-form) from 4.20.1 to 4.20.2.
- [Release notes](https://github.com/final-form/final-form/releases)
- [Commits](https://github.com/final-form/final-form/compare/v4.20.1...v4.20.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 09:37:37 +00:00
dependabot[bot]
ee356b17b6 Bump date-fns from 2.17.0 to 2.19.0 in /client
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.17.0 to 2.19.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.17.0...v2.19.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 09:16:02 +00:00
dependabot[bot]
8fec39d91b Bump jquery from 3.5.1 to 3.6.0 in /client
Bumps [jquery](https://github.com/jquery/jquery) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.5.1...3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:33:54 +00:00
dependabot[bot]
58c490c516 Bump typescript from 4.2.2 to 4.2.3 in /client
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.2...v4.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:32:12 +00:00
dependabot[bot]
78cb4cd51e Bump gatsby from 2.32.8 to 2.32.9 in /client
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.32.8 to 2.32.9.
- [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.32.8...gatsby@2.32.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:30:47 +00:00
dependabot[bot]
67eeac2c6c Bump chai from 4.3.0 to 4.3.3 in /client
Bumps [chai](https://github.com/chaijs/chai) from 4.3.0 to 4.3.3.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.3.0...4.3.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:24:54 +00:00
dependabot[bot]
8b8278eda4 Bump react-instantsearch-dom from 6.10.0 to 6.10.3 in /client
Bumps [react-instantsearch-dom](https://github.com/algolia/react-instantsearch) from 6.10.0 to 6.10.3.
- [Release notes](https://github.com/algolia/react-instantsearch/releases)
- [Changelog](https://github.com/algolia/react-instantsearch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/algolia/react-instantsearch/compare/v6.10.0...v6.10.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:24:00 +00:00
dependabot[bot]
1e493c69a9 Bump redux-devtools-extension from 2.13.8 to 2.13.9 in /client
Bumps [redux-devtools-extension](https://github.com/zalmoxisus/redux-devtools-extension) from 2.13.8 to 2.13.9.
- [Release notes](https://github.com/zalmoxisus/redux-devtools-extension/releases)
- [Changelog](https://github.com/zalmoxisus/redux-devtools-extension/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zalmoxisus/redux-devtools-extension/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:21:44 +00:00
gikf
e213c9f581 fix(client): use block for video challenge right breadcrumb (#41397) 2021-03-07 10:06:17 -08:00
camperbot
af71231b39 chore(i8n,client): processed translations (#41398)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-03-07 09:10:40 -07:00
Mrugesh Mohapatra
c6ac8248f7 fix: update the fastest page with meta (#41374) 2021-03-05 06:16:42 -07:00
dependabot[bot]
79067a74c1 chore(deps): bump @babel/standalone from 7.12.18 to 7.13.9 in /client
Bumps [@babel/standalone](https://github.com/babel/babel/tree/HEAD/packages/babel-standalone) from 7.12.18 to 7.13.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.9/packages/babel-standalone)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-05 07:58:55 +00:00
camperbot
0300f23711 chore(i18n,client): processed translations (#41370)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2021-03-05 13:25:13 +05:30
Tegar D Pratama
2630dc03d7 fix: block-cta-wrapper breaking the layout in mobile view. (#41299)
* fix: client bug in mobile view

* fix: show card title elemenbts in column on small screens

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2021-03-04 14:05:50 -08:00
Shaun Hamilton
36f58bcfdf fix(client): update store after any submission (#41329) 2021-03-05 02:31:18 +05:30
Nicholas Carrigan (he/him)
8e4ada8f2d fix: placeholder to empty string (#41360) 2021-03-04 18:40:13 +01:00
Oliver Eyton-Williams
b98f2ecee3 fix(client): update both monaco deps (#41334) 2021-03-02 18:32:24 +05:30
dependabot[bot]
7ab58761a7 chore(deps): bump gatsby-source-filesystem in /client
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.11.0 to 2.11.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-source-filesystem@2.11.1/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.11.1/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 21:53:08 +00:00
dependabot[bot]
31a42d4ee4 chore(deps): bump react-i18next from 11.8.7 to 11.8.8 in /client
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.8.7 to 11.8.8.
- [Release notes](https://github.com/i18next/react-i18next/releases)
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v11.8.7...v11.8.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 21:50:59 +00:00
Mayank Verma
01a7a8c320 fix(i18n): add i18next keys for ShowProjectLinks (#41239)
* Add required keys for translating ShowProjectLinks

* Use i18next keys for translation
2021-03-01 15:47:52 +01:00
dependabot[bot]
2f7354041c chore(deps): bump react-reflex from 3.1.1 to 4.0.0 in /client
Bumps [react-reflex](https://github.com/leefsmp/Re-Flex) from 3.1.1 to 4.0.0.
- [Release notes](https://github.com/leefsmp/Re-Flex/releases)
- [Commits](https://github.com/leefsmp/Re-Flex/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 10:07:18 +00:00
dependabot[bot]
df2005f8ae chore(deps): bump i18next from 19.8.9 to 19.9.1 in /client
Bumps [i18next](https://github.com/i18next/i18next) from 19.8.9 to 19.9.1.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v19.8.9...v19.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 09:21:10 +00:00
dependabot[bot]
7791a5e4bb chore(deps): bump rxjs from 6.6.3 to 6.6.6 in /client
Bumps [rxjs](https://github.com/reactivex/rxjs) from 6.6.3 to 6.6.6.
- [Release notes](https://github.com/reactivex/rxjs/releases)
- [Changelog](https://github.com/ReactiveX/rxjs/blob/6.6.6/CHANGELOG.md)
- [Commits](https://github.com/reactivex/rxjs/compare/6.6.3...6.6.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 05:33:51 +00:00
dependabot[bot]
b5dc6aabcf chore(deps): bump gatsby-plugin-manifest in /client
Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 2.12.0 to 2.12.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-plugin-manifest@2.12.1/packages/gatsby-plugin-manifest/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@2.12.1/packages/gatsby-plugin-manifest)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 05:28:04 +00:00
dependabot[bot]
527f2d510f chore(deps): bump query-string from 6.14.0 to 6.14.1 in /client
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.14.0 to 6.14.1.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.14.0...v6.14.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 05:23:03 +00:00
dependabot[bot]
755a4b3d4f chore(deps): bump gatsby-transformer-remark in /client
Bumps [gatsby-transformer-remark](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-remark) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/gatsby-transformer-remark@2.16.1/packages/gatsby-transformer-remark/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-remark@2.16.1/packages/gatsby-transformer-remark)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 05:22:27 +00:00