* 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(client): refactor universal nav missing types
* extends link type from gatsby link types
Co-authored-by: auchynnikau <viachaslau_auchynnikau@epam.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* 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>
* removed unused files
Removed unused files as per comments for issue #47971
* fix: removed duplicate exports from 4 files
* Build fix
* made changes for build fix
* made changes for build fix