-
Notifications
You must be signed in to change notification settings - Fork 10
VIDSOL-291: UI/UX: Header and Language selector #268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
OscarFava
wants to merge
111
commits into
develop
Choose a base branch
from
ofava/vidsol-291-header
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
111 commits
Select commit
Hold shift + click to select a range
26e144d
Cleanup
OscarFava 6bd2992
Merge remote-tracking branch 'origin/develop' into ofava/vidsol-240-l…
OscarFava 8d06d93
Refactor UI components for improved layout and styling; update welcom…
OscarFava ef8bb8d
Update LandingPageWelcome component layout and styling; modify welcom…
OscarFava e4d69d2
Wrap MUI components + use wrapped components + add standard layout to…
OscarFava 00756d1
Avoid using useTheme to use theme as param in sx + add new MUI wrappe…
OscarFava aca9e39
Refactor layout components to use GridLayout; update styles and add F…
OscarFava e2af1e3
Fix unit testing
OscarFava 364ce1f
Fix lint
OscarFava 8d9c498
Fix sonarCloud
OscarFava 33de628
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] ca5cac8
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] affed4d
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] 66acaf1
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] ebbb079
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] dc0c10a
Adapat UI banner Logo + layout
OscarFava b28577b
Refactor UI components to use Box and update styles; add new FormCont…
OscarFava 5dc287c
Refactor root element in index.html and wrap App component in Box for…
OscarFava 90d432c
Update frontend/src/components/BannerDateTime/BannerDateTime.tsx
OscarFava 6fe87c7
Copilot suggestions
OscarFava 0c64adf
github suggestions
OscarFava 07fe366
Merge branch 'ofava/vidsol-291-header' of github.com:Vonage/vonage-vi…
OscarFava 128649e
Update frontend/src/components/JoinButton/JoinButton.tsx
OscarFava 1de9bdc
Update frontend/src/components/LanguageSelector/LanguageSelector.tsx
OscarFava 6d6e9c5
Update frontend/src/components/LanguageSelector/LanguageSelector.tsx
OscarFava ab9ffdb
Update frontend/src/components/BannerDateTime/BannerDateTime.tsx
OscarFava b37b460
Refactor component props destructuring for consistency across UI comp…
OscarFava ac918ea
Fix accessibility
OscarFava 3cf3a3b
Improve accessibility using MUI
OscarFava 82d3ed4
Add some UI wrappers
OscarFava 48d0bfd
Add more MUI wrappers
OscarFava 791d6a2
Add last MUI wrappers
OscarFava 19414ee
Fix unit testing of dialog
OscarFava 9509188
Refactor room name input
OscarFava 82e221e
UI/UX improvements
OscarFava b3460b4
Change color tokens
OscarFava ab46fb2
Merge branch 'ofava/vidsol-240-landing-page' into ofava/vidsol-291-he…
OscarFava c07e7e7
Apply UI/UX layout for header/footer + apply some tokens
OscarFava 9cf4855
Refactor JoinButton to JoinWaitRoomButton; update translations and tests
OscarFava 4da6734
Update room input helper text for clarity in multiple languages
OscarFava 1fc7a4c
Merge branch 'ofava/vidsol-240-landing-page' into ofava/vidsol-291-he…
OscarFava f3a8ccc
Add data-testid to Footer component for improved testing
OscarFava 87e45e5
Fix export statement in Footer component to use correct identifier
OscarFava 20e03f1
Merge remote-tracking branch 'origin/develop' into ofava/vidsol-240-l…
OscarFava 8f22bed
Merge branch 'ofava/vidsol-240-landing-page' into ofava/vidsol-291-he…
OscarFava e2ed0e1
Refactor font size structure in design tokens for improved clarity an…
OscarFava bd531a5
Merge remote-tracking branch 'origin/ofava/vidsol-240-landing-page' i…
OscarFava 234b076
Refactor color usage in components to align with updated theme colors
OscarFava b16a849
Refactor theme usage across components to utilize MUI's theme palette
OscarFava 0c06d8f
feat: Implement custom theme hook and integrate throughout components
OscarFava 70fe7fe
refactor: Simplify border radius calculations and improve typography …
OscarFava a78eefc
Merge remote-tracking branch 'origin/ofava/vidsol-240-landing-page' i…
OscarFava 442454b
test: Update border radius type checks to expect string values
OscarFava f142406
feat: Update subtitle typography values for improved mobile readability
OscarFava 43781c2
Merge remote-tracking branch 'origin/ofava/vidsol-240-landing-page' i…
OscarFava e4432ff
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] a33c8ec
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] 8923bb0
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] c5a3c63
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] dca0686
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] 35b2ab3
refactor: update test descriptions and locator methods for clarity
OscarFava f1cc09a
Merge remote-tracking branch 'origin/ofava/vidsol-240-landing-page' i…
OscarFava 1386d8d
feat: integrate custom theme into Footer and FooterLinks components; …
OscarFava fce8eab
refactor: improve accessibility and localization in GHRepoButton and …
OscarFava 160ce19
fix: update VividIcon size attributes in LanguageSelector tests for c…
OscarFava fad14c5
Merge branch 'ofava/vidsol-240-landing-page' into ofava/vidsol-291-he…
OscarFava 1646e16
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] 32d7c28
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] cbed948
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] c802afb
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] d7ec295
Refactor FooterLinks and GHRepoButton components for consistency and …
OscarFava 43f6459
Refactor dialog components to improve prop handling consistency
OscarFava e46dc0f
Fix rendering of language name in LanguageSelector for better consist…
OscarFava e7e0897
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] ccb8900
Fix testing
OscarFava b17c588
Merge remote-tracking branch 'origin/ofava/vidsol-240-landing-page' i…
OscarFava 44d2e90
refactor: update background color styling for responsive design
OscarFava d63c825
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] 13a40bb
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] d86e17c
refactor: update navigation assertions in goodbye and landing tests f…
OscarFava bb91661
fix: update fallback language assignment for consistency
OscarFava 7f06ac3
Update update-screenshots.yml
OscarFava 31cc4c4
Update whitespaces
OscarFava f0c0257
fix: update logic for committing visual comparison screenshots
OscarFava a53621f
fix: update commit message for visual comparison screenshots
OscarFava b168305
Update visual comparison screenshots
github-actions[bot] 2c28299
Merge branch 'ofava/vidsol-240-landing-page' into ofava/vidsol-291-he…
OscarFava 7ab61e6
Update visual comparison screenshots
github-actions[bot] 1640059
johnny/vidsol-240-landing-page-refinements
johnny-quesada-developer f4f90a1
removing unnecesary file
johnny-quesada-developer b84f0b6
johnny/vidsol-240-landing-page-refinements
johnny-quesada-developer b52470c
Merge branch 'johnny/vidsol-240-landing-page-refinements' of github.c…
OscarFava d132b17
Update theme handling and color tokens for improved dark mode support
OscarFava 0a09d97
Refactor theme import paths to use unified module export
OscarFava 0fc78c0
VIDSOL-240: landing page refinements (#278)
OscarFava 0ba2a66
Merge remote-tracking branch 'origin/ofava/vidsol-240-landing-page' i…
OscarFava 727720d
Merge remote-tracking branch 'origin/develop' into ofava/vidsol-291-h…
OscarFava 05e787b
Refactor isValidRoomName function to validate input length and update…
OscarFava 053a201
Refactor theme-related functions to use globalThis for matchMedia com…
OscarFava a5f9a01
Refactor isValidRoomName function for improved readability and mainta…
OscarFava 41c04b7
Merge remote-tracking branch 'origin/develop' into ofava/vidsol-291-h…
OscarFava 4937734
Move to ui library from frontend using nx
OscarFava 0714d92
Refactor footer.github.title formatting for consistency across locali…
OscarFava de49b37
johnny/VIDSOL-211-removing opera
johnny-quesada-developer aabf349
Refactor UI library targets in project.json and update test scripts i…
OscarFava c08275d
ofava/vidsol-291-header
johnny-quesada-developer 4c55e47
Update visual comparison screenshots
github-actions[bot] 5e0a367
Refactor Mobile Chrome configuration to improve readability and ensur…
OscarFava 9607222
Fix typo
OscarFava 939e1e0
Refactor Footer component for improved readability and structure; enh…
OscarFava 5b7752f
Refactor Footer component for improved code formatting and consistency
OscarFava File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,7 +46,6 @@ body: | |
| - Chrome | ||
| - Firefox | ||
| - Microsoft Edge | ||
| - Opera | ||
| - Safari | ||
| - Electron | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
frontend/src/components/BannerDateTime/BannerDateTime.spec.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,52 @@ | ||
| import { ReactElement } from 'react'; | ||
| import { Link } from 'react-router-dom'; | ||
| import { useNavigate } from 'react-router-dom'; | ||
| import Box from '@ui/Box'; | ||
| import useIsTabletViewport from '@hooks/useIsTabletViewport'; | ||
|
|
||
| /** | ||
| * BannerLogo Component | ||
| * | ||
| * This component returns the logo that redirects to the landing page when clicked. | ||
| * @returns {ReactElement} - the banner logo component | ||
| * This component returns a logo for the banner that navigates to the parent route when clicked. | ||
| * @returns {ReactElement} - the banner logo component. | ||
| */ | ||
| const BannerLogo = (): ReactElement => ( | ||
| <Link to=".."> | ||
| <div className="box-border" data-testid="banner-logo"> | ||
| <img | ||
| style={{ | ||
| marginLeft: '16px', | ||
| marginTop: '12px', | ||
| const BannerLogo = (): ReactElement => { | ||
| const isTablet = useIsTabletViewport(); | ||
| const navigate = useNavigate(); | ||
| const handleClick = () => { | ||
| navigate('..'); | ||
| }; | ||
|
|
||
| return ( | ||
| <Box | ||
| data-testid="banner-logo" | ||
| sx={{ | ||
| boxSizing: 'border-box', | ||
| ml: { xs: 1, md: 3 }, | ||
| mt: { xs: 2, md: 2 }, | ||
| px: { xs: 2, md: 0 }, | ||
| }} | ||
| > | ||
| <Box | ||
| data-testid="banner-logo-image" | ||
| component="img" | ||
| src={isTablet ? '/images/vonage-logo-mobile.svg' : '/images/vonage-logo-desktop.svg'} | ||
| alt={isTablet ? 'Vonage-mobile-logo' : 'Vonage-desktop-logo'} | ||
| onClick={handleClick} | ||
| onKeyDown={(e) => { | ||
| if (e.key === 'Enter' || e.key === ' ') { | ||
| handleClick(); | ||
| } | ||
| }} | ||
| role="button" | ||
| tabIndex={0} | ||
| sx={{ | ||
| height: { xs: 40, md: 72 }, | ||
| display: 'block', | ||
| cursor: 'pointer', | ||
| }} | ||
| className="hidden h-[72px] pl-4 pr-8 md:flex" | ||
| src="/images/vonage-logo-desktop.svg" | ||
| alt="Vonage-desktop-logo" | ||
| /> | ||
| <img | ||
| className="my-4 h-10 px-8 md:hidden" | ||
| src="/images/vonage-logo-mobile.svg" | ||
| alt="Vonage-mobile-logo" | ||
| /> | ||
| </div> | ||
| </Link> | ||
| ); | ||
| </Box> | ||
| ); | ||
| }; | ||
|
|
||
| export default BannerLogo; | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.