Commit Graph

2077 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
7d77a202ec feat(client): use updateMySocials not updateUserFlag (#46380)
* feat: use updateMySocials not updateUserFlag

* fix: replace updateUserFlag with updateMyTheme

* fix: show social icons

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

* fix: delete social booleans from client

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-09-30 16:18:23 +03:00
Hdanzo
c4f7e45832 feat: standardize view button text (#47525)
* feat: standardize view button text

Add new translation keys Delete unused translation keys Fix tests broken with new functionalities

* Delete View variations in translations.json
Delete buttons tittle
Modify buttons text to be "View" or translated equivalent
Modify tests to query the buttons by role and name

Co-authored-by: HDAnzo <hdanzoategui@softwarenatura.com>
2022-09-30 10:39:33 +03:00
Oliver Eyton-Williams
d879e1df21 fix: stop mutating store when toggling settings (#47654) 2022-09-29 10:44:11 -05:00
Shaun Hamilton
73c3edb56a fix: certification to private on private timeline (#45562)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-09-29 00:00:22 +05:30
Muhammed Mustafa
afb861be9d fix(client): making misclicking sign out harder (#46644)
* added hover and focus effect on signout

* increase spacing by increasing the height

* I remembered why I hated react so much

* will come back after the meeting

* cleared 10 types error

* fix: make lang menu more keyboard accessible

* increased button specificity and switch to navlink to focus better

* added className for future style when the fuction is functional

* this is funny

* slowly comming together

* will create the function tomorrow morning

* signout is read only bug

* Removed the need for enlist

* Update client/src/components/Header/components/nav-links.tsx

* Update client/src/components/Header/components/nav-links.tsx

* Props fails, I am removing enlist errors and implementing types

* Update client/src/components/Header/components/nav-links.tsx

Co-authored-by: Moshe <shootermv@gmail.com>

* half of eslint no unsafe call

* No issue without this eslint as well

* Couldn't fix enlist issue

* same error

* Removed eslint error

* no-unsafe-member enlist error

* Clear enlist error

* cleared type errors

* remove eslint no unsafe memeber access

* no unsafe return eslint

* I have opened pandora box

* npm errors

* I am really lost

* Cleared some typescript errors, hopefully I can create the modal now

* added basic style and a plan

* modal show and hide functionality

Co-authored-by: wongwinnie198@gmail.com

* Revert "modal show and hide functionality"

This reverts commit 237e0b00c4.

* modal show and hide functionality

Co-authored-by: wongwinnie198 <wongwinnie198@gmail.com>

* clear type error

* interesting my first animation attempt failed

* removed the modal

* added color, it may be damaging accessiblity

* revert translation.json changes

* cleared unused types and type mistake I added before

* Revert key press naming changes

Co-authored-by: mmatsumoto1026 <mmatsumoto1026@gmail.com>

* changed hover effect to danger variables and fix change language hover

Co-authored-by: mmatsumoto1026 <mmatsumoto1026@gmail.com>

* add lang manu height to gerenic selector

* remove redundant code, make cansel change stay color stay blue

* Revert me mess around

* prettier format

* test cypress interaction and if it accounts for mobile design

* Revert "test cypress interaction and if it accounts for mobile design"

This reverts commit 9b01e78156.

* refactor search form

* add missing value units

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

Co-authored-by: Bruce B <bbsmooth@gmail.com>
Co-authored-by: Moshe <shootermv@gmail.com>
Co-authored-by: wongwinnie198 <wongwinnie198@gmail.com>
Co-authored-by: mmatsumoto1026 <mmatsumoto1026@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-09-28 15:57:14 +02:00
Shaun Hamilton
79c232c586 fix(client): prevent sound on every render (#47640) 2022-09-28 15:15:49 +09:00
Oliver Eyton-Williams
a2790190b2 refactor: saving portfolio items (#47635) 2022-09-27 21:10:01 +05:30
Ilenia
8135980cbb fix: change keyword for code highlighting on forum (#47625) 2022-09-27 13:19:21 +05:30
abe
67217160f6 fix: allow user to add one unsaved item at a time (#47567)
Co-authored-by: kravmaguy <flex4lease@gmail.com>
2022-09-27 12:17:58 +05:30
Bruce Blaser
3394c8aad2 fix(a11y): improve keyboard accessibility in tablist (#45866)
* chore: resolve conflicts

* fix: focus outline on console pane

* refactor: focus indicator on console pane

* chore: remove commented code

* chore: resolve conflicts

* chore: add newline to end of file

* chore: fixed for prettier's sake
2022-09-23 22:00:20 +05:30
Shaun Hamilton
fba4d99ff4 fix(client): remove dedent to dedent forum posts (#47578) 2022-09-21 11:51:28 -07:00
Ilenia
7c96fee948 fix: forum post template correct html comment (#47529) 2022-09-16 09:36:06 -05:00
Oliver Eyton-Williams
15309a88d0 fix: update lower jaw on ctrl enter (#47463)
* fix: update jaw on all ctrl-enter presses

* fix: show running tests while hiding feedback

Screenreaders still announcing running tests and then the output, and
the display now stops showing a flash of the new feedback message

* refactor: camelCase

* refactor: clean up and reduce renders

previousHint isn't really state, insofar as it changing should not
trigger a new render - a ref does the trick.

* chore: remove log

* fix: use ref to track latest attempts prop

* fix: allow lower jaw to trigger viewzone updates

React.render's callback cannot be relied on. It does not necessarily
get called on every update to the rendered element.

updateContainer is called on every render, so the editor will be
updated.

* refactor: attemptsNumber -> attempts

* fix: do not render on attempt changes

* refactor: more camelCase

* fix: try to prevent previous hint rendering

Co-authored-by:
Manabu Matsumoto <mmatsumoto1026@gmail.com>

* test: resetting of lower jaw

* fix: reset lower jaw when step is reset

* test: check congrats message appears on completion

* fix: hide feedback after reset

* fix: leave focus in the editor after passing tests

This is an attempt to work around a JAWS issue whereby the submit
shortcut (ctrl+enter) is ignored after the user passes all tests.

* test: submit button receives focus when tests pass

* fix: focus submit button when tests pass

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
2022-09-15 12:44:06 -05:00
Sem Bauke
8c83a96e93 feat: volume slider campfire mode (#47259)
* feat: volume slider campire mode

* fix: set a play sound interval

* fix: set volume to 50% if there is no volume key

* fix: add correct colors to progress bar

* fix: remove IE support

* fix: get slide value working in Chrome

* fix: remove space

* fix: actually use volume in the editor

* fix: add aria-label

* fix: set volume if not present in store

* fix: use label instead

* Apply Naomi's review on Toms suggestion

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

* fix: linting

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

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>

Co-authored-by: root <root@DESKTOP-EMNPVBP.localdomain>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
2022-09-15 15:42:03 +03:00
Oliver Eyton-Williams
9355406aed refactor: add explanation of instruction width (#47504) 2022-09-12 13:42:56 -07:00
renovate[bot]
5ff719a4c8 fix(deps): update font awesome to v6.2.0 (#47443)
* fix(deps): update font awesome to v6.2.0

* fix: update snapshots

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2022-09-12 17:16:32 +05:30
kulraj chavda
acc966ac31 add visual separation in Change language menu UI (#47418)
add visual seperation in Change language menu UI
2022-09-08 13:16:27 +05:30
Manabu Matsumoto
145521b3d4 fix(UI): restore keyboard accessibility (#47427)
* fix: restore keyboard accessibility

* fix/ make code easier to maintain
2022-09-06 19:21:38 +02:00
Tom
c280e8a363 feat: add preview popout window (#46251)
* feat: add preview popout window

* fix: remove unused

* fix: add title to window

* fix: add preview to window title

* feat: it works

* chore: clean up

* chore: more clean up

* fix: add better screen reader messages
2022-09-04 13:15:54 +02:00
Sem Bauke
57695d7d88 feat: add lang code to iframe (#47365)
* feat: add lang code to iframe

* feat: apply Naomi's code review

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

* fix: Iframe title test

* Apply suggestions from code review

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

* fix: hopefully things make sense

* fix: steal sem's idea for DOMParser

* fix: make the solution work on the main frame

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-08-30 09:30:02 -07:00
Naomi Carrigan
406d47deb0 feat: add search link to help modal (#47385)
Co-authored-by: =?UTF-8?q?Lasse=20J=C3=B8rgensen?= <28780271+lasjorg@users.noreply.github.com>
2022-08-29 16:12:50 +02:00
SadmanSyfe
ec3d6deb35 chore(client): Typescript migration of __mocks__/gatsby.js (#47334)
* chore(client): Typescript migration of __mocks__/gatsby.js

* chore(client): Typescript migration of __mocks__/gatsby.js
2022-08-26 17:27:08 -05:00
Shaun Hamilton
d66786d481 chore(client): clean-up lower-jaw logic (#47352)
* chore(client): clean-up lower-jaw logic

* fix: linter required node_modules
2022-08-26 16:06:14 -05:00
Naomi Carrigan
5e402e6955 feat: allow languages to be hidden (#47362) 2022-08-23 20:53:47 +02:00
Manabu Matsumoto
a3bc36cd48 fix(UI): make possible to reset challenge after tests pass (#47326) 2022-08-22 11:18:21 +02:00
Naomi Carrigan
ccad7f02ea feat: enable german (#47312)
* chore: set up lang config

* chore: migrate the manually translated files

Co-authored-by: Sem Bauke <semboot699@gmail.com>
Co-authored-by: Ilenia <nethleen@gmail.com>
2022-08-22 08:54:55 +02:00
Tom
404a14ce03 fix: make ctrl+enter work on mac (#47303) 2022-08-19 13:34:06 +02:00
Raquel Amorim
d96bff4428 fix(client): Fix print media queries for certificate (#46969)
* fix: add print media queries for certificate

* adjustments to printable certificate

* adjustments on margins and landscape printing

* adjustments
2022-08-15 16:46:46 +03:00
Manabu Matsumoto
41397df125 fix(ui): update a link for new campers (#47267)
* fix: update start at the beginning link

* fix: change the query's filter argument
2022-08-15 08:00:30 -05:00
Tom
136f60bbef feat: move rdb order to middle of superblocks (#46138)
feat: move rdb out of beta
2022-08-10 18:48:39 +02:00
renovate[bot]
1f8c08efbb fix(deps): update dependency @freecodecamp/loop-protect to v3 (#46801)
* fix(deps): update dependency @freecodecamp/loop-protect to v3

* refactor: preset definition to getBabelOptions

* refactor: pass in presets

* refactor: simplify getBabelOptions

* fix: use getBabelOptions

* refactor: use simpler names

* chore: update comment

* fix: destructure properly

* fix: remove default object

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-08-10 16:12:59 +01:00
Naomi Carrigan
b6115b9880 fix: adjust grid map css (#47159)
* fix: adjust grid map css

* feat: use grid instead

Co-authored-by: Bruce B <bbsmooth@gmail.com>

Co-authored-by: Bruce B <bbsmooth@gmail.com>
2022-08-10 11:00:30 +09:00
Muhammed Mustafa
e605233d3a feat(client): i18n link alert (#46755)
attach i18next to window, give window alerts access to i18next.t

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-08-09 11:58:36 +02:00
Hankai Xia
bc369e97d8 fix(client): worker executor task once (#46951) 2022-08-08 11:20:15 -05:00
Jagruti Tiwari
4e55be35bd feat: show reset button after submitting the code once (#47126)
* feat: shows reset after checking code once

* fix: changed conditions to hide and show help button
2022-08-04 17:13:34 +03:00
Naomi Carrigan
836ccb79b1 chore: resolve type coercion todo comment (#47036) 2022-07-28 09:18:08 +02:00
Sem Bauke
2440d3f43f chore(client): make curriculum helpers external (#46906)
* chore: make curriculum helpers external

* feat: add curriculum helpers as a package

* fix: use right preset?

* fix: update version with babel transpiled files

* fix: re-add fixture

* fix: declare as module

* fix: add declaration files in curriculum helpers

* fix: nothing with version 1.0.4

* fix: missing functions in package

* fix: remove old babel

* fix: linting
2022-07-27 19:00:37 +02:00
Oliver Eyton-Williams
167b94b223 fix(client): handle empty editor contents (#46986) 2022-07-25 15:18:53 +02:00
Ahmad Abdolsaheb
72a9e76ce5 feat: remove the mention of recurring donations. (#46948)
feat: remove the mention of ongoing donations
2022-07-19 08:39:45 -05:00
Radi Totev
8f19b1926b chore(client): typescript migration - utils/build.js (#46761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Luke Steinmann <92131626+lulululu12345@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
2022-07-19 11:54:38 +05:30
Oliver Eyton-Williams
0e8113b4af fix: allow users to submit after editing (#46939)
If a user runs the tests and they pass, the multifile editor will show a
submit button.  If the user then edited the page, it would no longer be
possible to submit.

This ensures the redux store keeps the original, passing, tests and lets
the user submit
2022-07-18 14:57:53 +02:00
Oliver Eyton-Williams
9421aa6041 fix: expand projects on map (#46937) 2022-07-18 11:34:19 +02:00
Bruce Blaser
0345244c43 fix(a11y): change headings in footer to h2 (#46932)
fix: change headings in footer to h2
2022-07-17 09:59:15 -07:00
renovate[bot]
f6f252eba8 chore(deps): update dependency eslint-plugin-react to v7.30.1 (#46664)
* chore(deps): update dependency eslint-plugin-react to v7.30.1

* fix: prettier

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-07-14 21:07:56 +05:30
Ilenia
0a2d0733a2 feat: simplify client logic (#46870)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-07-14 14:11:20 +05:30
sidemt
eea6f5195c fix(i18n): configure search Japanese publication (#46888) 2022-07-14 14:02:01 +05:30
Oliver Eyton-Williams
2f6eef61d4 fix: save project to redux on submit (#46791) 2022-07-13 15:20:02 +05:30
Ilenia
1a8899bfb8 feat: remove random id from forum topic title (#46869)
feat/remove random id from forum topic title

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2022-07-12 16:46:11 -07:00
Moshe
67cf5d63f2 fix(client): prevent navigating on failed submissions (#46734)
* fix(37615): avoid navigate to next challenge api fails

* fix: elsint errors

* fix: more elsint errors

* fix: make 'navigate' call conditional

* chore: removed async prefix from naigateTo method

* refactor: compare types with constants

* chore: remove unused closeChallengeModal

* fix: restore call to closeModal

* refactor: use setTimeout inside map block

* fix: requested changes according the comments

* fix:remove !request.ok block
2022-07-12 10:17:08 -05:00
Moshe
8d4d4d79e8 fix(ui): "sign in" button hidden at small devices (#46561)
* fix(UI): missing sign-in button at small devices

* feat: replace menu and sign-in buttons text with images

* refactor: svg icons replaced by fortawesome ones

* test: fix e2e test of navigation menu button

* feat: display sign in button and hide all

* feat: display sign in icon on nav for small screens

* feat: add accessibility span for menu icon

* fix: lint errors

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-07-12 08:15:52 -05:00