Commit Graph

1531 Commits

Author SHA1 Message Date
Niraj Nandish
955588eb3e fix(editor): Remove keybind of intellisense (#42137)
* fix: Remove keybind of intellisense

* fix: remove old solution

* fix: disable suggestion on trigger characters
2021-05-17 15:42:22 -05:00
Oliver Eyton-Williams
66dae77fc5 feat: use TypeScript in the client (#42124) 2021-05-18 00:23:41 +05:30
Sem Bauke
c4910b90b4 fix: arrows pointing the wrong way (#42155) 2021-05-17 12:45:08 +05:30
Lasse Jørgensen
a73c205e04 feat(client): add optional information block to intro pages (#42091)
* feat: add optional information block to intro pages

* feat: rename to note, add property to all blocks
2021-05-12 11:30:08 +05:30
Oliver Eyton-Williams
854fee4779 Revert "fix(client): use strip-comments library for js comments removal (#41960)" (#42103)
This reverts commit b16fadb436.
2021-05-11 17:12:48 +00:00
Mrugesh Mohapatra
83943de719 chore: rollback CSRF token generation (#42082)
This reverts commit e1c00138a9.
2021-05-11 00:27:08 +05:30
Kristofer Koishigawa
94d4b2f553 fix: navbar avatar height, background colors (#42076)
* fix: navbar avatar height

* fix: prevent avatar background change when hovered or focused
2021-05-11 00:15:16 +05:30
Oliver Eyton-Williams
e1c00138a9 fix: generate csrf tokens on server (#41968)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2021-05-10 21:40:42 +05:30
renovate[bot]
21dd80c47a chore(deps): update dependency prettier to v2.3.0 (#42074)
* chore(deps): update dependency prettier to v2.3.0

* chore: apply formating per prettier

* fix: correctly disable import/no-unresolved

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-10 08:48:49 -07:00
Lasse Jørgensen
b16fadb436 fix(client): use strip-comments library for js comments removal (#41960) 2021-05-10 11:03:04 +02:00
Oliver Eyton-Williams
e1f673e685 fix: prevent excessive locale bundling (#41979)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-05-08 13:18:37 +05:30
Mrugesh Mohapatra
1805631e4a fix(client): add info circle to claim cert steps (#42060) 2021-05-08 12:54:29 +05:30
Mrugesh Mohapatra
7c4676d0a4 fix(client): quick-fix for cert claiming (#42055)
* chore: reinstate the quick-fix for cert claiming

This reverts commit d80d093c8b.

* feat: add progress to claim cert card
2021-05-07 12:39:42 -07:00
Nicholas Carrigan
fb9edaf790 revert(client): enzyme adapter React 17
This reverts commit ce6124a9ed.
2021-05-07 03:53:04 +05:30
Mrugesh Mohapatra
d80d093c8b revert(client): add quick superblock cert claim steps
This reverts commit e8578341b5.
2021-05-07 02:39:38 +05:30
Shaun Hamilton
e8578341b5 feat(client): add quick superblock cert claim steps (#42031)
* feat(client): add quick superblock cert claim steps

* remove comments
2021-05-06 11:45:19 -07:00
Mrugesh Mohapatra
5cb3465a1d fix(i18n): ensure language redirects for Chinese traditional (#42020) 2021-05-06 20:35:27 +05:30
Nicholas Carrigan
e46e80e08f feat(client): add chinese traditional
Add chinese traditional to the all-langs validation and necessary
client build configs.
2021-05-05 21:06:54 +05:30
Mrugesh Mohapatra
ce6124a9ed fix: use unofficial adapter for react 17 for enzyme 2021-05-05 20:59:43 +05:30
Ahmad Abdolsaheb
27c8d564e4 fix(client): replace Stripe with PayPal (#41924)
* feat: remove stripe payment option from client

* feat: remove stripe completely

* fix: remove last Stripe remnants

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-03 11:45:23 +03:00
Oliver Eyton-Williams
2eac236e39 fix: remove JS comments revisited (#41952)
* fix: restrict removeJSComments to test-evaluator

To prevent @babel from being included everywhere, this only calls
removeJSComments inside the test-evaluator

* test: add removeJSComments test
2021-04-30 22:30:06 +03:00
Mrugesh Mohapatra
341fe76f0f chore: roll back CSRF changes for the weekend
This reverts commit 00193858a0.
2021-04-30 23:57:28 +05:30
Oliver Eyton-Williams
00193858a0 fix: generate csrf tokens on server not client (#41908)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-04-30 09:42:26 +03:00
GM Fuster
3b056aa7b4 chore(replit): use correct brand name across codebase (#41941)
* replace repl.it with replit.com in the English version

Replace repl.it to replit.com in the English version.  Chinese and Spanish versions have the same issue.

* Updated the repl.it to replit.com or Replit

I changed the text from replit.com to Replit and added the changes to the files outside the curriculum folder.

* Forgot removing one .com.

There was on Replit.com that I missed when I reviewed the files.

* Resolve conflicts

I got an unable to auto merge so resolving conflicts and trying again.

* try committing conflicts again

* Trying the conflicts again

* chore: fix typo in personal library

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>

Co-authored-by: gemmaf98 <44875585+gemmaf98@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-04-29 11:13:38 +01:00
Oliver Eyton-Williams
9be2fb9a10 fix: use lodash-es in the client (#41931) 2021-04-28 16:11:20 -05:00
Evgeny Klimenchenko
db369fbed1 fix(client): remove JS comments from user code for tests (#41873)
* Removes comments in js challanges by default

* fix local-scope-and-functions test regex

* fix all languages

* revert language changes

* removed unnecessary removeJSComments from challenges

* fix challanges in other languages

* removed removeJSComments from all challanges
2021-04-28 10:18:54 -05:00
Sem Bauke
20cbfce484 chore(client) remove contextual navigation (#41919) 2021-04-28 08:10:43 -05:00
Sem Bauke
4d83779b2e fix(curriculum): intellisense suggenstion box should not be visible (#41918) 2021-04-27 09:27:53 -07:00
Tom
e79e212912 fix(curriculum): helper function regex s flag causing error (#41910) 2021-04-23 22:59:33 +02:00
Shaun Hamilton
d3f59e6d5d fix(dev): rename superBlock with v7 to certSlug (#41738)
* fix(dev): rename superBlock with v7 to slug

* improve name slug -> certSlug

* superBlockTitle -> superBlock

* correct teeny, tiny mistake

* fix: correct slug to certSlug in certLocation

* refactor currentCerts

* rename showCert cert -> certSlug and various
2021-04-23 22:29:17 +03:00
Shaun Hamilton
96e8dbc58f fix(client): replace lookbehind in transformEditorLink (#41889) 2021-04-22 19:06:33 +05:30
Shaun Hamilton
fd955635e5 feat(client): transform app url to editor (#41858) 2021-04-20 14:47:42 -07:00
gracewest333
90fe009374 feat(client): add placeholder text to forum posts (#41849) 2021-04-18 19:40:26 +03:00
Hassaan Pasha
9ce5a09593 fix (client): added editor refs to all the instances of Editor to enable hotkey focus (#41757) 2021-04-13 13:29:41 +02:00
Michael Parkadze
081f79060d fix(client): update search results links to open in new tab (#41734) 2021-04-12 15:29:01 +07:00
Ahmad Abdolsaheb
f075837311 feat: create action row and style Multi-file editor (#41579)
* feat: add action row & style editor

* fix: separate conditional for splittter and reflex element

* fix: move jaws whenever a line is deleted or added

* feat: keep line indicator inside editable region

* feat: add submit button and restyle decorator

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-04-09 13:18:54 -07:00
Gil Joseph Klein
6325c071fb fix: typo in APIs and Microservices (#41746) 2021-04-09 11:00:18 +03:00
Ahmad Abdolsaheb
d5d786049e feat(api): stripe checkout integration (#41666)
* feat: add api stripe checkout integration

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-04-02 15:33:34 +09:00
Ahmad Abdolsaheb
9d15b43415 feat: isolate production and staging analytics (#41648)
* feat: isolate production analytics

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-03-30 06:45:54 -07:00
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
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
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