Commit Graph

28174 Commits

Author SHA1 Message Date
74063700ca chore(deps): update dependency @types/validator to v13.6.1 2021-07-02 21:00:53 +00:00
624aba8b2f chore(deps): update codesee to v0.45.2 2021-07-02 19:28:00 +00:00
4f45b5f68e chore(i18n,docs): processed translations (#42718) 2021-07-02 09:11:46 -07:00
03f85efac2 chore(deps): pin dependency @types/prismjs to 1.16.5 (#42722)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 19:22:02 +05:30
84044e9cc2 chore(i18n,curriculum): processed translations (#42721) 2021-07-02 18:45:29 +05:30
4be8a6f224 fix: Added comments on the function for clarity on coding-interview-prep (#42689) 2021-07-02 18:15:58 +05:30
5f9d507d70 feat(client): ts-migrate .../Challenges/components/PrismFormatted.js (#42667)
* migrate

* add mistakenly deleted displayName

* add static displayName declaration

* remove extra space

Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-07-02 18:11:54 +05:30
457b102181 fix: respect about's privacy settings (#42714) 2021-07-02 07:41:13 -05:00
9952a5592f fix: remove wrong css rule (#42715) 2021-07-02 17:48:50 +05:30
71a7ab5c0f chore(deps): update dependency webpack to v5.42.0 2021-07-02 08:39:36 +00:00
3d7ee4c516 chore(deps): update dependency rollup to v2.52.7 (#42711)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 11:36:58 +05:30
60686818a2 chore(deps): update dependency @testing-library/react to v12 (#42704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 11:33:40 +05:30
f0ae5ff941 fix(deps): update dependency algoliasearch to v4.10.2 2021-07-02 03:18:21 +00:00
a2f646a0dc chore(deps): update dependency webpack to v5.41.1 2021-07-02 02:09:22 +00:00
d1a5490652 chore(deps): update dependency @types/validator to v13.6.0 2021-07-02 00:08:32 +00:00
df662e111e chore(deps): update dependency @testing-library/dom to v8.1.0 2021-07-01 22:07:24 +00:00
912c7129fb chore(deps): update codesee to v0.45.1 2021-07-01 20:30:50 +00:00
0316918978 chore(dev): update gitpod extensions (#42706)
* chore(dev): update gitpod extensions

* add public visibility to ports 8000 & 3000
2021-07-02 00:42:39 +05:30
3a43f9697e fix(deps): update dependency react-instantsearch-dom to v6.11.2 2021-07-01 18:44:25 +00:00
88abbaf9c5 fix(deps): update dependency gatsby to v3.8.1 (#42700)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-01 23:06:29 +05:30
f95dd5be07 chore(deps): update dependency copy-webpack-plugin to v9.0.1 2021-07-01 15:43:16 +00:00
16e0d12d18 chore(i18n,curriculum): processed translations (#42697) 2021-07-01 08:40:52 -07:00
5ec06210a5 chore(i18n,docs): processed translations (#42696) 2021-07-01 05:41:17 -07:00
1bc19eb4de chore(deps): update dependency rollup to v2.52.6 2021-07-01 07:48:37 +00:00
d5c1bb1233 chore(deps): update dependency typescript to v4.3.5 2021-07-01 02:33:02 +00:00
9ad2882009 chore(deps): update codesee to v0.44.0 2021-06-30 21:25:47 +00:00
a450fe416a fix(deps): update dependency prismjs to v1.24.0 [security] 2021-06-30 20:38:45 +00:00
c0444ea168 chore(deps): update dependency @types/react-instantsearch-dom to v6.10.1 2021-06-30 19:31:35 +00:00
65406c6f1e chore(deps): pin dependencies (#42686)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 23:15:06 +05:30
de2f4e2843 fix(client): open completionModal on shortcut (#42685) 2021-06-30 20:52:18 +05:30
36ad0dbcc5 feat(client): ts-migrate editor component (#42285)
* class component to functional component

* rename Editor to .tsx

* add @types and no-verify changes

* init ts with no-verify

* refactor: files -> challengeFiles

* prop-types built from GraphQL

* Editor: halfway through 💪

* editor: almost done 🚀

* post-meeting changes with errors

* fix: remove chord keybindings

* Revert "refactor: files -> challengeFiles"

* fix tests type, fix editor bug

* fix linting issues

* re-add Loadable

* kebab-case editor

* remove Range import

* format package and prop-types

* update Show and prop-types

* fix: editor background color

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-06-30 20:52:18 +05:30
de261a2b58 feat(client): ts-migrate LearnLayout component (#42644)
* feat(client) Renamed Learn.js to learn.tsx

* feat(client) ts-migrate LearnLayout Component

* rename types for convention

* fix(client) disable ts error for DonationModal usage

- DonationModal migration required typescript to fix error hence disable ts error in LearnLayout component

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-30 20:52:18 +05:30
6b52d6c331 feat(client): ts-migrate client/src/resources/certAndProjectMap.js (#42648)
Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
2021-06-30 20:52:17 +05:30
Tom
b334031b2f fix(client): runtime error with icons/space component (#42665)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-30 20:52:17 +05:30
61d1020dd7 feat(client): ts-migrate footer (#42636)
Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
2021-06-30 20:52:17 +05:30
7df4b87396 migrate (#42641)
Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2021-06-30 20:52:17 +05:30
11d71adc6e feat(client): ts-migrate /client/src/components/ redirects (#42642)
* rename

* migrate

* migrate create language redirect

* fix type of redirects

* migrate test

Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-30 20:52:17 +05:30
e1e0fe02bf feat(client): migrate fourOhFour (#42626)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-30 20:52:17 +05:30
4737d96084 feat(client): ts-migrate /client/src/.../Tool-Panel.js (#42646)
Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
2021-06-30 20:52:17 +05:30
cb0cea07a1 fix show-project-links type linting 2021-06-30 20:52:17 +05:30
2a2ee30f63 update prop-types 2021-06-30 20:52:17 +05:30
592a2846d3 chore: pass CI (#42635)
* chore: eslint on icons

* chore: eslint spacer element

* chore: remove more eslint

* fix: existing lint issues

* fix: misnamed import

* fix: client now builds!

* fix: tsc errors

* fix: more linting issues
2021-06-30 20:52:17 +05:30
d87b472ee7 Fix: assorted next fixes (#42634)
* chore: fix slightly broken package.json

* fix: update children type

* fix: make size optional for Spacer

* fix: correct broken env import

* test: update snapshot and fix typing

* test: fix imports and remove old snapshot
2021-06-30 20:52:17 +05:30
de888d640c feat(client): ts-migrate Settings component (#42341)
* feat(client): change file format to Typescript

* feat(client): migrate SectionHeader component

* feat(client): migrate ToggleSetting component

* feat(client): migrate Theme component

* feat(client): migrate ResetModal component

* feat(client): migrate DeleteModal component

* feat(client): migrate DangerZone component

* feat(client): migrate Honesty component

* feat(client): migrate Privacy component

* feat(client): migrate Username component

* feat(client): migrate About component

* feat(client): migrate Email component

* feat(client): migrate Internet component

* feat(client): migrate Portfolio component

* feat(client): add required types packages

* feat(client): undo file format change

* feat(client): rename files to kebab-case

* feat(client): rename temp files to kebab-case

* feat(client): Review ts-migration

* Fix imports
* Fix some types
* Remove unncessary comments
* Consistent comment format

* restore mistakenly deleted file
2021-06-30 20:52:17 +05:30
5ad374cc1a feat(client): ts-migrate for files under client/src/component/search folder (#42327)
* typescript migration for files under search folder

* fixing few more eslint errors and warnings

* reverting changes for redux/index.js

* fixing merge conflicts with next

* deleting redux/index.ts
2021-06-30 20:52:17 +05:30
1e86063f04 feat(client): ts-migrate Challenges/components/ (#42582)
Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
2021-06-30 20:50:57 +05:30
ea4eeee49e feat(client): ts-migrate header components (#42287) 2021-06-30 20:50:57 +05:30
e54e2588bf feat(client): ts-migrate client/src/pages (#42445)
* Renamed .js files to .tsx

* Migrated 404 to TS

TODO: Ask about default prop

* Migrated certification to TS

Converted to functional component

* Partially migrated challenges to TS

TODO: Ask about Redirect props

* Installed @types/react-helmet and @types/react-redux

Prep for migrating donate, this caused two new TS errors on 404 and certification

* Migrated donate to TS

TODO: Ask about prop spreading

* Migrated email-sign-up to TS

Converted to functional component and removed unused isSignedIn prop

* Migrated index to TS

Removed unused props

* Migrated learn to TS

* Installed @types/react-instantsearch-dom

Prep for migrating search

* Migrated search to TS

Converted to functional component

* Migrated settings to TS

* Migrated unsubscribed to TS

* Installed @types/validator and @types/lodash-es

Prep for migrating update-email

* Migrated update-email to TS

Converted to functional component

* Migrated user to TS

* Updated effect hook dependencies

Also removed unnecessary comments from 404

* Renamed challenges.test.tsx to .ts

* remove search.tsx, as search.js was removed

* revert: packages

* revert: packages

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2021-06-30 20:50:57 +05:30
8c1084a97b feat(client): ts-migrate client/src/components/helpers/form and client/src/components/formHelpers (#42476)
* client(feat): migrate client/src/components/helpers/form

* compete migration

* migrate formHelpers

* migrate BlockSaveButton and BlockSaveWrapper

* finish migration

* kebab-caseify

* Update client/src/components/formHelpers/block-save-button.tsx

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

* fix linting errors

* make props optional

Co-authored-by: Parth Parth <thecodingaviator@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-06-30 20:50:57 +05:30
Tom
6cd8a025a7 feat(client): ts-migrate challenge-templates complete-modal (#42598) 2021-06-30 20:50:57 +05:30