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
Shaun Hamilton
cd722a0e7f
fix(client): change repl.it validation to replit for migration ( #41457 )
2021-03-15 19:37:43 +05:30
Nicholas Carrigan (he/him)
f1c8a9825b
fix(i18n,client): translatable cta url ( #41384 )
2021-03-12 17:14:54 -07:00
Mrugesh Mohapatra
6c91f81b0e
chore(deps): upgrade eslint, prettier & related packages
2021-03-11 12:19:42 +05:30
Ahmad Abdolsaheb
aac49e9a40
fix(client): modernize stripe form ( #41359 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-03-10 20:33:55 +05:30
gikf
e213c9f581
fix(client): use block for video challenge right breadcrumb ( #41397 )
2021-03-07 10:06:17 -08:00
Tegar D Pratama
2630dc03d7
fix: block-cta-wrapper breaking the layout in mobile view. ( #41299 )
...
* fix: client bug in mobile view
* fix: show card title elemenbts in column on small screens
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com >
2021-03-04 14:05:50 -08:00
Shaun Hamilton
36f58bcfdf
fix(client): update store after any submission ( #41329 )
2021-03-05 02:31:18 +05:30
Mayank Verma
01a7a8c320
fix(i18n): add i18next keys for ShowProjectLinks ( #41239 )
...
* Add required keys for translating ShowProjectLinks
* Use i18next keys for translation
2021-03-01 15:47:52 +01:00
Randell Dawson
2b326e9714
fix(client,i18n): Use block for front end / back end projects and back end challenge right breadcrumb ( #41276 )
2021-02-27 02:38:34 +05:30
Mrugesh Mohapatra
b5f4754e2a
fix: re-revert the API decoupling ( #41263 )
...
* fix(api): decouple api from curriculum
This reverts commit 8f0e441644
and
introduces the implementations from #40703 .
* fix(gitpod): add curriculum build to GitPod
This reverts commit 706d70f58d
and
introduces implementations from #41234 .
* docs: update DevOps manual for api change (#41259 )
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-02-25 12:02:35 -08:00
Oliver Eyton-Williams
f4e1fe11fc
fix: error reporting ( #41249 )
2021-02-25 20:09:28 +05:30
Mrugesh Mohapatra
8f0e441644
revert(api): decouple api from curriculum
...
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30
Sem Bauke
5a3903f4ec
fix(client) fixed icon height in containers ( #41086 )
...
* fix for the containers not having a fixed height and icon sizes
2021-02-24 12:50:05 +01:00
Sachin Diwate
5fa7d2ec14
fix(client): Private timeline doesn't hide certs #41171 ( #41224 )
2021-02-23 09:02:15 -06:00
Oliver Eyton-Williams
e363bb9810
fix: ensure babel presets load ( #41233 )
...
In rare cases, loadPresetReact could get into a race with itself. In
these cases the first call would set presetReact and the second call
would exit early as a result. This would mean babelOptionsJSX would be
undefined and the transformation would fail.
2021-02-23 20:22:20 +05:30
Oliver Eyton-Williams
f8699a8d55
refactor: simplify challenge.block usage ( #41185 )
2021-02-23 09:52:48 +05:30
Ahmad Abdolsaheb
11428ef5ff
fix(client): make certification responsive ( #41222 )
2021-02-22 19:00:25 +05:30
manziEric
dd8202d7fa
fix: update certification page padding-bottom ( #41158 )
...
* fix: update certification page padding-bottom
* fix: update lastpull request remove padding-bottom from certification.css
2021-02-22 16:59:37 +05:30
manziEric
0c28a2c755
fix: update notification bar z-index ( #41160 )
...
* fix: update notification bar z-index
* fix: update notification bar z-index to 100
* fix: update z-index to 100 in flash.css
2021-02-22 13:12:24 +03:00
Oliver Eyton-Williams
c077ffe4b9
feat(api): decouple api from curriculum ( #40703 )
2021-02-22 12:23:59 +05:30
Shaun Hamilton
d70e33c1d2
feat(i18n): url validation translations ( #41190 )
2021-02-20 10:32:44 +05:30
Shaun Hamilton
b2ec1a3ef4
feat(client): add common links to formValidators regex ( #41094 )
...
* feat(client): add repl join link to formValidators regex
* add fCCRegex to validators
2021-02-19 12:43:54 +01:00
Andrei Kochkin
d7d25f502d
fix(client): Don't truncate challenge titles ( #41124 )
...
* Add wrap to challenge title
* Remove max-height from challenge title
2021-02-18 07:47:16 -06:00
Shaun Hamilton
fa8163fe7a
fix(client): add t to ShowProjectLinks props ( #41139 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-02-17 21:15:32 +05:30
Ahmad Abdolsaheb
05a97d19fb
fix: adjust donation confirmation text ( #41140 )
2021-02-16 23:52:52 +03:00
Madan Kumar
b083b58913
fix(client): remove extra 'hours' from /donate page ( #41113 )
2021-02-16 10:34:00 +01:00
Oliver Eyton-Williams
97fcaa693f
refactor: only use dasherized superBlock ( #41067 )
2021-02-13 10:36:04 +05:30
Shaun Hamilton
73f8377d68
fix(client): add key to Fragment in SuperBlockIntro ( #41091 )
2021-02-13 10:35:07 +05:30
Tom
36d374fb4e
fix(i18n): localize cert dates in correct format ( #41041 )
...
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com >
2021-02-12 15:31:57 +05:30
Oliver Eyton-Williams
e28ad04cb5
fix(i18n): remove 'help translate' from English ( #41066 )
2021-02-12 15:30:55 +05:30
Nicholas Carrigan (he/him)
1e0c09faff
fix(i18n, client): use placeholder on map ( #41064 )
...
Modifies the translation flow for the certification buttons on the
learn/landing map to pass the superBlock title to the string as a
placeholder. This will allow translators to restructure the order
of the sentence (i.e. certification and hours) based on language-
specific grammar structures.
2021-02-12 10:16:11 +01:00
Tom
32eade41b1
feat(client): improve navigation experience with scrolling ( #41042 )
2021-02-11 23:52:04 +05:30
Oliver Eyton-Williams
6c1f6bebed
feat: label un-audited challenges ( #41002 )
...
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com >
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com >
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com >
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com >
2021-02-11 18:10:32 +05:30
Shaun Hamilton
0bdff7c2ed
fix(client): undent dents caused by dedent ( #41052 )
...
* fix(client): undent dents caused by dedent
* remove one more unnecessary indent caused by dedent
* remove dedent
* add: dedent with no indentation
* correct line breaks
2021-02-11 12:12:51 +05:30
Kristofer Koishigawa
1e9dc8cea5
fix: remove algolia indices and urls from translations ( #41043 )
2021-02-11 00:11:51 +05:30
Nicholas Carrigan (he/him)
e195eb1ebe
fix(tools): better tests for navlinks ( #41021 )
...
Fixes the tests for the NavLinks component to remove the need
for magic numbers when travelling the DOM tree.
2021-02-10 17:02:00 +05:30
Shaun Hamilton
f157eda1af
fix(client): allow editor links for Py submissions ( #41036 )
...
* fix(client): allow editor links for Py submissions
* add isEditorLinkAllowed to PropTypes
2021-02-10 17:01:08 +05:30
Nicholas Carrigan (he/him)
2c4c679a92
fix(client, i18n): translate mobile tabs ( #41030 )
2021-02-10 13:05:36 +05:30
Kelvin Sánchez
0a7278774e
fix(client): remove external prop on 'donate' link ( #41023 )
2021-02-10 05:04:10 +05:30