Commit Graph

29475 Commits

Author SHA1 Message Date
Tom
c2aa8ce3e5 fix: make completion modal a little more accessible (#44508)
* fix: make completion modal a little more accessible

* remove: unneeded aria attribute

* fix: update snapshots
2021-12-16 11:17:12 +01:00
3355487dcb chore(deps): update codesee to v0.152.0 2021-12-16 04:25:26 +00:00
Tom
1605dbb21f fix: grammar in private profile flash message (#44510) 2021-12-15 17:14:21 -08:00
4051b76c60 chore(deps): update dependency @types/node to v16.11.14 2021-12-16 00:27:17 +00:00
5a8efaf4a4 feat: show card to signed in users (#44509) 2021-12-15 22:43:26 +03:00
Tom
580a51f7a7 fix: simplify mobile layout tabs (#44431)
* fix: simplify mobile layout tabs

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


Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-12-15 13:52:44 +00:00
62071589d3 chore(i18n,learn): update translations (#44506) 2021-12-15 12:44:14 +00:00
5e0ebe1b57 fix(deps): update dependency @stripe/react-stripe-js to v1.7.0 2021-12-15 10:21:08 +00:00
5e66a30ac1 chore(deps): update codesee to v0.151.0 2021-12-15 08:20:13 +00:00
d06d976be4 feat(learn): add Implement Binary Search - Coding Interview Prep - Algorithms Challenges (#44386)
* basic challenge create, with two tests

* updated test

* minor update

* rewrote tests, making many out of one test func

* completed coding challenge and ran tests local

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search-method.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Ilenia <nethleen@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Ilenia <nethleen@gmail.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Ilenia <nethleen@gmail.com>

* renamed doc, fixed typo, made testing consistent

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Update curriculum/challenges/english/10-coding-interview-prep/algorithms/implement-binary-search.md

Co-authored-by: Ilenia <nethleen@gmail.com>

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: Eric Cheng <ericcheng9316@gmail.com>
Co-authored-by: Ilenia <nethleen@gmail.com>
2021-12-14 21:16:22 -06:00
483010b87b fix(deps): update dependency @babel/standalone to v7.16.6 2021-12-15 02:25:05 +00:00
b57cf4ffa7 fix: store completed js projects in redux (#44496)
* fix: store completed js projects in redux

These were missed when we migrated from files to challengeFiles

* test: put the data-cy on the correct button

Rather than the fallback. The tests were only passing because the
fallback was kicking in and, since that was fixed, the tests started to
fail!
2021-12-14 17:59:53 -06:00
5bf5b36c9c chore(deps): update dependency @types/node to v16.11.13 2021-12-14 20:48:32 +00:00
Tom
5c4233a39a remove: unused dispatches from multifile editor (#44493) 2021-12-14 10:18:37 -08:00
3b560deab6 refactor: stop spreading challenge over the node (#44499)
* refactor: stop spreading challenge over the node

Instead of creating a Gatsby node with id of challenge.id, we create a
single node field that has all the challenge data.

While this makes the GraphQL queries more verbose, it means we're free
to create multiple nodes with the same challenge.id.

* test: update time-line test for new GQL schema

* test: update mocks with new GQL schema
2021-12-14 12:11:20 -06:00
755f27093c chore(i18n,curriculum): update translations (#44498) 2021-12-14 09:04:33 -08:00
1642c631de refactor: drop superorder from metas (#44422)
* refactor: create superOrder from superblock

* chore: drop superOrders from meta

* fix: return null for 'certifications'

* fix: only set superOrder if it is needed

* fix(tests): remove filter from order tests

* test: use getSuperOrder, since superOrder has gone

* test: ignore certificates

* fix: getSuperOrder throw for 'certifications'

* test: remove certificate special case

It wasn't necessary, anyway (it had never been working because I put
certificate not certification)

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-14 08:16:23 -08:00
d4f490419f chore(i18n,learn): update translations (#44497) 2021-12-14 14:43:29 +00:00
34f19bd698 fix(i18n): include period in translatable string (#44474)
* fix: include period in translatable string

* chore: update snapshot

* fix: combine 2 strings into 1

* fix: add placeholder

* fix: update snapshot

Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
2021-12-14 14:42:57 +00:00
6819cf5e1b chore(deps): update typescript-eslint monorepo to v5.7.0 2021-12-14 10:19:29 +00:00
0d8145307f chore(deps): update dependency @rollup/plugin-node-resolve to v13.1.1 2021-12-14 08:33:42 +00:00
73c1ca1b4a fix(deps): update dependency typescript to v4.5.4 2021-12-14 04:46:42 +00:00
5a1414e247 chore(deps): update babel monorepo to v7.16.5 2021-12-14 02:42:46 +00:00
bb05b67c47 chore(deps): update dependency jest to v27.4.5 2021-12-14 00:42:53 +00:00
b4b3ecd5ce fix(curriculum): remove unnecessary quotation marks (#44486) 2021-12-13 13:32:34 -08:00
7ccf418f10 fix(deps): update dependency react-i18next to v11.15.1 2021-12-13 19:53:10 +00:00
fc3756656a chore(i18n,curriculum): update translations (#44484) 2021-12-13 16:41:12 +00:00
cd9c57a8c5 feat(client): optimize donation form for holiday alert (#44482)
* feat(client): optmize donation form for holiday alert

* feat: remove key from i18n
2021-12-13 08:25:21 -08:00
129083de97 chore(i18n,docs): update translations (#44483) 2021-12-13 15:33:40 +00:00
361794aacd chore(deps): update dependency postcss to v8.4.5 2021-12-13 03:50:05 +00:00
ae7535299e fix(deps): update dependency @loadable/component to v5.15.2 2021-12-12 10:50:35 +00:00
9c386c829f fix(client): prevent unusual commas in iframe (#44477)
* fix: Moved src files in the head

* fix: Removed excess indents

Co-authored-by: Canopius <canopius@DESKTOP-KJC5QOG.localdomain>
2021-12-11 20:33:46 +01:00
4564b71d0e fix(client): i18n news configs (#44463)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-12-11 22:40:27 +05:30
a4dc160399 chore(i18n,docs): update translations (#44472) 2021-12-11 13:45:35 +00:00
d896de60d9 chore(i18n,learn): update translations (#44473) 2021-12-11 13:18:37 +00:00
76f39a748d chore(deps): update dependency rollup to v2.61.1 2021-12-11 11:31:06 +00:00
48f88428e8 test: login more directly (#44467)
* test: login more directly

* test: separate login from other visits

In a single test, Cypress can only visit within a single domain, hence
the separation.

* chore: fail slowly for all strategies

* test: user certified user for showing cert

* test: fix and cleanup certifications
2021-12-11 14:34:16 +05:30
8fb945c5a8 fix(deps): update dependency react-i18next to v11.15.0 2021-12-11 00:16:52 +00:00
6ce8738fc0 refactor: remove useless warning (#44465) 2021-12-10 14:35:46 -08:00
a2f799866f feat(learn): enable ukrainian certifications (#44454)
* feat(learn): enable ukrainian certifications

* fix: add algolia config

* chore: apply suggestions from code review

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
2021-12-10 22:11:52 +01:00
6fe6bab4a5 fix(deps): update dependency @stripe/stripe-js to v1.22.0 2021-12-10 21:04:32 +00:00
32e59efb23 docs: enable ukrainian docs (#44450) 2021-12-10 17:46:05 +00:00
9f0e26fddb docs: update steps to enable translation (#44464) 2021-12-10 18:39:02 +01:00
40def2d291 chore(i18n,docs): update translations (#44453) 2021-12-10 23:02:33 +05:30
3f62615f8d docs(devops): update npm version to v8 (#44455) 2021-12-10 17:26:21 +00:00
010e09ffb7 chore: migrate untranslated files (#44462) 2021-12-10 21:28:00 +05:30
f8eec5d3fb chore: migrate required files (#44461) 2021-12-10 15:22:45 +00:00
efe5d419f3 chore(i18n,client): processed translations (#44456) 2021-12-10 06:46:21 -08:00
ecc964996b chore(i18n,curriculum): processed translations (#44457) 2021-12-10 06:45:49 -08:00
466224fb24 chore(deps): update dependency jest to v27.4.4 (#44451)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-10 19:42:45 +05:30