* 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>
* 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>
* 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
* feat: add skip-to-content button
* fix: remove content start ids from everywhere and add to default layout
* chore: format landing-top.tsx
* use single quotes in skip-to-content component
* include breadcrumbs in navigation
* linting fail fix
* use anchor tag instead of new component
* update challenge title snap
* fix(test): reliably move focus onto the editor
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: circular dependency in formHelpers
* fix: circular dependency in Flash
* fix: circular dependency in helpers
* fix: circular dependency in current-challenge-saga (1/2)
* fix: circular dependency in code-lock-epic
* feat: eslint rule for circular dependencies
* fix: circular dependency in tools
* fix: import error and more circular dependencies in formHelpers
* fix prettier error
* fix: circular dependency in danger-zone-saga
* fix: circular dependency in update-email-saga
* fix: circular dependency in settings-saga
* fix: circular dependency in accept-terms-saga
* fix: circular dependency in codeally-saga
TODO: make a separate file for selectors
* fix: ci lint error
* fix: ci lint:prettier error
* fix: circular dependency in current-challenge-saga
* fix: cricular dependency in Challenges/redux
* fix: circular dependency in redux/settings
* fix: circular dependency in root redux
* fix: lint errors
* chore: remove unecessary comment
* chore: remove unused export
* fix: clear out actions and selectors
* revert changes to package.json
* test ci with maxDepth of 1
* fix: fallback to empty object
* test action if it will run for maxDepth of 2
* 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>
* 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>
* 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>
* fix: main menu a11y updates
* update font menu
* fix: sign in button text alignment
* fix: disabled button font
* fix: language menu font
* remove sign-in from main menu
* fix: add section dividers to menu
* fix: height on language selector menu
* fix: alignment of Menu button text
* fix: language globe icon
* refactor: remove dup selector
* update language menu colors
* refactor: clearer name for language menu display state
* fix: don't close onBlur if Menu button is clicked
* refactor: move globe icon styling to CSS
* refactor: get rid of switch statements
* refactor: remove try catch block
* fix: translate Change language button
* fix: move search into nav menu for mobile layout
* fix: forgot a merge
* refactor: updates for changes in i18n/all-langs
* fix: prevent menu from collapsing when focus is on change language button and user clicks into search
* fix: translate cancel change option in language picker
* feat: add cypress tests
* feat: display the complete language list
* fix: fix TS typing
* fix: force scrollbar on lang menu
* fix: remove scroll bar from lang menu
* fix: close menu when user tabs away from last menu item
* add list role to navigation list to appease Safari
* chore: capitalize Change Language/remove CSS comment
* fix: right side search box alignment in narrow view
* remove extraneous list role
* fix: cypress
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
* feat: migrate locale test to ts v2
* fix: langCodes
* fix: locale test
* fix: nav dropdown
* fix: header test
* fix: use type predicates
* refactor: DRY up all-langs
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* fix: make breadcrumb nav more accessible
* refactor: cypress test and jest snapshot
* slight adjustment to left breadcrumb focus outline
* feat: translate aria for nav
* chore(tools): update snapshot
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
* fix: fcc logo link
* fix: fcc svg label
* feat: use translated aria for logo
* clean up
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
* chore(client): tidy Flash by tidying tone
* add store import
* fix enum, remove default switch case
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
* typo galore
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
* rejig everything, because refactoring is fun 🙃
* refactor: DRY playTone
* fix url to foss library
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
* alphabetasize FlashMessage enum
* add all FlashMessages to tone/index.ts
* remove redundant type
* my code is correctnpm run develop:client
* fix: remove circular dependency
* fix: typo
* remove logs, play special tones for nightmode
* play sound on challengeComplete
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* feat(UI): language in the side menu is now a drop down. navigation items are now text wrapped
* fix: use redux navigation to redirect links instead
* fix: fix to use clientLocale as curent language instead
* fix: tests to use clientLocale
* fix: remove circular dependency
redux depended on templates/Challenges/redux and vice versa. This
meant that import order mattered and confusing bugs could arise.
(cherry picked from commit 7d67a4e70922bbb3051f2f9982dcc69e240d43dc)
* feat: require imports to be in alphabetical order
Import order generally does not matter, but there are edge cases
(circular imports and css imports, for example) where changing order
changes behaviour
(cherry picked from commit b8d1393a91ec6e068caf8e8498a5c95df68c2b2c)
* chore: order imports
* fix: lift up challenge description + title comps
This brings the classic Show closer to the others as they
now all create the description and title components
* fix: remove donation-saga/index circular import
(cherry picked from commit 51a44ca668a700786d2744feffeae4fdba5fd207)
* refactor: extract action-types from settings
(cherry picked from commit 25e26124d691c84a0d0827d41dafb761c686fadd)
* fix: lint errors
* feat: prevent useless renames
* fix(client): refactor to use correct i18n t type
* appease Oliver by importing directly from react-i18n
* fix: use default TFunction type variable
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
* typescript migration for files under search folder
* fixing few more eslint errors and warnings
* reverting changes for redux/index.js
* fixing merge conflicts with next
* deleting redux/index.ts