Commit Graph

4375 Commits

Author SHA1 Message Date
Muhammed Mustafa
4291e153f7 feat: add RTL language layout (#48287)
* add the previous layout

* add the import logic

Co-authored-by: Nestor <elnestinatorHD@gmail.com>

* WIP: RTL layout

* WIP: code snippet

* WIP: RTL layout

* WIP: RTL layout

* WIP: add selector that don't work

* WIP: fix code in tables direction

* change the dynamic import to static import

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

* remove redundant imports

* fix the broken splitter and broken code element

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

* revert the wrapper editor layout

* WIP: Timeline RTL layout

* add row reverse to account for splitter direction reverse

* Revert "add row reverse to account for splitter direction reverse"

This reverts commit f67ad002c8.

* add row reverse to account for splitter direction reverse

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* mirrior the nav bar by placing the logo in the right

* Use notosans as RTL font family

* Remove Arabic from the hiddenLangs

* fix(feedbac): the search and table alignment

Co-authored-by: Zaira <33151350+zairahira@users.noreply.github.com>

* fix(feedback): text alignment, icons rotation

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

* Revert "fix(feedback): text alignment, icons rotation"

This reverts commit 0c6dc4f909.

* fix(feedback): text-alignment, and icon rotation

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

Co-authored-by: Nestor <elnestinatorHD@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Zaira <33151350+zairahira@users.noreply.github.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-12-16 18:03:18 +02:00
Endless8
c24755d2b9 fix(a11y): hide spacer span (#48766)
* fix: removed html text and added aria-hidden attribute to span element

* Update client/src/assets/icons/spacer.tsx

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* fix: formatting code

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2022-12-16 09:02:27 -06:00
Bryan Moore
628764f270 feat: use system theme if default (#48568)
* feat: use system theme if default

* feat: add system to theme

* feat: detect if system theme should be used

* fix: remove system from Themes

* fix: change 'system' to 'default'

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* fix: change 'system' to 'default'

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* fix: check if user is logged in for system theme

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
2022-12-14 15:20:10 +01:00
camperbot
d6d74863f8 chore(i18n,client): processed translations (#48755) 2022-12-14 14:16:21 +01:00
camperbot
b3fd1be1fd chore(i18n,client): processed translations (#48746) 2022-12-14 12:43:47 +05:30
Naomi Carrigan
e4143ec5be feat: certification qr (#47254)
* feat: add qr code to certification

* chore: remove duplicated media ruleset

* fix: reinstall qrcode.react after rebase

* fix: move qr code to bottomish

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2022-12-12 22:34:34 +04:00
Ahmad Abdolsaheb
00c7b6de86 chore: replace nonprofit with charity (#48739) 2022-12-12 20:52:27 +05:30
camperbot
cf6d450c1b chore(i18n,client): processed translations (#48736) 2022-12-12 14:14:40 +01:00
renovate[bot]
9bb1d9a390 chore(deps): update dependency postcss to v8.4.20 2022-12-12 00:51:46 +00:00
renovate[bot]
dc944c607d fix(deps): update gatsby monorepo 2022-12-11 12:41:56 +00:00
renovate[bot]
f120f55829 chore(deps): update automerged always - codesee to v0.457.0 2022-12-11 07:37:44 +00:00
renovate[bot]
a606203ae4 fix(deps): update dependency typescript to v4.9.4 2022-12-11 05:27:18 +00:00
renovate[bot]
b769a3fec7 fix(deps): update dependency redux-saga to v1.2.2 2022-12-10 23:24:46 +00:00
renovate[bot]
da7b5d1de2 fix(deps): update dependency @stripe/react-stripe-js to v1.16.1 2022-12-10 15:02:05 +00:00
camperbot
4170da818f chore(i18n,client): processed translations (#48698) 2022-12-09 15:29:35 +02:00
Atir Nayab
0a0be525b2 fix(bug): Make table and button consistent in settings and certification page. (#48211)
* fix(bug): Make table and button consistent

Affected page
- certification page
- settings page

* fix(bug): changed certification button text to View

* fix(bug): Timeline table width increased

* Update client/src/client-only-routes/show-project-links.tsx

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* Update client/src/client-only-routes/show-project-links.tsx

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>

* fix(curriculum): remoeve stripe props from certification table

* fix(curriculum): time line table width reverted to original

* fix(client): use buttons.view from translation.json

* fix(client): use normal font weight for project title

* fix(client): certification page table button

* fix(client): remove child anchor tag from menuItem

* fix(client): updated cerification page button width

* feat: relocate the styles

* feat: clean up styles

Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-12-09 12:08:52 +02:00
Bruce Blaser
3763f84fd7 feat: make toggle tab setting permanent in monaco editor (#48529)
* add permanent tab focus toggle to monaco

* convert to addCommand

* chore: clean up function names

* feat: add i18n for aria alerts

* fix: add mac hotkeys

* add platform detection

* add iOS keyboard support


Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-12-09 09:43:49 +01:00
Muhammed Mustafa
b5371f56ce refactor(client): searchbar - remove float values (#48292)
* feat(client): refactor searchbar by removing float values

* polish the style by adding border radius and removing padding

* Polish the style and account for donation text

* WIP: remove float values

* Revert "WIP: remove float values"

This reverts commit c1c32aa9d1.

* adjust magic numbers

* Adjust spacing to account and add position absolute

* revert the deletion of ais hits values

* move the padding value to searchbar file

* Remove RTL Values

* feat: allow for hint expansions

* Remove the left value on submit icon

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* add display none and remove their values

Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
2022-12-08 14:31:05 +01:00
camperbot
8a0fc793d0 chore(i18n,client): processed translations (#48685) 2022-12-07 08:15:43 -08:00
camperbot
3526b8383e chore(i18n,client): processed translations (#48679) 2022-12-06 23:47:16 +05:30
Mrugesh Mohapatra
6dba4d3409 chore: bump prettier and lint-staged (#48674)
* chore: bump prettier and lint-staged

* refactor: drop unused eslint disables

Currently we need to fetch trending.json before we can build the site
(i.e. before Cypress tests can run), so we can assume the file exists.

In case the download fails in CI, linting will error first. I've added
a comment to save some debugging time.

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-12-06 23:46:42 +05:30
Bruce Blaser
bfcdcf7788 fix(a11y): enhance accessibility of prismjs code examples (#48639) 2022-12-05 19:49:36 +05:30
camperbot
3ea05d2e1d chore(i18n,client): processed translations (#48672) 2022-12-05 15:01:06 +02:00
YMatsuda
7ff99ea269 fix(UI): make 'Tests' heading translatable (#48654)
* fix(UI): make 'Tests' translatable

* fix(UI): use existing string
2022-12-05 09:23:32 +01:00
renovate[bot]
00c091dc02 fix(deps): update grouped - stripe 2022-12-05 02:20:30 +00:00
renovate[bot]
8da99c1628 chore(deps): update automerged always - codesee to v0.451.0 2022-12-04 23:20:48 +00:00
renovate[bot]
426fe482c9 chore(deps): update babel monorepo 2022-12-03 07:57:55 +00:00
camperbot
6a163b612b chore(i18n,client): processed translations (#48651) 2022-12-02 17:57:26 +05:30
Tom
60d15e4631 feat: get footer from cdn (#47174)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: scissorsneedfoodtoo <scissorsneedfoodtoo@gmail.com>
2022-12-01 15:23:17 +01:00
camperbot
eafd5aa2e3 chore(i18n,client): processed translations (#48630) 2022-11-30 19:48:51 +05:30
camperbot
73292d565d chore(i18n,client): processed translations (#48619) 2022-11-28 15:17:58 +02:00
renovate[bot]
9e867be5e8 chore(deps): update automerged always - codesee to v0.440.0 2022-11-26 19:31:56 +00:00
renovate[bot]
caaec39157 fix(deps): update dependency react-tooltip to v4.5.1 2022-11-26 16:33:17 +00:00
camperbot
efeabd5d1c chore(i18n,client): processed translations (#48593) 2022-11-25 15:18:50 +01:00
camperbot
30337dc2b0 chore(i18n,client): processed translations (#48587) 2022-11-24 18:10:44 -08:00
Prince Mendiratta
7b860f920f feat: add instructions to import in replit (#48374)
Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/48274
2022-11-24 16:02:07 +05:30
Manabu Matsumoto
6ccbd94eff fix(UI): remove vertical scrollbar from body (#48231)
* fix: remove vertical scrollbar from body

* fix: adjust preview window with/without actionrow

* fix: delete redundant padding argument

* fix: add new props to project preview modal

* fix: adjust code and preview pane height

* fix: add flash message height adjustment for panes

* fix: refactor the code with flexbox

* fix: debug zero height of instruction panel in firefox

* fix: debug zero height of reflex elements and vertical splitter

* fix: make reflex elements vertically flexible in new RWD

* fix: remove unnecessary css properties

* fix: arrange mobile layout css selector

* fix: move styles to its related css files

* fix: refactor the code with pseudo selector and remove important

* fix: remove redundant flexbox settings

* fix: remove unnecessary css properties and revert unnecessary property name change

* fix: remove unnecessary min height zero and refactor flex properties
2022-11-22 11:18:00 +03:00
renovate[bot]
5504a8cbb7 fix(deps): update dependency typescript to v4.9.3 2022-11-20 22:30:54 +00:00
renovate[bot]
6e9cb35e3e fix(deps): update dependency @stripe/react-stripe-js to v1.15.0 2022-11-19 22:31:14 +00:00
renovate[bot]
887b6d75ef chore(deps): update automerged always - codesee to v0.437.0 2022-11-19 17:41:15 +00:00
renovate[bot]
f9e78710ee fix(deps): update font awesome to v6.2.1 2022-11-19 15:15:31 +00:00
renovate[bot]
015fb16541 fix(deps): update dependency react-instantsearch-dom to v6.38.1 2022-11-19 12:22:48 +00:00
YMatsuda
df1afaa667 fix(UI): prevent Chinese & Japanese headings in lower jaw getting wrapped (#48530)
fix(UI): prevent Chinese & Japanese headings getting wrapped
2022-11-17 16:00:04 +03:00
camperbot
e3cfe297d2 chore(i18n,client): processed translations (#48510) 2022-11-14 10:29:48 -06:00
Sem Bauke
57186bf0b6 chore(client): update algolia and conditional tags (#46222) 2022-11-14 21:03:52 +05:30
renovate[bot]
626b2e2f6c fix(deps): update dependency @growthbook/growthbook-react to v0.10.1 (#48501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-14 19:24:25 +05:30
Ahmad Abdolsaheb
4164d4f1f0 feat(client): remove CAP and GAP scripts (#48508)
feat: Remove CAP and GAP scripts
2022-11-14 16:31:52 +05:30
Muhammed Mustafa
f227b60c9e feat(client): change the layout of lowerjaw hint and test to flex (#48322)
* feat(client): change the layout of lowerjaw hint and test description to flex

* remove the align center, and fix the margins

* Revert mistake

* add RTL layout support

* Remove global variables, and add gap for spacing
2022-11-14 12:49:03 +05:30
renovate[bot]
15c19a44a7 fix(deps): update dependency react-tooltip to v4.5.0 2022-11-13 05:18:46 +00:00
renovate[bot]
851c6f0df8 fix(deps): update dependency @stripe/stripe-js to v1.44.1 2022-11-13 02:58:26 +00:00