Commit Graph

4038 Commits (118def7b24859c8e10ea3c93b26a88e0e24b5501)

Author SHA1 Message Date
camperbot 98bf5d72de
chore(i18n,client): processed translations (#46642) 2022-06-25 00:24:17 +09:00
Naomi Carrigan 74a03ce0e5
feat: only 3 attempts before showing buttons (#46641)
* feat: only 3 attempts before showing buttons

* fix: linter
2022-06-24 08:27:18 +03:00
Dario-DC 1cd3cedc74
feat: new italian footer (#46634)
new footer
2022-06-23 19:21:12 +02:00
camperbot 81f4feb3be
chore(i18n,client): processed translations (#46630) 2022-06-23 21:34:10 +05:30
Oliver Eyton-Williams 44b1a3dab5
fix(client): inject user's script.js contents correctly (#46627)
With this change the preview should function as if the user had written
a script with script.js's contents.  <script src="script.js"> is
replaced, so the script element's position in the html matters.
2022-06-23 16:34:29 +01:00
Oliver Eyton-Williams 9046d70b67
fix: use certification hours consistently (#46442)
* fix: use certification hours consistently

Since the value appearing on the /learn map was hardcoded, it could have
gone out of sync with the certifications, which were relying on
certification-settings.

Also, for simplicity (and because it's hard to estimate accurately), all
the certifications are set to 300 hours.  Fullstack being the exception,
as it is a set of certifications.

* feat: remove the hours from the map
2022-06-23 14:24:33 +03:00
Naomi Carrigan 4e8ab1634b
feat: update the new rwd intro (#46624) 2022-06-22 15:14:29 -05:00
Oliver Eyton-Williams 22bb60196a
chore: update stripe (#46604) 2022-06-22 16:59:39 +03:00
camperbot f69864913d
chore(i18n,client): processed translations (#46601) 2022-06-21 19:44:03 +05:30
renovate[bot] 19f27fe3f8 chore(deps): update dependency webpack-cli to v4.10.0 2022-06-21 05:24:28 +00:00
Shaun Hamilton 7a91407184
fix(client): handle verification of full-stack cert once (#46588) 2022-06-20 13:14:22 -07:00
camperbot e95c76022b
chore(i18n,client): processed translations (#46583) 2022-06-20 18:28:03 +05:30
renovate[bot] 1d793e011e
chore(deps): update codesee to v0.284.0 (#46562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 15:48:43 +05:30
renovate[bot] 17cc61dfe1
fix(deps): update dependency typescript to v4.7.4 (#46560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 15:48:19 +05:30
renovate[bot] 03daea6fde fix(deps): update dependency react-i18next to v11.17.2 2022-06-20 07:05:56 +00:00
renovate[bot] c3b96b4504 fix(deps): update dependency react-ga to v3.3.1 2022-06-20 00:00:59 +00:00
renovate[bot] 5834cb3ad6 chore(deps): update babel monorepo to v7.18.5 2022-06-18 10:30:31 +00:00
Bruce Blaser bcb048a93b
fix(a11y): improve RWD challege grid accessibility (#45957)
* fix: improve RWD challege grid accessibility

* fix: change wording from challenge to step

* fix: improve keyboard focus indicator on step links

* fix: style jump link as button

* fix: accessible background color for completed steps

* refactor: make steps a nav region

* refactor: remove duplicate selector

* fix: enhance focus indicator on jump link

* fix: TS type

* refactor: remove unneeded CSS

* chore: resolve conflict

* chore: translate accessible name on nav

* fix: remove h4 from button

* fix: add course name to toggle button

* fix: improve accessibility of course stats on toggle button

* fix: prefix step links with sr-only "Step"

* fix: add start project button

* refactor: remove unnecessary spaces

* fix: clean up styles

* Update client/src/templates/Introduction/intro.css

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-06-17 15:45:40 +03:00
Radi Totev 9e51b59584
feat: show sign in button for unauthenticated users (#46401) 2022-06-16 13:47:30 +02:00
camperbot d4234c256b
chore(i18n,client): processed translations (#46507) 2022-06-15 15:17:07 +02:00
camperbot 8f57a8c976
chore(i18n,client): processed translations (#46496) 2022-06-14 21:09:31 +05:30
Bruce Blaser 46450b802c
fix(a11y): improve challenge test suite results accessibility (#45802)
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-06-14 12:09:25 +05:30
camperbot e559212f67
chore(i18n,client): processed translations (#46484) 2022-06-14 03:14:08 +09:00
renovate[bot] b4cef73d28
fix(deps): update dependency reselect to v4.1.6 (#46459)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 12:38:32 +05:30
Renovate Bot 2d2f019e4a fix(deps): update dependency react-instantsearch-dom to v6.27.0 2022-06-12 23:41:23 +00:00
Renovate Bot 0a9b4a4ece chore(deps): update codesee to v0.280.0 2022-06-12 17:16:31 +00:00
Renovate Bot 42eec9ca1c fix(deps): update dependency react-i18next to v11.17.1 2022-06-12 14:18:22 +00:00
Oliver Eyton-Williams 55e71cb599
fix: slightly improve logging from promises (#46422) 2022-06-10 22:28:38 +05:30
camperbot 5a5272a67c
chore(i18n,client): processed translations (#46439) 2022-06-10 23:04:24 +09:00
camperbot 961a41de21
chore(i18n,client): processed translations (#46420) 2022-06-10 02:03:50 +05:30
Radi Totev c0e0dcfef9
chore: improve spelling (#46421) 2022-06-09 16:18:35 +02:00
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