* feat: visualize search bar inputs clear button
* chore: remove redundant empty lines
* fix: make search bar input horizontally responsive
* fix: make search bar input width follow suggestion items
* fix: moving clear button to right of the searchbar
* feat: add search bar clear button in LP
* fix: add a bigger spacing between the icons and the text
* fix: make the clear button show visible focus indicator
* chore: refactor the css code to avoid redundancy
* fix: make the buttons in search bar accessible for screen reader
* fix: make the buttons and input in search bar more accessible
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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
* 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
* feat: add university and seasonal alerts
* feat: show university camper alerts to non donors
* feat: adjust tests
* feat: update CTA
* Apply suggestions from Oliver's code review
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* Apply suggestions from code review
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* feat: changing learn alert to link
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* feat(client): add rtl direction attribute to html element
* WIP: add LangDirection as base for direction attribute selection
* DRY rtlLanguages for easier future usage
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
* Remove urdu, to avoid unknown bugs
* Fix merge conflict, by clearing import values
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
* feat: wrote a new function and updated the test case
* fix: lint errors
* fix: Fixed the changes not being reflected in the code. And undid unwanted commits from the last time
* fix: removing unwanted updates to the package-lock.json
* fix: Removing unwanted changes from package-lock.json
* fix: removing unwanted changes from package-lock.json
* fix: updating snapshots to fix the test case
* chore: update snapshot
* Update client/src/templates/Challenges/components/completion-modal.tsx
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* Update client/src/templates/Challenges/components/completion-modal.tsx
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* Update client/src/templates/Challenges/components/completion-modal.tsx
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* fix: removed hard coded english words from translation text
* fix: only show output when id is cert project
* fix: correctly count completed challenges
* fix: update test and snapshot
[skip ci]
* fix: at least one challenge is always completed
When the modal pops-up, there is always at least one challenge counted as "complete"
* refactor: slightly improve readability
Co-authored-by: Ilenia <nethleen@gmail.com>
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix(client): preserve scroll position of preview iframe
* use existing frameContext instead of getting element
* do not use type guard
* remove unused type, add es2022 to ts-lib
* move scroll functions into a class
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
* feat(client): link Arabic new articles to freeCodeCamp searchbar
* Point to english articles, instead of arabic articles
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* link the search bar to Arabic news
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>