awu43
fa9fb61f6a
feat(client): convert class components to functional components ( #43226 )
2021-10-27 11:17:47 +05:30
renovate[bot]
fbc0ea8742
fix(deps): update dependency reselect to v4.1.1 ( #44009 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-27 10:38:56 +05:30
Renovate Bot
e0f40549b5
chore(deps): update codesee to v0.128.0
2021-10-27 03:48:13 +00:00
Krzysztof
f4cae7015f
fix(client): use https for CodeAlly frame ( #44024 )
2021-10-26 17:46:45 -05:00
Ashis Kumar
94079b263a
chore(client): Migration of SolutionViewer component to Typescript. ( #43694 )
...
* The Solutionviewer .js file has been migrated into the .tsx file.
* Apply suggestions from code review
I have added the suggestions and before adding them to the commit, I have checked it once locally and it doesn't throw any new error.
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com >
* Update the SolutionViewer.tsx
Added the "null" and "undefined" type to "solution" property.
* Update SolutionViewer.tsx
* Update ProjectModal.tsx
* Update ProjectModal.tsx
* Update SolutionViewer.tsx
* Update ProjectModal.tsx
* Apply suggestions from code review
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update client/src/components/SolutionViewer/ProjectModal.tsx
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Apply suggestions from code review
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Apply suggestions from code review
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com >
* type of solution prop has been changed into "solution?:string;"
* assert solution is not `null` for modal
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com >
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
2021-10-26 12:16:25 -07:00
renovate[bot]
fc868b3201
chore(deps): update codesee to v0.126.0 ( #44023 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-27 00:45:34 +05:30
Maciek Sitkowski
cf0286dd36
chore(client): migrate Tool-Panel component to ts ( #43790 )
...
* chore: rename Tool-Panel.js to tool-panel.tsx
* feat: migrate tool-panel to ts
* chore: remove unused ts-expect-error
* chore: improve videoUrl and guideUrl types
* chore: update executeChallenge prop type
2021-10-26 09:00:17 -07:00
Mrugesh Mohapatra
b4c68c039b
chore(deps): run npm audit fix on all packages ( #44002 )
2021-10-26 19:11:53 +05:30
camperbot
40e588ab90
chore(i18n,client): processed translations ( #44019 )
2021-10-26 19:09:17 +05:30
Renovate Bot
54fe28d1c4
fix(deps): update dependency react-instantsearch-dom to v6.14.0
2021-10-26 13:14:05 +00:00
renovate[bot]
63e451b202
chore(deps): update dependency webpack to v5.60.0 ( #44003 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-26 13:41:34 +05:30
renovate[bot]
8b2cc86094
chore(deps): update codesee to v0.125.0 ( #44005 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-26 10:33:51 +05:30
Oliver Eyton-Williams
866c9ee9d9
refactor: clean up MultifileEditor ( #43996 )
2021-10-25 22:06:11 -05:00
AndreiD049
a07a16b38b
fix: added possibility to revert back to default profile picture ( #43962 )
...
* added possibility to revert to default profile picture
* removed required from picture input
* remove addPlaceholderImage and replaced with empty string
* added test for empty string to avatar-renderer
2021-10-25 21:06:32 +02:00
Vishwasa Navada K
9abc5f66ba
feat(client): ts-migrate multiple files ( #43262 )
...
* feat(client): ts-migrate rename files
* feat(client): ts-migrate client/src/templates/Introduction/*
* feat(client): ts-migrate client/src/components/formHelpers/form*
* fix: import
* Update client/src/components/formHelpers/form-validators.tsx
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update client/src/components/formHelpers/form-fields.tsx
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update client/src/components/formHelpers/form-fields.tsx
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* fix: types in client/src/components/formHelpers/index.tsx
* fix: types in client/src/templates/Introduction/super-block-intro.tsx
* fix: types in client/src/components/formHelpers/*
* fix: signInLoading and value types
* Update client/src/templates/Introduction/super-block-intro.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* Update client/src/components/formHelpers/index.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* Update client/src/components/formHelpers/index.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* Update client/src/components/formHelpers/index.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* chore(deps): update dependency rollup to v2.58.1
* fix: rename variables and fix imports for ts-migrate
* fix: remove `Type` suffix from the type definition.
* Update client/src/components/formHelpers/form.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-25 18:45:36 +01:00
Rafael D. Hernandez
001aa3ea9e
feat(i18n): Add more motivational phrases and quotes in Spanish ( #43970 )
...
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com >
2021-10-25 23:09:24 +05:30
renovate[bot]
af52f468c1
fix(deps): update dependency @fortawesome/react-fontawesome to v0.1.16 ( #43922 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-25 22:48:20 +05:30
Kristofer Koishigawa
bcc9beff1f
feat(curriculum): introduce let and const earlier ( #43133 )
...
* fix: move "Explore Differences Between..." to basic JS, update seed and tests
* fix: resequence "Declare String Variables"
* fix: move "Declare a Read-Only Variable..." to basic JS, update seed and tests
* fix: revert changes to non-English "Explore Differences Between..." test text
* fix: revert test strings, solutions, and seeds for non-English challenges
* fix: update "Declare String Variables" description
* fix: sync quotation marks in description and seed
* fix: modify note in "Declare a Read-Only..." challenge
* fix: update operator and compound assignment challenges
* fix: update string challenges
* fix: update array and array method challenges
* fix: update function and scope challenges, resequence slightly
* fix: "Word Blanks" solution
* fix: add spacing to seed
* fix: concatenating += challenge spacing
* fix: appending variables to strings spacing
* fix: find the length of a string spacing
* fix: removed instances of removedFromMyArray = 0
* fix: switch challenges
* fix: function argument and param spacing
* fix: update counting cards, object challenges, and record collection
* fix: finish rest of Basic JS section
* fix: introducing else statements solution
* fix: update spacing and wording
* fix: update wording for const challenge
* fix: update functional programming challenges
* fix: intermediate algorithms and cert challenges
* fix: revert some spacing and remove comments for fp challenge solutions
* feat: add notes with links to moved let and const challenges in first two es6 challenges
* fix: update es6 intro text
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-the-plus-equals-operator.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/finding-a-remainder-in-javascript.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/global-scope-and-functions.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-through-an-array-with-a-for-loop.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/iterate-through-an-array-with-a-for-loop.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/implement-map-on-a-prototype.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/declare-a-read-only-variable-with-the-const-keyword.md
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* fix: concatenating strings with plus operator seed
* fix: add comments back to Declare a Read-Only Variable... seed
* feat: add es6 to basic javascript redirect tests for let and const challenges
* fix: revert "Concatenating Strings with Plus Operator" seed
* fix: move test file to cypress/integration/learn/redirects, separate redirect tests
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
2021-10-25 17:55:58 +01:00
camperbot
798ac7793b
chore(i18n,learn): update translations ( #43984 )
2021-10-23 09:35:51 -07:00
Renovate Bot
c8e2cae8d1
chore(deps): update dependency @types/validator to v13.6.5
2021-10-23 13:04:01 +00:00
Renovate Bot
0499b06ad2
chore(deps): update codesee to v0.124.0
2021-10-23 03:05:05 +00:00
Renovate Bot
8f8333d710
fix(deps): update dependency gatsby to v3.14.4
2021-10-22 21:59:00 +00:00
Renovate Bot
7dbc2835d3
chore(deps): update dependency @types/react-transition-group to v4.4.4
2021-10-22 04:33:26 +00:00
Renovate Bot
4a2104bb1e
chore(deps): update codesee to v0.122.0
2021-10-22 00:33:39 +00:00
Renovate Bot
874afd0d06
chore(deps): update dependency postcss to v8.3.11
2021-10-21 20:44:57 +00:00
Renovate Bot
750087163e
chore(deps): update codesee to v0.121.0
2021-10-21 10:50:20 +00:00
Renovate Bot
1508be2fb8
chore(deps): update dependency webpack to v5.59.1
2021-10-21 01:02:05 +00:00
Renovate Bot
5be3f83299
chore(deps): update dependency postcss to v8.3.10
2021-10-20 22:45:51 +00:00
Shaun Hamilton
d100132f75
feat(client): refactor Flash/redux into TS ( #42725 )
...
* feat(client): ts-migrate Flash/redux
* add app types
* convert Flash/redux/index to vanilla TS
* update redux types.ts
* use FlashState type over State type
* update typing
* fix: prettier errors I caused?
* fix: re-add comment I removed
* remove comment
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* fix type to not include {}
* remove commented out code for future use
* remove unused initialState object
* rename Flash onClose prop to match action name
* directly type reducer to return state
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-10-20 12:58:10 -05:00
Renovate Bot
8e43c3c838
fix(deps): update dependency algoliasearch to v4.11.0
2021-10-20 16:20:45 +00:00
Renovate Bot
bf295391a7
chore(deps): update dependency @types/sanitize-html to v2.5.0
2021-10-20 12:04:22 +00:00
Renovate Bot
686804f60c
fix(deps): update dependency @types/react-dom to v17.0.10
2021-10-20 11:04:42 +00:00
renovate[bot]
66e47ecf84
fix(deps): update dependency react-instantsearch-dom to v6.13.0 ( #43933 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2021-10-20 15:29:38 +05:30
Renovate Bot
37a51d5cf1
chore(deps): update dependency @types/validator to v13.6.4
2021-10-20 08:43:07 +00:00
Renovate Bot
8dbd29d78a
chore(deps): update dependency webpack to v5.59.0
2021-10-20 03:37:11 +00:00
Renovate Bot
295601b806
chore(deps): update codesee to v0.119.0
2021-10-20 00:50:13 +00:00
Renovate Bot
22e39432fd
fix(deps): update dependency @stripe/stripe-js to v1.20.3
2021-10-19 23:05:12 +00:00
Renovate Bot
ce386d5edd
chore(deps): update dependency webpack-cli to v4.9.1
2021-10-19 19:12:38 +00:00
Oliver Eyton-Williams
6c20301204
feat: control editor focus ( #43882 )
...
* refactor: MultifileEditor to functional component.
* fix: make editor acquire focus once on mount
Now the editors can leave the dom (e.g. if a tab is clicked), but an
editor will only call for focus if the MultifileEditor itself remounts
2021-10-19 08:52:51 -07:00
Shaun Hamilton
2bddbbff42
feat(client): refactor desktop-layout to ts ( #42651 )
...
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com >
2021-10-19 09:51:38 -05:00
Zachary Dixon
beb179ab1c
Removed duplicate map.test.tsx ( #43924 )
...
* removed duplicate Map.test.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-10-19 14:32:51 +04:00
Lucas Barros
2cd11a0ac8
feat: Typescript migration Map test ( #43802 )
2021-10-19 08:36:46 +05:30
Ahmed Ghoneim
0d1055fd08
(chore): refactor Map.test.js to map.test.tsx ( #43897 )
...
* chore: rename Map.test.js to map.test.tsx
* chore: refactor Map.test.js to typescript
2021-10-18 23:40:09 +04:00
camperbot
e8e64318b3
chore(i18n,learn): update translations ( #43880 )
2021-10-18 07:59:48 -07:00
Oliver Eyton-Williams
b9c1bc92cd
refactor: remove redundant parts of the editor ( #43847 )
...
* refactor: remove forbidden regions
We aren't using them and they're implemented badly. To recreate them, we
should simply track the editable region and update them when it's Range
changes.
* refactor: simplify the refs considerably
There's no point keeping an object with properties for all possible
editors when only one is created at once.
2021-10-18 16:23:36 +03:00
Oliver Eyton-Williams
6a5f586f73
fix: handle challenge resets through redux ( #43843 )
...
Instead of relying on heuristics like "does the current content
differ from the initial content?" this just resets if the reset button
has been pressed.
2021-10-18 14:58:06 +03:00
Renovate Bot
102ff04ff1
fix(deps): update dependency @stripe/stripe-js to v1.20.2
2021-10-16 04:09:19 +00:00
Renovate Bot
524c6b1d52
chore(deps): update codesee to v0.117.0
2021-10-16 02:22:19 +00:00
Renovate Bot
0bb14167ae
fix(deps): update gatsby monorepo
2021-10-15 22:09:13 +00:00
Lim Shang Yi
3dbe40410c
feat(client): language dropdown in the side menu is now a drop down ( #43729 )
...
* feat(UI): language in the side menu is now a drop down. navigation items are now text wrapped
* fix: use redux navigation to redirect links instead
* fix: fix to use clientLocale as curent language instead
* fix: tests to use clientLocale
2021-10-15 16:08:35 +03:00