Commit Graph

28861 Commits

Author SHA1 Message Date
Pranav Joglekar
d947d8c975 fix: add test to ensure the innerText of labels doesn't change (#43803)
For the check-radio-buttons-and-checkboxes-by-default exercise,
campers are able to pass the exercise if the checked attribute is
written in an incorrect syntax. This PR checks the innerText of the
elements which are being added the 'checked' attribute and ensures that
their value doesn't change.
Fixes #43750
2021-10-11 21:21:30 +02:00
Oskar F
20fd622b67 Update .gitignore with vim files (#43774) 2021-10-11 10:46:34 +02:00
Ahmad Abdolsaheb
f56a5617ac feat: add tailwind theme support (#43616)
* feat: add tailwind theme support

* feat: simplify config
2021-10-11 10:38:44 +03:00
Renovate Bot
8db6fa6b32 chore(deps): update dependency lint-staged to v11.2.3 2021-10-10 22:42:40 +00:00
camperbot
bdd33a5fe7 chore(i18n,curriculum): update translations (#43795) 2021-10-10 22:18:16 +02:00
camperbot
2d916e3b1f chore(i18n,docs): update translations (#43801) 2021-10-10 22:17:35 +02:00
camperbot
54652e34e7 chore(i18n,learn): update translations (#43773) 2021-10-10 10:38:02 -07:00
Renovate Bot
d551967970 chore(deps): update dependency @testing-library/user-event to v13.3.0 2021-10-10 10:58:37 +00:00
Renovate Bot
986345e43f chore(deps): update dependency lint-staged to v11.2.2 2021-10-09 22:47:31 +00:00
Prathamesh Gawas
d3708422dd fix(curriculum): add test to check if the original variable is edited (#43791)
* fix: add test to check if variable is edited

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/remove-whitespace-from-start-and-end.md

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-09 19:45:10 +02:00
Renovate Bot
0e2f5f0074 chore(deps): update dependency lint-staged to v11.2.1 2021-10-09 07:09:21 +00:00
Renovate Bot
0c4d757e73 chore(deps): update codesee to v0.110.1 2021-10-09 01:20:31 +00:00
Oliver Eyton-Williams
461e429598 fix(client): prevent jumping between editor tabs (#43771) 2021-10-08 22:14:15 +01:00
Renovate Bot
bba3b6f8a4 chore(deps): update dependency webpack to v5.58.1 2021-10-08 18:14:22 +00:00
Renovate Bot
31f1eaabc5 chore(deps): update dependency jest to v27.2.5 2021-10-08 16:56:47 +00:00
camperbot
dfe45bcc8e chore(i18n,curriculum): update translations (#43776) 2021-10-08 14:51:42 +01:00
camperbot
a78c476b3b chore(i18n,docs): update translations (#43772) 2021-10-08 14:56:46 +02:00
Renovate Bot
ac3cbdabee chore(deps): update codesee to v0.109.0 2021-10-08 04:05:00 +00:00
Renovate Bot
28084d5e1f chore(deps): update codesee to v0.108.0 2021-10-08 00:14:46 +00:00
Renovate Bot
2e19ea217f chore(deps): update dependency webpack to v5.58.0 2021-10-07 18:09:06 +00:00
Nicholas Carrigan (he/him)
d7abed9456 fix: index.md generation (#43763) 2021-10-07 18:21:55 +02:00
renovate[bot]
abc831f24f fix(deps): update gatsby monorepo (#43737)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 21:39:41 +05:30
camperbot
ff58255b26 chore(i18n,curriculum): processed translations (#43760) 2021-10-07 21:38:50 +05:30
Nicholas Carrigan (he/him)
571b4c0354 fix: remove lint translations (#43762) 2021-10-07 21:38:25 +05:30
Tom
80b1905cd0 feat(curriculum): replace placeholder text with intros for rdbms section (#43589)
* feat: add introsos for rdbms

* Update client/i18n/locales/english/intro.json

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* Update client/i18n/locales/english/intro.json

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

* Update client/i18n/locales/english/intro.json

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

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-10-07 17:14:01 +02:00
camperbot
b7bb8a5e9c chore(i18n,client): processed translations (#43759) 2021-10-07 12:43:26 +00:00
camperbot
f069173edb chore(i18n,docs): processed translations (#43758) 2021-10-07 14:37:51 +02:00
renovate[bot]
25783b7929 fix(deps): update dependency nanoid to v3.1.29 (#43736)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 18:06:02 +05:30
Ahmad Abdolsaheb
982a6e90d4 feat: add placeholder color to card form (#43757) 2021-10-07 18:03:39 +05:30
renovate[bot]
be73864bd5 fix(deps): update dependency @stripe/react-stripe-js to v1.6.0 (#43734)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 16:17:18 +05:30
Renovate Bot
f518a2039f chore(deps): update dependency webpack-cli to v4.9.0 2021-10-07 07:54:57 +00:00
Renovate Bot
f95909f53f chore(deps): update codesee to v0.106.1 2021-10-07 04:47:10 +00:00
Renovate Bot
c9bec74729 chore(deps): update storybook monorepo to v6.3.10 2021-10-07 02:56:10 +00:00
renovate[bot]
9816a2c6fb chore(deps): update dependency webpack to v5.57.1 (#43733)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-07 07:00:42 +05:30
Renovate Bot
536eef3be9 chore(deps): update babel monorepo to v7.15.8 2021-10-06 23:33:34 +00:00
Oliver Eyton-Williams
e3e794ddef fix(client): only jump to editable region on reset (#43748)
If the code has changed without the user typing (e.g. they've pushed
the restart button), then we jump them back to the editable region.
Otherwise (e.g. they've typed in the editor) we reset the display, but
do not move the editor.
2021-10-06 14:09:04 -07:00
Lim Shang Yi
df8dc9b9c6 fix(ui): Fix crash when viewing an invalid certificate (#43681)
* fix: remove empty object literal creation causing #43224

* fix: initialize userByName selector using empty object from initialState to keep the same reference instead

* fix(lang): added translation for invalid certificate
2021-10-06 21:05:05 +02:00
Niraj Nandish
7824f13f5f feat: auto clean client cache when SHOW_UPCOMING_CHANGES value changes (#43747)
* feat: auto clean client cache on env var change

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-10-06 21:07:08 +05:30
camperbot
e6b3c90983 chore(i18n,curriculum): update translations (#43746) 2021-10-06 17:36:48 +02:00
Oliver Eyton-Williams
c8d7f0a782 feat(tools): remove eslint-plugin-prettier for prettier (#42438)
* feat: remove eslint-plugin-prettier for prettier

This removes the annoying lint warnings when all that needs to change is
formatting

* fix: use .js lint-staged config to ignore properly

* fix: lint everything if a lot of files are changed

It's faster than making lots of individual linter calls

* chore: apply prettier

* fix: ignore code in curriculum-file-structure
2021-10-06 21:02:21 +05:30
Noor Fakhry
8518079316 fix(client):make menu bar disappear after user chooses item from it on landing page (#43458)
* removed serachBarRef

* removed serachBarRef

* Revert "removed serachBarRef"

This reverts commit 6a5c2f4cb3.

* Revert "removed serachBarRef"

This reverts commit 67710b3d18.

* added innerRef as ref to SearchBarOptimized component

* Update client/src/components/Header/index.tsx

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

* Update client/src/components/search/searchBar/search-bar-optimized.tsx

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

* Update client/src/components/search/searchBar/search-bar-optimized.tsx

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-06 16:42:54 +02:00
Budbreaker
bc802cbbbd feat: added warning for unreachable server (#43576)
* feat: added warning for unreachable server

* fix: update initial state in test file

* fix: make offline warning scroll with page

* adjust z-indexes for warning banners

* add hyperlink for offline warning
2021-10-06 15:18:02 +02:00
Oliver Eyton-Williams
83354c5632 fix: stop using .night to control theme (#43745)
.light-palette and .dark-palette should be enough, so there's no need
to attach the default or night classes to the html element
2021-10-06 11:30:15 +01:00
Kristofer Koishigawa
580f57cf5f feat: add code highlighting to descriptions in the new editor (#43740) 2021-10-06 11:26:22 +02:00
Oliver Eyton-Williams
b0d48b8463 fix: reset editor display on user interaction (#43730)
If the user types in the editor or pushes the reset button, the lower
jaw now resets to the default state.
2021-10-06 12:22:00 +03:00
Tomer Ben-Rachel
4ffc06e014 fix: correct theme when viewing certifications challenges solutions 2021-10-06 11:05:52 +02:00
Ilenia
78e28e2bd3 fix: reset regex.lastIndex when tests use test method (#43695)
* added regex.lastIndex = 0 to tests

* typo
2021-10-06 16:14:50 +09:00
Renovate Bot
5c4e90d24d chore(deps): update codesee to v0.105.0 2021-10-06 03:17:30 +00:00
renovate[bot]
4c038a8a13 chore(deps): update dependency jest-json-schema-extended to v1.0.1 (#43705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-06 07:19:19 +05:30
Renovate Bot
bed3a1413a chore(deps): update dependency mongodb to v3.7.2 2021-10-05 23:49:22 +00:00