Commit Graph

4157 Commits (ec3d6deb35c20391c1673fda9347cccea8f946e2)

Author SHA1 Message Date
Bruce Blaser 4f54125e76
fix:enable default mouse/touch events on monaco content widget (#46217)
* fix:enable default mouse events on monaco content widget

* add touch event handling

* initial test of scroll gutter

* disable scroll gutter

* re-enable gutter scroll as content widget

* move scroll gutter over line numbers

* fix: bug in moving scroll gutter over line numbers

* CSS adjustments to put scroll gutter over line numbers

* fix: scroll gutter height

* fix: make scroll gutter width responsive

* refactor: consolidate event handlers

* refactor: simplify args to createWidget
2022-06-09 12:07:40 +05:30
camperbot 89f78e4d8c
chore(i18n,client): processed translations (#46402) 2022-06-08 22:43:46 +05:30
Prathamesh Gawas f803d60be1
fix: multiple redirects after account deletion (#46350) 2022-06-08 07:48:17 -07:00
Oliver Eyton-Williams 3361419e87
fix: set _csrf to be httpOnly (#46366)
There's no need for JS to access it, so we can safely set it to be
httpOnly
2022-06-08 16:54:23 +03:00
camperbot ecfac5733c
chore(i18n,client): processed translations (#46381) 2022-06-07 14:00:36 -03:00
Oliver Eyton-Williams f0f44ca315
feat(client): re-enable failed update re-submission (#46064)
* refactor: return response with data from ajax

Because we still need to manipulate the data coming back from the server
(files -> challengeFiles) and we want to keep ajax.ts as the interface
between client and server we need to return the manipulated data with
the response.

* feat: re-enable failed updates flushing

* test: failed updates get resubmitted and flushed

* fix: convert settings requests to use { data }

* refactor: use preserveSession
2022-06-07 17:52:23 +03:00
Jordan Moore fcf2dd7254
fix(UI): Remove 'CTRL + Enter' on CTA for mobile (#46239)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-06-07 18:20:16 +05:30
camperbot 44b47e9e87
chore(i18n,client): processed translations (#46368) 2022-06-06 20:18:18 +05:30
Muhammed Mustafa e7d7702e25
fix(client-UI): view button takes full width (#45964)
* added class to td so it takes full width

* added width 100% to dropbox components

* removed excessive code

* limit the max space dropdown takes

* `view` takes the same size as `show-solution`

* undo previous change

* view takes the same size as show-solution

* fix: static width for buttons on small screen

* fix: remove max-width cause iocd

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-06-06 08:43:48 +02:00
Renovate Bot e5ed578541 fix(deps): update dependency react-i18next to v11.17.0 2022-06-06 00:45:41 +00:00
Renovate Bot 9ad8bf5435 chore(deps): update dependency webpack to v5.73.0 2022-06-05 15:30:20 +00:00
Renovate Bot 4ff5d480c0 chore(deps): update codesee to v0.276.0 2022-06-05 05:48:10 +00:00
Renovate Bot 902ca385ee fix(deps): update dependency typescript to v4.7.3 2022-06-05 03:43:47 +00:00
Renovate Bot 366e18e339 fix(deps): update babel monorepo to v7.18.4 2022-06-05 01:42:33 +00:00
Renovate Bot b3ed01b226 chore(deps): update dependency ts-node to v10.8.1 2022-06-04 19:54:43 +00:00
Radi Totev e581bd9081
feat(client): shortcuts legend modal available on pressing the `?` key (#45530)
* Add modal texts in translations.json file

* Add shortcuts modal state in redux

* Create shortcuts modal

* Integrate shortcuts modal

* Resolve codefactor.io issues

* Extend list of shortcuts

Based on this comment:
https://github.com/freeCodeCamp/freeCodeCamp/issues/36841#issuecomment-933310078

* Remove temporary placeholder for modal title

* Open modal fom Hotkeys instead of learn.tsx

As suggested in this comment:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1101224993

* Complete list in transaltions

* Change shortcut presentation fo better a11y

Use table instead of list items as suggestedin this comment:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1101796368

* Add aria-labelledby

* Remove GAnalytics

* Remove leftover style

* Remove table caption

* autofocus on modal close button

* Improve modal a11y

- Add requested changes from https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1104764766
- Leave autofocus and parent div role=dialog changes for later. (https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1107754148)

* [WIP] Alllow users to turn off keyboard shortcuts

* Add keyboard shortcuts switch in settings

* Disable shortcuts

* Remove toggle switch description

* Refactor and cleanup

* Remove close button from modal header

Suggested by bbsmooth:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1107861091

* Fix lint issues

* Disable shortcuts

* Disable shortcuts by default

* Update challenge output test

* Update challenge-hot-keys test

* Disable shortcuts from inside handlers

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2022-06-03 09:57:52 -07:00
Sem Bauke 345268019c
fix(client): reduce line number bar width (#46309) 2022-06-03 15:01:08 +02:00
SadmanSyfe 12d742a4f0
fix(client): prevent lower jaw breaking on code evaluation (#46154)
* Fix(issue:#46062)

* feat: render based on earliest available lower jaw conditions

* fix: persist challenge completion properly

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-06-03 12:10:49 +02:00
Oliver Eyton-Williams f55a4c48db
test: tighten up two more cypress tests (#46273)
* test: tighten up user-token

This should be faster and a little more reliable.  before should have
worked, but beforeEach seems more reliable, so I'm trying it.

* test: use a single test for intro-page

Should be more robust as well as a lot faster.
2022-06-03 11:44:20 +03:00
Ahmad Abdolsaheb 78090c76ca
feat(client): contextually show reset step button (#46272)
* feat: show reset step button contexually

* feat: rename render function

* fix:clean up

* feat: open a reset step modal
2022-06-02 19:34:31 +02:00
camperbot 9b67298008
chore(i18n,client): processed translations (#46293) 2022-06-02 12:36:46 -03:00
Ahmad Abdolsaheb aead146554
feat(client): center login button (#46287)
* feat(client): center login button

* feat: remove unused file
2022-06-02 17:34:29 +03:00
Shaun Hamilton b2da57881c
chore(client): remove console log (#46275) 2022-06-01 20:16:45 +02:00
Shaun Hamilton 33e0bb79d7
fix(client): add mathjax to intermediate-algorithm-scripting (#46270) 2022-06-01 20:01:22 +05:30
camperbot fd7fe273bc
chore(i18n,client): processed translations (#46268) 2022-06-01 07:09:14 -07:00
Bruce Blaser d2332093f6
fix(a11y): main menu a11y updates (#45137)
* fix: main menu a11y updates

* update font menu

* fix: sign in button text alignment

* fix: disabled button font

* fix: language menu font

* remove sign-in from main menu

* fix: add section dividers to menu

* fix: height on language selector menu

* fix: alignment of Menu button text

* fix: language globe icon

* refactor: remove dup selector

* update language menu colors

* refactor: clearer name for language menu display state

* fix: don't close onBlur if Menu button is clicked

* refactor: move globe icon styling to CSS

* refactor: get rid of switch statements

* refactor: remove try catch block

* fix: translate Change language button

* fix: move search into nav menu for mobile layout

* fix: forgot a merge

* refactor: updates for changes in i18n/all-langs

* fix: prevent menu from collapsing when focus is on change language button and user clicks into search

* fix: translate cancel change option in language picker

* feat: add cypress tests

* feat: display the complete language list

* fix: fix TS typing

* fix: force scrollbar on lang menu

* fix: remove scroll bar from lang menu

* fix: close menu when user tabs away from last menu item

* add list role to navigation list to appease Safari

* chore: capitalize Change Language/remove CSS comment

* fix: right side search box alignment in narrow view

* remove extraneous list role

* fix: cypress

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-06-01 10:39:26 +03:00
Lasse Jørgensen 6d89576b6c
fix(curriculum): don't block fragment links (#46246) 2022-06-01 12:56:19 +05:30
Oliver Eyton-Williams ed865269a6
test: fix donate page for existing donors (#46255) 2022-05-31 23:06:35 +01:00
camperbot ec73d8f0b1
chore(i18n,client): processed translations (#46249) 2022-05-31 18:33:48 +05:30
Niraj Nandish d67a617e47
fix(client): prevent code duplication when using help button (#46232)
* fix(client): prevent code duplication when using help button

* feat(client): comment file name when opening issue in forum

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-05-30 22:29:28 +05:30
Sem Bauke 2790362df8
feat: instruction hiding with button (#46086)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-05-30 18:50:32 +05:30
renovate[bot] 4a1d223429
fix(deps): update dependency react-reflex to v4.0.9 (#46206)
* fix(deps): update dependency react-reflex to v4.0.9

* fix(deps): update dependency react-reflex to v4.0.9

* fix(client): chore to remove unneeded ts comment

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-05-30 18:50:01 +05:30
Renovate Bot 36bd34f5ca fix(deps): update dependency typescript to v4.7.2 2022-05-30 00:38:12 +00:00
Renovate Bot 37c43a2218 fix(deps): update dependency @stripe/stripe-js to v1.31.0 2022-05-29 18:45:06 +00:00
Renovate Bot 7a0843ffde chore(deps): update codesee to v0.272.0 2022-05-29 06:02:03 +00:00
Renovate Bot 63875a3c23 fix(deps): update dependency @stripe/react-stripe-js to v1.8.1 2022-05-29 03:27:51 +00:00
Renovate Bot 6878cb781d fix(deps): update dependency @babel/standalone to v7.18.3 2022-05-28 21:55:34 +00:00
Jordan Moore 5f7d87daf0
feat: add project name on timeline for challenges completed RWD (#46181) 2022-05-28 10:45:03 +05:30
Oliver Eyton-Williams b60cffd190
fix: update path of webpack bundles (#46180)
With this both the bundles and their chunks will have the correct path
names
2022-05-27 19:36:05 +02:00
Mrugesh Mohapatra 2be170c09d
chore: delete _headers file from Netlify days (#46176) 2022-05-27 19:57:20 +05:30
Oliver Eyton-Williams 02955791bc
fix: use standard path names for chunks (#46160) 2022-05-27 18:22:03 +05:30
Bruce B 8d90c02747
fix(a11y):add main landmark to super block intro (#46168) 2022-05-27 10:52:49 +02:00
Tom 658b48ba62
fix: third-party cookie issues with CodeAlly login (#46090) 2022-05-26 21:44:10 +05:30
Ahmad Abdolsaheb 97423f7a2f
feat: add a leading submitChallenge debounce (#46085)
* feat: reduce submitChallenge debounce

* feat: register the leading call

* fix: presist debounce calls

* Update client/src/templates/Challenges/classic/editor.tsx

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-26 21:43:12 +05:30
Kristofer Koishigawa 739ee60995
fix: display certs on profile for username with upper chars (#46118) 2022-05-26 15:03:49 +05:30
renovate[bot] e2daf1e252
chore(deps): update babel monorepo (#46095)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-25 18:51:20 +05:30
Naomi Carrigan ef841bdfb0
fix: throw sound into local storage (#46123) 2022-05-23 12:29:54 -05:00
Renovate Bot d9bca07121 fix(deps): update dependency react-instantsearch-dom to v6.26.0 2022-05-22 05:23:27 +00:00
Renovate Bot 5f9fd2c075 chore(deps): update dependency ts-node to v10.8.0 2022-05-22 02:09:40 +00:00
Renovate Bot 4f57b5260e fix(deps): update dependency @stripe/react-stripe-js to v1.8.0 2022-05-21 21:18:09 +00:00
Renovate Bot 26152fc096 chore(deps): update codesee to v0.265.0 2022-05-21 18:23:18 +00:00
Renovate Bot d49305c929 fix(deps): update dependency algoliasearch to v4.13.1 2022-05-21 15:19:47 +00:00
Renovate Bot 0f1a67d692 chore(deps): update dependency postcss to v8.4.14 2022-05-21 12:44:36 +00:00
Sem Bauke c3e1ba4390
fix(client): prevent iframe from duplicating by using preventDefault (#46082)
* fix: prevent iframe from duplicating

* fix: remove old stuff

* fix: changes

* fix: change wording

* Update client/src/templates/Challenges/utils/frame.ts

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2022-05-21 09:59:28 +04:00
camperbot 1037b39cf1
chore(i18n,client): processed translations (#46083) 2022-05-20 11:02:06 -07:00
Radi Totev ea4cedd3f2
chore(client): typescript migration - utils/frame.js (#46075)
* Change extension to .ts

* Resolve ts issues

* Update test:curriculum script
2022-05-20 14:59:08 +02:00
Bruce B 3d9293f14b
fix(a11y): improve accessibility on completed Step heading (#46047)
* fix: improve accessibility on completed Step heading

* fix: add translation
2022-05-20 13:29:03 +02:00
Naomi Carrigan b9f3345721
feat: update endpoints (#45688) 2022-05-19 21:52:38 +05:30
Niraj Nandish d4e01b66fb
chore: TS migrate `MultifileEditor` (#45857) 2022-05-19 21:14:22 +05:30
camperbot 43024a32aa
chore(i18n,client): processed translations (#46068) 2022-05-19 19:46:46 +05:30
Ahmad Abdolsaheb 23fe76f103
feat: add two second debounce to confirm username validity check intention (#46067) 2022-05-19 07:49:06 -05:00
Oliver Eyton-Williams 58482b9d98
test: skip the failed-updates-epic tests for now (#46053) 2022-05-18 11:13:00 -07:00
Oliver Eyton-Williams 85375e7621
fix: temporarily prevent the client from retrying (#46050) 2022-05-18 10:44:56 -05:00
Sem Bauke cef1ef1db7
fix: update settings in batch (#46040)
* fix: update settings in batch

* fix: make buttons update

* fix: tests (hopefully)

* fix: cypress promise error

* fix: use submit instead of onclick

Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2022-05-18 17:54:50 +03:00
Radi Totev aaca146d2b
fix(client): show checkmark for completed challenges in new RWD (#46038) 2022-05-18 18:57:53 +05:30
camperbot d5dc65f98d
chore(i18n,client): processed translations (#46044) 2022-05-18 15:22:36 +02:00
Tom 26def9309f
chore: check if canClaimCert before calling backend (#46029)
* chore: check if canClaimCert before calling backend

* refactor: make canClaimCert declarative

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-18 14:11:03 +03:00
Ahmad Abdolsaheb d89b129d18
feat(client): combine editor submission and execution calls (#46037)
* feat: combine submission and execution calls

* refactor: rename the click listeners

onChallengeSubmission sounds like something that will get called in
response to challenge submission, not something that will trigger it

* fix: create one debounced function

* fix: use lodash-es

Otherwise we'll include all of lodash in the bundle.

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-18 14:34:39 +04:00
DanielRosa74 f64ddd7bda
Adding Portuguese top30 links to footer (#46008)
* Adding Portuguese top30 links to footer

Changing the links on the Trending List of the footer on the Portuguese editorial to the top 30 Portuguese articles

* fix(i18n): shortened titles for Trending List

Shortened titles as per suggestion. Thanks, @ieahleen!

* fix(i18n): changed last long title - line 14

Changed last long title - line 14
2022-05-18 09:49:25 +02:00
Muhammed Mustafa ac027b0447
fix(client): added `.text-center` to modal title (#46022) 2022-05-18 02:08:32 +05:30
Oliver Eyton-Williams 301c2a598a
fix: comments out update-my-current-challenge call (#46028) 2022-05-18 02:07:29 +05:30
Naomi Carrigan 2fbdfa5d09
feat: add ask for help button (#45636)
* feat: add ask for help button

* feat: move button to test output area

* feat: track number of attempts

* feat: add ask button to buttons container

* feat: restructure lower jaw

* feat: adjust the lower jaw styles

* fix: unmount component

* feat: restructure the lowerjaw

* fix: move aria live region to encompass both status and hint

* feat: rebase main

* feat: remove lower jaw update from test useEffect

* fix: output viewzone resize on output change

* fix: change encouragement message based on attemps

* fix: maintain lowerjaw height when tests run

* feat: remove set height and clear feedback

* fix: adjust lower jaw state on reset

* fix: focus submit button when challenge is completed

* fix: add aria-hidden after 500ms

* add translations

* fix: clean up

* feat: fade in test feedback after each attempt

* feat: make lower jaw accessible

* fix: clean up

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Bruce B <bbsmooth@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-05-17 21:22:03 +05:30
Tom 3503b473cc
fix: remove update-current-challenge call (#46019) 2022-05-17 08:44:55 -07:00
Tom b7155694d9
fix(curriculum): interfering style elements (#46000)
* fix: interfering style elements

* fix: node tests

* fix: allow style tags or styles.css
2022-05-17 21:13:36 +05:30
Shaun Hamilton a993c21b9f
chore(client): remove naomi's code (#46017) 2022-05-17 19:21:58 +04:00
camperbot 9e5874e8e1
chore(i18n,client): processed translations (#46011) 2022-05-17 19:24:56 +05:30
Shaun Hamilton e296dd5b55
fix(client): add debounce to challenge submission (#46009)
* fix(client): add debounce to challenge submission

* add timeout to shortcut

* add clear for dep
2022-05-17 15:17:05 +02:00
Shaun Hamilton bcbbf8ace4
chore(client): reorder and rename rwd changes (#45972)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-05-16 19:40:18 +05:30
camperbot 2c76d8e62b
chore(i18n,client): processed translations (#45990) 2022-05-16 07:04:18 -07:00
Naomi Carrigan fe71a9cf25
feat: new js cert (#45873)
* chore: move files

* wip: i have no idea what i am doing

* feat: finish up the logic

* chore: use order from randy sheet

* chore: standardise titles

* feat: fix layout for new js projects

* fix: utils test

* fix: challenge tests

* fix: ignore show new curriculum on non-english tests

* chore: help category????

* fix: if these tests would fail locally that'd be great

* chore: duplicate ids
2022-05-16 11:53:45 +02:00
Renovate Bot 9486daaf08 chore(deps): update codesee to v0.259.0 2022-05-15 17:40:56 +00:00
Renovate Bot 3d46de6999 fix(deps): update dependency react-reflex to v4.0.8 2022-05-15 13:09:22 +00:00
Renovate Bot 70cbfb1497 fix(deps): update dependency react-instantsearch-dom to v6.24.3 2022-05-15 11:35:41 +00:00
Renovate Bot da9ddb2d9c chore(deps): update dependency webpack to v5.72.1 2022-05-14 22:21:10 +00:00
Renovate Bot 6f8dab6c4f chore(deps): update dependency redux-saga-test-plan to v4.0.5 2022-05-14 19:48:04 +00:00
Naomi Carrigan d808d726f4
fix: add scrollable anchor to grid project block (#45954) 2022-05-14 09:17:20 +02:00
Oliver Eyton-Williams 538e7c787b
feat: improve file insertion (#45942) 2022-05-14 10:06:26 +05:30
Ekansh Baweja 0dd9fc8d4f
fix(client): Code solution modal on timeline (#45953) 2022-05-14 10:03:23 +05:30
camperbot d5f6a8f23a
chore(i18n,client): processed translations (#45944) 2022-05-13 15:27:53 +02:00
Naomi Carrigan 0677464b68
feat: banner for updated RWD (#45936) 2022-05-12 21:38:20 -07:00
Ilenia a1df6056b0
chore(i18n): new italian footer (#45934)
* new articles footer

* fixed order of titles
2022-05-13 00:54:15 +05:30
Hassaan Pasha fadd2b1d13
fix: code duplication in tests for create-language-redirect (#45925) 2022-05-12 20:13:40 +05:30
camperbot b0733cfedc
chore(i18n,client): processed translations (#45927) 2022-05-12 20:11:26 +05:30
Tom 898d6eafa3
fix: cert project links going to english (#45923)
* fix: cert project links going to english
2022-05-12 13:29:10 +05:30
Abdelmalek Ennani d1fe6b3eaf
fix(client): remove unexpected duplicate "height" (#45911)
I deleted an Unexpected duplicate "height" property
2022-05-12 11:13:21 +05:30
Muhammed Mustafa 8da87f4d58
fix(client): duplicates and zero length units (#45909)
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2022-05-11 11:20:39 -07:00
camperbot f3189a8705
chore(i18n,client): processed translations (#45915) 2022-05-11 21:14:14 +05:30
ned-park 6fded30b51
fix(client): remove unneeded explicit padding-bottom (#45910) 2022-05-11 10:47:14 +05:30
Ahmad Abdolsaheb 9e61fe17fb
feat: add may 22 footer (#45901) 2022-05-10 11:23:07 -07:00
camperbot 750e9fce08
chore(i18n,client): processed translations (#45904) 2022-05-10 10:57:07 -07:00
Naomi Carrigan 23b4be71d7
feat: release RWD from beta (#45865)
* feat: release RWD from beta

* feat: replace beta banner with legacy banner

* feat: update project links

* fix: cypress tests

* fix: map selector

* chore: legacy verbiage

* chore: remove isBeta flag

* fix: go back url verbiage

* feat: separate order for i18n

* fix: curriculum utils test

* fix: cypress

* tests: use data-cy for robustness

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-10 11:44:23 -05:00
Benjamin Rio 1457c362c1
fix(client): remove duplicate css properties (#45902) 2022-05-10 10:03:53 -05:00
Bruce B c25634c05e
fix(a11y): beta RWD course toggle button accessibility (#45544)
* fix: beta RWD course toggle button accessibility

* refactor: passing props to icons

* simplify prop name and give it a default value

* remove console log

* fix: added translations

* refactor: announce percentage of course completed to screen readers

* fix: variable name typo

* fix: add a clear separation between course title and status
2022-05-09 16:27:50 +03:00
Tahseen Islam 7ab15bd4ce
fix(client): remove duplicate css properties (#45889) 2022-05-09 08:57:45 +02:00
Brandon Barricklow 60cb648734
fix(client): remove duplicate css properties (#45891) 2022-05-09 08:55:23 +02:00
Renovate Bot 80fd6d8c7e chore(deps): update codesee to v0.253.0 2022-05-07 20:32:40 +00:00
Renovate Bot 8f35a6bc10 fix(deps): update dependency react-instantsearch-dom to v6.24.2 2022-05-07 18:06:21 +00:00
Renovate Bot d6191a5aee fix(deps): update dependency react-i18next to v11.16.9 2022-05-07 15:29:19 +00:00
Renovate Bot eeb93e85cc fix(deps): update dependency nanoid to v3.3.4 2022-05-07 12:11:17 +00:00
Ahmad Abdolsaheb e3bc038457
feat(donation): set donor cookie (#45808) 2022-05-07 14:53:01 +09:00
Renovate Bot 9a0b00090a chore(deps): update dependency autoprefixer to v10.4.7 2022-05-07 04:55:23 +00:00
Ahmad Abdolsaheb 0ef633c373
feat: a/b test lock icon button (#45868) 2022-05-06 15:06:48 +02:00
Oliver Eyton-Williams 08b60ffb25
fix: hot reload (#45871) 2022-05-06 12:44:14 +01:00
Tom f04fbba22d
feat: convert RWD cert projects (#44564)
* feat: convert RWD cert projects

* feat: convert original projects

* fix: add usesMultiFileEditor to meta

* feat: add cypress tests for saving and loading to/from database

* fix: broken cypress tests

* fix: inconsistent variable naming

* fix: missed variable name

* fix: more cypress

* feat: add solutions for english

* fix: ctrl+s to database only if signed in

* fix: prioritize code from db

* refactor: expand the comments slightly
2022-05-05 10:58:14 +02:00
Bruce B 00123db8c4
fix(a11y): place textarea between the jaws (#45803)
* fix: place textarea between the jaws

* refactor: convert upper jaw to content widget

* fix: upper jaw shift on restart button

* fix: reset height of lower jaw on restart

* fix: upper jaw width resizing

* fix: placement of upper jaw on editor resize

* chore: remove unnecessary code

* chore: add useful comment

* refactor: create function to set height on test feedback
2022-05-03 11:38:33 -07:00
camperbot 548ba35699
chore(i18n,client): processed translations (#45839) 2022-05-03 18:07:07 +02:00
Sem Bauke 0895925520
chore: certification test to TypeScript (#45847)
* chore: cerfication test to TypeScript

* fix: add types
2022-05-03 15:51:04 +02:00
Renovate Bot 54e0d121ac fix(deps): update dependency react-instantsearch-dom to v6.24.0 2022-05-03 05:00:39 +00:00
Sem Bauke c3be968092
feat: migrate locale test to ts v2 (#45793)
* feat: migrate locale test to ts v2

* fix: langCodes

* fix: locale test

* fix: nav dropdown

* fix: header test

* fix: use type predicates

* refactor: DRY up all-langs

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-05-02 17:53:30 +02:00
Sem Bauke c41687fa7e
chore: convert error test to TypeScript (#45841) 2022-05-02 08:19:55 -07:00
Renovate Bot 3f7805ff5a chore(deps): update codesee to v0.250.0 2022-05-01 22:02:17 +00:00
Renovate Bot debfcbe382 fix(deps): update dependency typescript to v4.6.4 2022-05-01 14:55:26 +00:00
Renovate Bot fe7b40df7f fix(deps): update dependency final-form to v4.20.7 2022-05-01 12:38:25 +00:00
Renovate Bot 9f0dbc3390 fix(deps): update dependency @sentry/gatsby to v6.19.7 2022-05-01 10:27:21 +00:00
Renovate Bot 4a62801098 chore(deps): update dependency postcss to v8.4.13 2022-05-01 05:49:29 +00:00
Renovate Bot 1da0b48181 chore(deps): update babel monorepo 2022-04-30 06:34:08 +00:00
camperbot 542b19651d
chore(i18n,client): processed translations (#45806) 2022-04-29 09:54:44 -07:00
camperbot 6d2b211921
chore(i18n,client): processed translations (#45794) 2022-04-29 00:58:52 +09:00
Naomi Carrigan 0d749d7ff0
feat: enable RWD on i18n (#45587) 2022-04-25 19:00:27 +01:00
Mrugesh Mohapatra 00900de075
feat: add security.txt file (#45775) 2022-04-25 18:31:22 +02:00
camperbot e899581875
chore(i18n,client): processed translations (#45773) 2022-04-25 15:35:04 +02:00
Renovate Bot 05195e1cc3 fix(deps): update dependency redux to v4.2.0 2022-04-24 04:20:06 +00:00
Renovate Bot 5062845014 chore(deps): update dependency autoprefixer to v10.4.5 2022-04-23 23:46:07 +00:00
Renovate Bot d71a22c794 fix(deps): update dependency @stripe/stripe-js to v1.29.0 2022-04-23 21:47:03 +00:00
Renovate Bot 301d8be420 chore(deps): update codesee to v0.242.0 2022-04-23 19:44:07 +00:00
Renovate Bot 7e50096954 fix(deps): update dependency react-instantsearch-dom to v6.23.4 2022-04-23 17:45:01 +00:00
Renovate Bot 75b2669e90 fix(deps): update dependency react-i18next to v11.16.7 2022-04-23 15:52:21 +00:00
Renovate Bot 2094b450b1 fix(deps): update dependency nanoid to v3.3.3 2022-04-23 13:24:21 +00:00
Renovate Bot 8ebbe84972 fix(deps): update dependency @stripe/react-stripe-js to v1.7.2 2022-04-23 10:44:32 +00:00
camperbot 766ae44972
chore(i18n,client): processed translations (#45734) 2022-04-20 09:44:57 -07:00
Matheus Pormanhani 888c9ca75e
chore: migrate client/components/formHelpers/Form.test.js to TS (#45726) 2022-04-20 14:37:54 +02:00
Bruce B 361a21e29f
fix: remove alt text from icons (#45730) 2022-04-20 08:38:34 +02:00
Oliver Eyton-Williams 2432fbb428
fix: create config files before linting (#45723) 2022-04-19 08:27:19 -07:00
Oliver Eyton-Williams 1017738090
fix: encode image urls (#45722) 2022-04-19 08:06:33 -07:00
camperbot be2b5c62b1
chore(i18n,client): processed translations (#45724) 2022-04-19 07:44:21 -07:00
Bruce B 647469a479
fix(a11y): beta RWD feedback for code check (#45579)
* fix: beta RWD feedback for code check

* cleaned up comments

* move colon on hint heading to CSS

* fix: keep status message box size consistent
2022-04-19 14:34:15 +03:00
Naomi Carrigan 58235a42c6
fix(a11y): wcag contrast issue on search icon (#45716)
* fix: hack the colours

* Revert "fix: hack the colours"

This reverts commit bd60d44c84.

* fix: global sr-only approach

* fix: motivation author colour
2022-04-18 22:47:48 -07:00
Matheus Pormanhani be29e37a69
chore: typescript migration of components/settings/Honesty.test.js (#45713)
* chore: renamed file to .tsx

* chore: migrate components/settings/Honesty.test.js to .tsx

* fix: update Honesty.test.tsx snapshot
2022-04-18 09:03:44 -07:00
camperbot a8bb1c01c4
chore(i18n,client): processed translations (#45710) 2022-04-18 06:58:21 -07:00
renovate[bot] 6ed7a3ceb7
chore(deps): update dependency prismjs to v1.28.0 (#45707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-18 19:03:05 +05:30
Renovate Bot 15e7be4141 chore(deps): update codesee to v0.234.0 2022-04-18 02:10:05 +00:00
Renovate Bot 0e4030e1bc fix(deps): update dependency react-i18next to v11.16.6 2022-04-17 22:06:40 +00:00
Renovate Bot 3c54a53055 chore(deps): update dependency @testing-library/react to v12.1.5 2022-04-16 13:14:12 +00:00
Renovate Bot 0f7415234b fix(deps): pin dependency @sentry/gatsby to 6.19.6 2022-04-16 04:11:39 +00:00
camperbot 049689bbd8
chore(i18n,client): processed translations (#45681) 2022-04-15 14:14:15 -03:00
Tristan Toye dfe5a7fd05
Add Sentry to client for error handling (#43920)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-04-15 09:54:02 -05:00
Oliver Eyton-Williams 4cc20172c5
fix: fallback to english challenges (#45635)
* fix: fallback to english challenges

All challenges will use the english version if a translated file is not
available.  SHOW_NEW_CURRICULUM still gates what's shown in the client.

* refactor: use closures to simplify createChallenge

* refactor: remove messy destructure

* refactor: add meta via helper

* fix: fallback to [] for meta.required

* fix: repair challenge.block

* refactor: use CONST_CASE for meta + challenge dirs

* fix: catch empty superblocks immediately

* fix: clean up path.resolves

* fix: invalid syntax in JS project steps

* fix: default to english comments and relax tests

Instead of always throwing errors when a comment is not translated, the
tests now warn while SHOW_UPCOMING_CHANGES is true, so that tests will
pass while we're developing and allow translators time to work.

They still throw when SHOW_UPCOMING_CHANGES is false to catch issues
in production

* test: update createCommentMap test

* refactor: delete stale comment

* refactor: clarify validate with explanatory consts

* feat: throw if audited cert falls back to english

* fix: stop testing upcoming localized curriculum
2022-04-15 09:17:49 -05:00
Tom e0a5fcdb8e
fix: add message about third-party cookies (#45672) 2022-04-13 20:56:16 +05:30
Mrugesh Mohapatra 9ea7018740
Merge pull request from GHSA-cc3r-grh4-27gj
* feat: restrict update-user-flag endpoint

* feat(api): add dedicated-endpoints for user

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-04-13 20:51:31 +05:30
camperbot f40a2c6da1
chore(i18n,client): processed translations (#45669) 2022-04-11 19:34:09 +05:30
Renovate Bot c1e442a064 fix(deps): update dependency react-i18next to v11.16.5 2022-04-11 00:06:57 +00:00
Renovate Bot 44fb360cba fix(deps): update dependency @stripe/stripe-js to v1.27.0 2022-04-10 21:59:41 +00:00
Renovate Bot 6fda1f1473 chore(deps): update dependency webpack to v5.72.0 2022-04-10 19:58:25 +00:00
Renovate Bot 999a5e66a7 fix(deps): update dependency react-i18next to v11.16.3 2022-04-10 14:49:03 +00:00
Renovate Bot b64e2f481f chore(deps): update codesee to v0.227.0 2022-04-10 06:00:09 +00:00
Renovate Bot 520db30828 fix(deps): update dependency react-instantsearch-dom to v6.23.3 2022-04-10 03:47:24 +00:00
Renovate Bot 6ed07d5823 fix(deps): update dependency @stripe/react-stripe-js to v1.7.1 2022-04-10 01:54:38 +00:00
camperbot a963286612
chore(i18n,client): processed translations (#45644) 2022-04-09 19:01:10 +09:00
Renovate Bot ae4603ca98 chore(deps): update dependency @testing-library/jest-dom to v5.16.4 2022-04-09 05:40:30 +00:00
Renovate Bot b55f61c6ef chore(deps): update babel monorepo to v7.17.9 2022-04-09 02:55:43 +00:00
Oliver Eyton-Williams 1d87c3c4f2
fix: handle missing sound saga payloads (#45645) 2022-04-08 18:57:57 +01:00
Alessia Vanni 4f3b131a4b
chore: Added article links in italian footer (#45586)
* Update trending.json

Added 30 articles from the column "Published" on Trello

* Update trending.json

Replaced the first thirty titles and links

* Update trending.json

Ho ridotto la lunghezza di alcuni titoli (<=28 caratteri) e spostato la parentesi di chiusura su una nuova riga

* Add missing comma

* JSON formatting

* fixed titles length

* Apply suggestions from code review

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>

Co-authored-by: Ilenia <nethleen@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2022-04-08 12:55:45 +02:00
Ahmad Abdolsaheb fbc84c6647
feat: update footer Apr 2022 (#45638) 2022-04-08 09:08:33 +02:00
camperbot 5a681766ab
chore(i18n,client): processed translations (#45639) 2022-04-07 09:56:53 -07:00
Muhammed Mustafa 9e5816c0c9
fixed a typo in basic-node-and-express intro (#45640) 2022-04-07 16:26:38 +02:00
Ahmad Abdolsaheb 4034c59ba2
feat(client): add secure donation border to donation form (#45637)
* feat: add secure donation border to donation form

* feat: add string to translations

* Apply suggestions from code review

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

* feat: cleanup and reorder logic

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-04-07 13:24:42 +01:00
camperbot 4005d65123
chore(i18n,client): processed translations (#45632) 2022-04-07 11:28:03 +02:00
Naomi Carrigan 0c35edb4d6
feat: change monaco shortcut (#45627)
* feat: change monaco shortcut

* fix: oops I lost the eslint-enable comment

* feat(tests): add cypress tests
2022-04-07 14:10:34 +05:30
camperbot 5145d3dcfe
chore(i18n,client): processed translations (#45620) 2022-04-05 12:16:39 +02:00
Tiffanie Alcaide 5b0250241a
chore(client): migrate i18n/configForTest.js to TS (#45624) 2022-04-04 19:44:17 +00:00
renovate[bot] 27b71f5e1e
fix(deps): update dependency nanoid to v3.3.2 (#45607)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 19:11:19 +05:30
Bruce B 31cbbc3501
fix: update light theme code example color contrast ratios (#45603) 2022-04-04 16:27:38 +03:00
Tom 3d242179b2
fix: make crtl+s save to appropriate location (#45406)
* fix: crtl+s for multifile cert projects

* fix: remove unused code

* feat: add limit on save frequency
2022-04-04 15:32:43 +03:00
Renovate Bot f43de0969e fix(deps): update dependency @stripe/stripe-js to v1.26.0 2022-04-03 19:43:07 +00:00
Renovate Bot 88ac6c51f0 chore(deps): update dependency webpack to v5.71.0 2022-04-03 16:53:04 +00:00
Renovate Bot 12078b6831 chore(deps): update codesee to v0.223.0 2022-04-03 07:12:44 +00:00
Renovate Bot 11611cff28 fix(deps): update dependency react-instantsearch-dom to v6.23.1 2022-04-03 03:17:56 +00:00
Renovate Bot 2b52a9854b fix(deps): update dependency react-final-form to v6.5.9 2022-04-02 20:18:04 +00:00
sjkadali ca33332a38
chore(challenges-utils): Typescript migration of Challenges util postUpdate$.js (#45601)
* Rename to .ts

* Typescript migration of Challenges/utils/postUpdate$.js
2022-04-02 11:58:11 +02:00
camperbot f6c903fccc
chore(i18n,client): processed translations (#45598) 2022-04-01 11:01:55 -07:00
Tom 9f753a5662
feat: let users save cert project code to db (#44700)
* feat: let users save cert project code to db

fix: move getChallenges call out of request function so it only runs once

fix: use FlashMessages enum

fix: transform challengeFiles earlier

test: make tribute page use multifile editor

stuff I was playing with - revert this to get it to a working state

refactor: allow undefined editableRegionBoundaries

fix: save history

history is not necessarily ["name.ext"] and using the incorrect history
could cause weird bugs

fix: replace files -> challengeFiles on the client

refactor: DRY out ajax

fix: use file -> challengefile map

refactor: rename ajax types

fix: alphatize flash-messages.ts

revert: tribute page project

fix: remove logs

fix: prettier

fix: cypress

fix: prettier

fix: remove submitComplete action

fix: block UI for new projects

fix: handle code size

* fix: catch undefined files

* fix: don't default to undefined when it's already the default

* fix: only update savedChallenges if applicable

* fix: dehumidify backend + fine tune nearby stuff

* fix: prop-types

* fix: dehumidify sagas

* fix: variable name

* fix: types

* Apply suggestions from code review

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

* fix: typo

* fix: prettier

* fix: props types

* fix: flash messages

* Update client/src/utils/challenge-request-helpers.ts

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

* chore: rename function uniformize -> standardize

* fix: flash message

* fix: add link to forum on flash messages

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-03-31 10:34:40 -05:00
camperbot d9d363b6fe
chore(i18n,client): processed translations (#45573) 2022-03-30 06:58:34 -07:00
Mrugesh Mohapatra 111a402378
fix(client): add loader for email sign up (#45560)
Add a loader for the buttons.

Co-authored-by: Oliver Eyton-Williams ojeytonwilliams@gmail.com
2022-03-29 15:42:28 +05:30
Mrugesh Mohapatra b2a96e0a09
fix(client): sign up for email list directly (#45508)
* fix(client): sign up for email list directly

* fix: remove extraneous code
2022-03-28 19:51:58 +05:30
Renovate Bot 3375a94677 fix(deps): update dependency react-instantsearch-dom to v6.23.0 2022-03-28 04:13:13 +00:00
Renovate Bot 3cd35e8aec fix(deps): update dependency gatsby-plugin-advanced-sitemap to v2.1.0 2022-03-27 22:30:27 +00:00
Renovate Bot b046847b7d chore(deps): update codesee to v0.216.0 2022-03-27 16:10:59 +00:00
Renovate Bot 1177e8182d fix(deps): update dependency typescript to v4.6.3 2022-03-27 13:20:09 +00:00
Renovate Bot a4a0cbc209 fix(deps): update dependency react-i18next to v11.16.2 2022-03-27 04:02:35 +00:00
Renovate Bot fbb34d2810 chore(deps): update dependency @testing-library/jest-dom to v5.16.3 2022-03-26 06:00:37 +00:00