Commit Graph
4544 Commits
Author SHA1 Message Date
camperbot 6bd8d2ba63 chore(i18n,client): processed translations (#49544) 2023-02-28 16:45:56 +01:00
Muhammed Mustafaandhbar1st hanaab@gmail.com caad02d1c5 feat(client): make tables in challenges LTR when it's RTL layout (#49543)
Co-authored-by: hbar1st hanaab@gmail.com
2023-02-28 21:45:20 +07:00
David fox 80c40227d9 fix(client): added conditional to check for 0 (#49465)
added condition to stop the render if 0
2023-02-28 13:27:00 +02:00
Muhammed Mustafaandsembauke 6c4c360139 feat(client): remove the Media component for our Card component (#49278)
* create a desktop version of the card

* finish creating the grid for the cards

* fix the responsive niche cases

* add screen reader text

* add border and account for the added border

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

* add the full width back

* clean and fix values grid columns values

* make the outline block

* use underline because outline overflows out the

Co-authored-by: sembauke <semboot699@gmail.com>

* turn the link into a button

Co-authored-by: sembauke <semboot699@gmail.com>

* fix: web-layout

* fix: mobile-layout

* sort the large text in wide screens

* hide the tool panel

* Revert "hide the tool panel"

This reverts commit 21499f840d.

* change the grid rows to account for big text

* make the card clickable

---------

Co-authored-by: sembauke <semboot699@gmail.com>
2023-02-28 11:00:27 +01:00
a2937 e300a82b84 feat(client): show error, warn, and info in FCC debug console (#49528)
* Allow error,warn, and info to be logged to FCC console.

* Apply DRY principles
2023-02-28 10:50:16 +01:00
camperbot 178c91dd65 chore(i18n,client): processed translations (#49539) 2023-02-28 08:30:19 +01:00
Bruce Blaser baee36ded4 fix(ui): preserve monaco tab trap on resize (#49477)
* fix: preserve tab trap on resizing

* fix: tab trap aria status messages
2023-02-27 17:18:30 -08:00
Lasse Jørgensen 5751d0c28e feat(client): make the new help icon clearer (#49516)
* feat(learn): update help button

* fix: remove space between svgs

* move style objects out of component
2023-02-27 16:23:44 -08:00
xarcode de87492cf8 refactor(client): togglebutton's layout from float to flex (#49510)
* Refactor the togglebutton from float to flex

* Update toggle-button.css
2023-02-27 18:12:31 +01:00
a2937andBruce Blaser a936806a22 Chore (settings) - Rename tabindex to tabIndex (#49519)
* Chore (settings) - Rename tabindex to tabIndex

* Update client/src/templates/Challenges/components/hotkeys.css

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

* Fix hotkeys.css

---------

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
2023-02-27 08:03:37 +02:00
renovate[bot] 6ea21b69de fix(deps): update dependency query-string to v7.1.3 2023-02-26 11:08:47 +00:00
renovate[bot] 289cf7481e fix(deps): update dependency date-fns to v2.29.3 2023-02-26 03:31:28 +00:00
renovate[bot] 6cbb63bbad chore(deps): update automerged always - codesee to v0.523.0 2023-02-25 19:48:23 +00:00
renovate[bot] 72d4d8c2fa fix(deps): update grouped - stripe 2023-02-25 14:23:54 +00:00
camperbot 080ee35390 chore(i18n,client): processed translations (#49482) 2023-02-23 23:20:06 +09:00
Muhammed Mustafa a64e732458 fix(client): default challengeFiles to array (#49474)
* refactor(client): check challengesfile length in the epic

* change the initial state of challenge files to array
2023-02-23 10:18:04 +00:00
Muhammed Mustafa 06fe9b6d16 refactor(client): stop the homepage image from changing the layout (#49476)
refactor(client): stop the homepage from changing the the layout
2023-02-23 14:53:53 +05:30
Muhammed Mustafa 0971b6a8a3 refactor(client): remove react lazy loader library (#49468)
* feat(client): remove react lazy loader library

* fix: use loading='lazy' to defer loading
2023-02-22 18:05:08 +01:00
Muhammed MustafaandBruce B f56816d3e1 refactor(client): fix types in the nav-links file (#49291)
* refactor(client): clean some mistype errors in the nav-links file

* fix showLanguage prop type in the other files

* add-ts-ignore-comment

* swap to map for easier maintainablity

* Change the eslint naming comment

* fix: using the wrong handlekeydown function

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

* hide the menu when focus is on the userimage

* hide the menu only if camper didn't press shift key

---------

Co-authored-by: Bruce B <bbsmooth@gmail.com>
2023-02-22 05:36:05 +02:00
Oliver Eyton-Williams 424711fcad fix(client): provide return types for get-completion-percentage (#49458)
fix: provide return types

I also moved the undefined check closer to the source, so it's clearer
what is missing
2023-02-21 07:40:01 -08:00
Jeffandjeff 9f1562291c fix: remove unused className spacer from spacer helper (#49067)
* fix: remove unused className spacer from spacer helper

---------

Co-authored-by: jeff <jeff@vpmbp4.local>
2023-02-21 19:20:29 +05:30
camperbot 906ddf5d75 chore(i18n,client): processed translations (#49456) 2023-02-21 13:52:31 +01:00
Sem BaukeandNiraj Nandish 8c8cf9afab fix: optional video ids the odin project (#49380)
* fix: optional video ids the odin project

* Update client/src/templates/Challenges/odin/Show.tsx

Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>

---------

Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2023-02-21 10:13:31 +00:00
Muhammed Mustafa 181e108418 fix(client): submit button size for external projects (#49448) 2023-02-21 07:40:56 +01:00
Shaun Hamilton e8b010d7e2 fix(client): selector return, invalid prop val (#49447)
* fix(client): correctly return type from selector

* fix(client): remove incorrect prop [button-spacer]
2023-02-20 21:34:34 +02:00
Muhammed Mustafa e5bf2ae97e feat(client): make skip to content button translatable (#49439) 2023-02-20 21:22:39 +05:30
Muhammed Mustafa 85e9fbb8df refactor(client): clean extra component and extra unneeded imports (#49391)
* feat: remove extra unnecessary code

* clean the unique way that component was handled

* make bsSize optional

* update snapshot to account for the other button styles

* add comment for our future selves

* clean the changes file
2023-02-19 17:16:53 +05:30
Ahmad Abdolsaheb 13aad8ca37 feat(client): move the block donation modal logic to an epic. (#49381)
feat(client): move percent calculation logic to epic
2023-02-19 09:04:04 +02:00
renovate[bot] b58009b775 fix(deps): update dependency sanitize-html to v2.10.0 (#49435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 14:17:57 -08:00
Muhammed Mustafa e8f0145a08 feat(client) make pre in instruction ltr when the layout is rtl (#49431)
* feat(client) make pre in instruction ltr when the layout is rtl

* revert the changes in the markdown file
2023-02-18 22:00:44 +01:00
Muhammed Mustafa 45dc6aee9e feat(client): make portfolio section in profile support RTL layout (#49148)
* feat(client): make portfolio section in profile support RTL layout

* Revert "feat(client): make portfolio section in profile support RTL layout"

This reverts commit b4cf5f1ab4.

* make media component responsive

* fix the selector

* hook the media left through an id

* hook the media left through an id
2023-02-18 21:58:01 +01:00
Muhammed MustafaandBruce Blaser 251aecc58f feat(client): change the save buttons from disabled to aria-disabled (#49216)
* feat(client): change the buttons from disabled to aria-disabled

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

* stop the API call when the validation isn't true

* use aria disabled instead of disabled on the test?

* use have.attr  to check for aria disabled

* hide the button when it's disabled

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

* update Privacy Settings save button

---------

Co-authored-by: Bruce Blaser <bbsmooth@gmail.com>
2023-02-18 12:16:35 -08:00
renovate[bot] c00d001df0 chore(deps): update automerged always - codesee to v0.513.0 (#49429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-18 12:11:26 -08:00
Muhammed Mustafaandhbar1st c027bce6de fix(client): pre code having extra spaces when code elements are stacked (#49343)
Co-authored-by: hbar1st <hanaab@gmail.com>
2023-02-18 10:18:54 -08:00
Muhammed Mustafa df1eb8c8de fix(client): misaligned buttons in the RWD certification (#49404)
* fix(client): misalignedbuttons in the RWD certification

* Clean the css file
2023-02-17 21:55:47 -08:00
Muhammed Mustafa 4f357db02f refactor(client): clean extra code in donate form (#49276) 2023-02-17 17:32:41 +03:00
Tom c29ecaf14f fix(client): site crashing when leaving rdb challenge (#49409)
fix: crashing when leaving rdb
2023-02-17 07:56:28 +02:00
Muhammed Mustafa 150d5cb0d3 feat(client): remove ltr direction from quotes in rtl layout (#49340) 2023-02-16 13:50:35 +01:00
Bruce Blaser cb0da3bbf9 fix(client): console height in multi-file editor (#49372)
fix: allow console to take up entire height of panel
2023-02-16 12:22:57 +01:00
renovate[bot] 58386567a7 fix(deps): update dependency @freecodecamp/react-calendar-heatmap to v1.1.0 (#49356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 23:50:45 +05:30
Muhammed Mustafa 5e4ba38309 refactor(client): delete block save wrapper (#49217)
* refactor(client): delete block save wrapper

* Clean bloating divs and extra css import

* remove the blocksave wrapper snapshot
2023-02-13 23:26:44 +05:30
renovate[bot] cfc9d5e372 chore(deps): update automerged always - codesee to v0.498.0 (#49347)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 22:24:06 +05:30
Oliver Eyton-Williams 4ff00922da refactor: fix hidden eslint errors (#49365)
* refactor: explicit types for validate

* refactor: explicit return types for ui-components

* refactor: use exec instead of match

* refactor: add lots more boundary types

* refactor: more eslint warnings

* refactor: more explicit exports

* refactor: more explicit types

* refactor: even more explicit types

* fix: relax type contrainsts for superblock-order

* refactor: final boundaries

* refactor: avoid using 'object' type

* fix: use named import for captureException

This uses TypeScript (which works) instead of import/namespace
(which doesn't) to check if captureException exists in sentry/gatsby
(it does)
2023-02-13 07:13:50 -08:00
camperbot 218fe6605b chore(i18n,client): processed translations (#49369) 2023-02-13 20:32:14 +05:30
renovate[bot]andSboonny ea7df4fb9a fix(deps): update font awesome to v6.3.0 (#49357)
* fix(deps): update font awesome to v6.3.0

* update profile snapshot for the new icon

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
2023-02-13 11:23:33 +00:00
renovate[bot] 028112f215 fix(deps): update dependency @growthbook/growthbook-react to v0.11.2 (#49344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-13 17:02:48 +05:30
camperbot c12f7ad623 chore(i18n,client): processed translations (#49325) 2023-02-10 21:17:31 +00:00
Muhammed MustafaandmoT01 a1ebe6dcd6 refactor(client): turn image validation component into subComponent (#49155)
* refactor(client): clean extra FormGroup component in personal info

* Revert "refactor(client): clean extra FormGroup component in personal info"

This reverts commit cc29df3033.

* refactor show image component into JSX

* Remove redundant text

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>

---------

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-02-10 17:13:27 +00:00
6e53c852de feat(client): pull percentage challenge data from redux (#49308)
* feat(client): pull percentage challenge data from redux

* Apply suggestions from code review

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* feat: update updateAllChallengesInfo name

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2023-02-10 13:16:11 +00:00
Mrugesh Mohapatra 0f4fd9d57b chore: rename mockfiles in jest config (#49318) 2023-02-10 13:12:02 +00:00