Commit Graph

29028 Commits

Author SHA1 Message Date
ebec6705a3 feat(typescript): Add typescript support for UI components library (#43541)
* Add TS configs and improve dir structure

* Add TS configs and improve dir structure

* Fix components exports from index

* chore: prettier

* Add tsconfig and then fix the linter warnings

* Add @babel/preset-typescript

* Fix eslint rule and update btn component to fix storybook

* Fix TS and Jest configs

Converted all remaining files to TS as well

* Remove TS ignored rules and fixed some TS & jest stuff

* Revert to old directory structure

* Use absolute versions in package.json

* enable ts strict to infer types

Co-authored-by: Hamza Waleed <hamza.waleed@arbisoft.com>
2021-09-28 14:06:21 +03:00
cc13291ca6 Added hyperlink on freeCodeCamp Social Banner (#43590) 2021-09-28 16:22:30 +05:30
07927fbcc4 chore(deps): update typescript-eslint monorepo to v4.32.0 2021-09-28 09:48:00 +00:00
8beb26e84e chore(deps): update dependency typescript to v4.4.3 (#43316)
* chore(deps): update dependency typescript to v4.4.3

* fix: use UserType correctly

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-09-28 10:56:46 +02:00
af4ead336a chore(i18n,docs): update translations (#43567) 2021-09-27 10:50:01 -07:00
eac0a395a1 chore(i18n,curriculum): update translations (#43583) 2021-09-27 18:10:31 +01:00
1e25aa1c53 chore(deps): update dependency tailwindcss to v2.2.16 (#43575)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 22:15:22 +05:30
b751becb40 chore(deps): update dependency @testing-library/react to v12.1.1 2021-09-27 15:02:33 +00:00
0f32cabef9 fix: move ActionRow outside the ReflexContainer (#43532)
* fix: move ActionRow outside the ReflexContainer

It does not need to be resizable.

* fix: make DesktopLayout aware of ActionRow

The ReflexContainer seems to need to be inside a display: flex component
to correctly compute the sizes of it's children.

* refactor: remove unused props
2021-09-27 13:16:29 +03:00
2b6bef08ae feat: localize videos (#42869)
* refactor: separate out VideoPlayer component

* feat: support bilibili videos

* feat(client): allow localized videos to be shown

* fix: remove add subtitles CTA

* feat: add locale ids for Why Program?
2021-09-27 12:26:38 +03:00
48f2c02c5d refactor(client): remove unused axios dependents (#43579) 2021-09-27 14:32:42 +05:30
00a81067a3 chore(curriculum): changed external links to news articles in 4 challenges (#43373)
* changed 4 links

* fix wording

* change link as suggested by @gikf
2021-09-27 09:12:53 +01:00
25c3349685 fix(deps): update dependency nanoid to v3.1.28 2021-09-26 17:34:57 +00:00
6d19fec884 fix(curriculum): typo in word-frequency.md (#43571)
occurences -> occurrences
2021-09-26 17:11:25 +02:00
bf83352e66 chore(deps): update dependency autoprefixer to v10.3.6 2021-09-26 13:18:29 +00:00
8da2c348a3 chore(i18n,learn): update translations (#43568) 2021-09-26 10:31:51 +01:00
1f842f04ee chore(i18n,curriculum): update translations (#43569) 2021-09-25 18:15:05 +01:00
d55b58ffd1 chore(deps): update dependency jest to v27.2.2 2021-09-25 16:59:41 +00:00
acba4f7b00 chore(deps): update dependency mocha to v9.1.2 2021-09-25 12:07:51 +00:00
Tom
160931cd6a fix: update rbdms urls to new repos (#43477)
* fix: update rbdms urls to new repos

* revert: github-tutorial-urls-to-moT01-repo
2021-09-25 12:54:00 +02:00
38f0bec2e3 chore(deps): update dependency postcss to v8.3.8 2021-09-25 10:50:22 +00:00
e44610f1d0 chore: remove coder survey text (#43559) 2021-09-25 00:54:24 +01:00
c80fa07d31 chore(deps): update dependency webpack to v5.54.0 2021-09-24 22:36:14 +00:00
9c897b0077 chore(deps): update codesee to v0.95.0 2021-09-24 19:55:54 +00:00
cf3dc4d3b5 docs: document i18n videos (#43553)
* docs: document i18n videos

* chore: apply oliver's review suggestions

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

* docs: additional places to change

* feat: add yml highlighting

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-09-24 18:27:20 +01:00
f00edd6a3a fix(tools): different condition for codesee-maps (#43558) 2021-09-24 09:08:25 -07:00
b5019000bb fix(client): errors with multiple editor tabs (#43549)
* fix: enforce multifile tab order

* fix: sort challengeFiles to prevent remounts

If the challengeFiles are used unsorted, this can unmount an editor.
The editors rely on the mount hook for initialization, so extra mounts
can cause unwanted behaviour.

* fix: make editor tabs and panes match
2021-09-24 15:40:18 +01:00
2abc2f6473 chore(tools): ignore i18n branches (#43557) 2021-09-24 19:21:54 +05:30
9f2595ec0b chore(i18n,curriculum): update translations (#43556) 2021-09-24 06:31:25 -07:00
42e88ac281 fix(curriculum): Fix a typo (#43554) 2021-09-24 15:48:31 +09:00
8fac91292d chore(deps): update codesee to v0.94.4 2021-09-24 02:54:48 +00:00
33c88e5c3e fix(deps): update dependency @stripe/react-stripe-js to v1.5.0 2021-09-24 01:40:42 +00:00
f364ba6c7d chore(deps): update dependency mock-fs to v5.1.1 2021-09-24 00:25:12 +00:00
7f1fc2d14a chore(deps): update dependency eslint-plugin-testing-library to v4.12.4 2021-09-23 21:57:22 +00:00
77b8405a31 fix(curriculum): allow optional final css semi-colon (#43545)
* fix for issue: #43536, final css property optional semi-colon

* accidentally left a "y" at the end of the sentence

* replaced regex with CSSHelp

* removed trailing white-space
2021-09-23 19:25:50 +01:00
972c10a33d chore: clean up comments (#43550) 2021-09-23 20:09:27 +02:00
5ddccecd46 fix(curriculum): adjust implementation-of-social-auth tests (#43162)
* fix(curriculum): adjust implementation-of-social-auth tests

* use deepInclude with much optional chaining
2021-09-23 11:37:22 -05:00
fd544c02a5 chore(i18n,curriculum): processed translations (#43546) 2021-09-23 16:38:58 +01:00
aa3c6987e3 fix: redundant scrollbar on codeally Iframe (#43503) 2021-09-23 10:31:56 -05:00
41e428d23d feat: update editable region behaviour (#43537)
* refactor: remove ambiguity about editable region

Since the editable region is implemented via decorations and defined in
challenge object, getEditableRegionFromRedux, makes the source obvious

* fix: make jaws follow the highlighted region

* fix: update the jaws on all content changes

* feat: make editable region 'absorb' text

As the user types, the editable region can move, expand and contract.

With this PR then if the user, say, presses backspace on the line after
the editable region, causing that line to move up, then the new contents
will expand/contract as if they had always been part of the region.
2021-09-23 17:27:44 +03:00
c9d919732a feat: add last chinese cert (#43539) 2021-09-23 19:19:13 +05:30
0036aa8969 feat(client): ts-migrate (/client/src/components/layouts/Certification.js) (#42939)
* change name to certification.tsx

* migrate certification.js to ts

* update ceritification import in index and fix prettier errors

* Update client/src/components/layouts/certification.tsx

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

* Update client/src/components/layouts/certification.tsx

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

* Update client/src/components/layouts/certification.tsx

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

* Update client/src/components/layouts/certification.tsx

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

* fix: reorder imports

Co-authored-by: Raymen Deol <raymen.deol@outlook.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-09-23 09:15:16 +02:00
5f93847770 fix(deps): update dependency @stripe/stripe-js to v1.18.0 2021-09-23 03:19:38 +00:00
d47da0de51 chore(deps): update dependency rollup to v2.57.0 2021-09-23 01:52:18 +00:00
bf7f9f6bea chore(deps): update dependency @testing-library/dom to v8.6.0 2021-09-23 00:26:21 +00:00
ca7dbdf4a6 chore(deps): update codesee to v0.93.0 2021-09-22 22:33:35 +00:00
b7b2033c3d fix(deps): update dependency node-fetch to v2.6.5 2021-09-22 21:14:48 +00:00
226f9f3a97 chore(deps): update dependency postcss to v8.3.7 2021-09-22 19:31:10 +00:00
2012ad3035 chore(i18n,curriculum): update translations (#43534) 2021-09-22 16:34:59 +01:00
05efb067a1 chore(i18n,docs): initialise japanese docs (#43527) 2021-09-22 07:28:36 -07:00