Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
d805387
Add language selector component
OscarFava Oct 3, 2025
0a7bd9e
Add JSdoc
OscarFava Oct 6, 2025
2600d55
Fix test
OscarFava Oct 6, 2025
3df0d29
Add BannerLanguage component and update Banner to include it
OscarFava Oct 7, 2025
06b06a9
Improve CSS
OscarFava Oct 8, 2025
6f6d253
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
e36b647
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
ac71d79
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
2035719
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
95d6177
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
9551e64
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
5a245e9
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
8f18d6d
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
c708ea9
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
4205718
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
9acbc9d
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
aa890ba
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
874b970
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
c53fbd7
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
9cd9225
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
5ee9931
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
8b0a66c
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
42a3e65
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
ac6b1ad
Add italian
OscarFava Oct 8, 2025
4e830ba
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
b6e1d15
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
2eb74e0
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
25b8abb
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
28b3d3d
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
b285e94
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
2648721
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
096a354
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
ca2d146
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
4e2bf6f
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
740d2d2
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
0c617d8
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
209fd91
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
eedc462
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
0d8c077
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
3f78a56
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
28ed54c
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
1f9ce9e
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 8, 2025
bea65b9
Hide text in mobile
OscarFava Oct 10, 2025
5b9f602
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
5814c10
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
cfcea8b
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
bf4d8c3
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
d1a1d58
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
8deccb3
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
81ed7f1
Add US english
OscarFava Oct 10, 2025
0e224bb
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
daaf3f7
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
a556168
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
890145d
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
06226d5
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
1642296
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
a0e9c71
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
b465b7a
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
ae1acb1
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
a49562e
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
ca91119
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
eb639a7
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
37a0c19
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
4e1539a
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
12b5e87
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
f30ba55
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
6cb0f2a
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
09d0e5e
Commit screenshot file: integration-tests/tests/visualComparisons.spe…
github-actions[bot] Oct 10, 2025
43b82f1
Add US english
OscarFava Oct 10, 2025
2e27f8b
Fix types
OscarFava Oct 14, 2025
0a38458
Fix tests
OscarFava Oct 14, 2025
22d4e32
Fix tests
OscarFava Oct 14, 2025
92adbfa
ofava/vidsol-208-env fixes
johnny-quesada-developer Oct 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ VITE_TUNNEL_DOMAIN=''
# Default language for i18next
VITE_I18N_FALLBACK_LANGUAGE='en'
# List all supported language, separated by | (example: VITE_I18N_SUPPORTED_LANGUAGES='en|es')
VITE_I18N_SUPPORTED_LANGUAGES='en|es|es-MX'
VITE_I18N_SUPPORTED_LANGUAGES='en|en-US|es|es-MX|it'
10 changes: 10 additions & 0 deletions frontend/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import type React from 'react';

declare namespace JSX {
interface IntrinsicElements {
'vwc-icon': React.ComponentType<{
size: -6 | -5 | -4 | -3 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6;
name: string;
}>;
}
}
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"@vitejs/plugin-react": "^4.4.1",
"@vonage/client-sdk-video": "^2.31.0",
"@vonage/vcr-sdk": "^1.3.0",
"@vonage/vivid": "^5.2.0",
"autolinker": "^4.0.0",
"autoprefixer": "^10.4.19",
"axios": "^1.12.0",
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/components/Banner/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ import { ReactElement } from 'react';
import BannerDateTime from '../BannerDateTime';
import BannerLinks from '../BannerLinks';
import BannerLogo from '../BannerLogo';
import BannerLanguage from '../BannerLanguage';

/**
* Banner Component
*
* This component returns a banner that includes a logo, current date/time, and some links.
* This component returns a banner that includes a logo, current date/time, language selector, and some links.
* @returns {ReactElement} - the banner component.
*/
const Banner = (): ReactElement => {
Expand All @@ -16,6 +17,7 @@ const Banner = (): ReactElement => {

<div className="flex px-4">
<BannerDateTime />
<BannerLanguage />
<BannerLinks />
</div>
</div>
Expand Down
17 changes: 17 additions & 0 deletions frontend/src/components/BannerLanguage/BannerLanguage.spec.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { describe, expect, it } from 'vitest';
import { render, screen } from '@testing-library/react';
import { MemoryRouter } from 'react-router-dom';
import BannerLanguage from './BannerLanguage';

describe('BannerLanguage', () => {
it('renders the banner language component', () => {
render(
<MemoryRouter>
<BannerLanguage />
</MemoryRouter>
);

const bannerLanguage = screen.getByTestId('banner-language');
expect(bannerLanguage).toBeInTheDocument();
});
});
18 changes: 18 additions & 0 deletions frontend/src/components/BannerLanguage/BannerLanguage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { ReactElement } from 'react';
import LanguageSelector from '../LanguageSelector';

/**
* BannerLanguage Component
*
* This component provides a language selection feature for the banner.
* @returns {ReactElement} The BannerLanguage component.
*/
const BannerLanguage = (): ReactElement => {
return (
<div className="flex items-center" data-testid="banner-language">
<LanguageSelector />
</div>
);
};

export default BannerLanguage;
3 changes: 3 additions & 0 deletions frontend/src/components/BannerLanguage/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import BannerLanguage from './BannerLanguage';

export default BannerLanguage;
Loading
Loading