-
Notifications
You must be signed in to change notification settings - Fork 11
VIDSOL-275: UI/UX - Waiting Room - Video preview #279
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
23
commits into
vidsol-271-waiting-room-general
Choose a base branch
from
vidsol-275-waiting-room-video-preview
base: vidsol-271-waiting-room-general
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
23 commits
Select commit
Hold shift + click to select a range
8b2289f
Refactor WaitingRoom component: remove unused viewport hook, replace …
OscarFava 5bdbc8a
Refactor VideoContainer and VignetteEffect components: replace divs w…
OscarFava 4ac29ad
Refactor components to use custom UI elements and improve styling.
OscarFava 0849a4c
Merge remote-tracking branch 'origin/vidsol-271-waiting-room-general'…
OscarFava 35747c0
Refactor background effects terminology and components
OscarFava 938e186
Refactor background effect tests to use updated test IDs and improve …
OscarFava 3aa3dc3
Merge remote-tracking branch 'origin/vidsol-271-waiting-room-general'…
OscarFava 9fcc87b
Refactor imports in AvatarInitials, PreviewAvatar, and VideoContainer…
OscarFava 10fae34
Fix background color logic in CameraButton and MicButton components
OscarFava 6d1917e
Refactor theme colors in WaitingRoom components and update color toke…
OscarFava 68c7702
Refactor LanguageSelector and VividIcon components; add sxToStyle uti…
OscarFava 2cd6af1
Add variant prop to cancel button in BackgroundEffectsLayout for impr…
OscarFava 91074b0
Refactor waiting room tests to improve clarity by specifying button i…
OscarFava d51dac4
Update visual comparison screenshots
github-actions[bot] cfb032c
Merge remote-tracking branch 'origin/vidsol-271-waiting-room-general'…
OscarFava a4fdfb8
Merge remote-tracking branch 'origin/vidsol-271-waiting-room-general'…
OscarFava 2f8aa1b
Update Italian localization strings for various UI components and fea…
OscarFava 5f86d3d
Merge remote-tracking branch 'origin/vidsol-271-waiting-room-general'…
OscarFava a9c4ea6
Refactor BackgroundEffects components to streamline imports and enhan…
OscarFava 4b913a6
Update visual comparison screenshots
github-actions[bot] d449ab1
Merge remote-tracking branch 'origin/vidsol-271-waiting-room-general'…
OscarFava 8a33b7c
Update test IDs for microphone and video icons in MicButton tests
OscarFava d2e8b64
Add data-testid attributes for CameraButton and MicButton components
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
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
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
27 changes: 27 additions & 0 deletions
27
...src/components/BackgroundEffects/BackgroundEffectOptions/BackgroundEffectOptions.spec.tsx
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 |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| import { render, screen } from '@testing-library/react'; | ||
| import { vi, describe, it, expect } from 'vitest'; | ||
| import BackgroundEffectOptions from './BackgroundEffectOptions'; | ||
|
|
||
| describe('BackgroundEffectOptions', () => { | ||
| const setBackgroundSelected = vi.fn(); | ||
| const clearBgWhenSelectedDeleted = vi.fn(); | ||
| const customBackgroundImageChange = vi.fn(); | ||
|
|
||
| it('renders background options grid with effects and gallery', () => { | ||
| render( | ||
| <BackgroundEffectOptions | ||
| mode="meeting" | ||
| backgroundSelected="" | ||
| setBackgroundSelected={setBackgroundSelected} | ||
| cleanupSelectedBackgroundReplacement={clearBgWhenSelectedDeleted} | ||
| customBackgroundImageChange={customBackgroundImageChange} | ||
| /> | ||
| ); | ||
|
|
||
| expect(screen.getByTestId('vivid-icon-remove-line')).toBeInTheDocument(); | ||
| expect(screen.getByTestId('vivid-icon-blur-line')).toBeInTheDocument(); | ||
|
|
||
| expect(screen.getByAltText('Bookshelf Room')).toBeInTheDocument(); | ||
| expect(screen.getByAltText('Busy Room')).toBeInTheDocument(); | ||
| }); | ||
| }); |
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.