Complete stabilization pass bringing all 3 stacks to green: Frontend (apps/web/): - Fix TypeScript nullability in useSeason.ts, useTimeOfDay.ts hooks - Disable no-undef in ESLint config (TypeScript handles it; JSX misidentified) - Rename 306 story imports from @storybook/react to @storybook/react-vite - Fix conditional hook call in useMediaQuery.ts useIsTablet - Move useQuery to top of LoginPage.tsx component - Remove useless try/catch in GearFormModal.tsx - Fix stale closure in ResetPasswordPage.tsx handleChange - Make Storybook decorators (withRouter, withQueryClient, withToast, withAudio) no-ops since global StorybookDecorator already provides these — prevents nested Router / duplicate provider crashes in vitest-browser - Fix nested MemoryRouter in 3 page stories (TrackDetail, PlaylistDetail, UserProfile) - Update i18n initialization in test setup (await init before changeLanguage) - Update ~30 test assertions from English to French to match i18n translations - Update test assertions to match SUMI V3 design changes (shadow vs border) - Fix remaining story type errors (PlayerError, PlaylistBatchActions, TrackFilters, VirtualizedChatMessages) Backend (veza-backend-api/): - Fix response_test.go RespondWithAppError signature (2 args, not 3) - Fix TestErrorContractAuthEndpoints expected error codes (ErrCodeUnauthorized vs ErrCodeInvalidCredentials) - Fix TestTrackHandler_GetTrackLikes_Success missing auth middleware setup - Fix TestPlaybackAnalyticsService_GetTrackStats k-anonymity threshold (needs 5 unique users, not 1) - Replace NOW() PostgreSQL function with time.Now() parameter in marketplace service for SQLite test compatibility - Add missing AutoMigrate entries in marketplace_test.go (ProductImage, ProductPreview, ProductLicense, ProductReview) Results: - Frontend TypeCheck: 617 errors -> 0 errors - Frontend ESLint: 349 errors -> 0 errors - Frontend Vitest: 196 failing tests -> 1 skipped (3396/3397 passing) - Backend go vet: 1 error -> 0 errors - Backend tests: 5 failing -> all 13 packages passing - Rust: 150/150 tests passing (unchanged) - Storybook audit: 0 errors across 1244 stories Triage report: docs/TRIAGE_REPORT.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
89 lines
No EOL
3.8 KiB
HTML
89 lines
No EOL
3.8 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
<title>Veza - Plateforme de streaming musical</title>
|
|
|
|
<!-- SUMI v3: Self-hosted fonts — Space Grotesk (headings) + Inter (body) + JetBrains Mono (code, lazy) -->
|
|
<link rel="preload" href="/fonts/SpaceGrotesk-Bold.woff2" as="font" type="font/woff2" crossorigin>
|
|
<link rel="preload" href="/fonts/Inter-Variable.woff2" as="font" type="font/woff2" crossorigin>
|
|
|
|
<!-- PERF: Preload stratégique des chunks vendors critiques (sera injecté par Vite en production) -->
|
|
<!-- Les hashs seront générés automatiquement lors du build -->
|
|
|
|
<!-- PWA Manifest -->
|
|
<link rel="manifest" href="/manifest.json" />
|
|
|
|
<!-- PWA Meta Tags -->
|
|
<meta name="theme-color" content="#1a1a1a" />
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
<meta name="apple-mobile-web-app-title" content="Veza" />
|
|
|
|
<!-- Apple Touch Icons -->
|
|
<link rel="apple-touch-icon" href="/icons/icon-152x152.png" />
|
|
<link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png" />
|
|
<link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png" />
|
|
<link rel="apple-touch-icon" sizes="128x128" href="/icons/icon-128x128.png" />
|
|
<link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png" />
|
|
<link rel="apple-touch-icon" sizes="152x152" href="/icons/icon-152x152.png" />
|
|
<link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png" />
|
|
<link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png" />
|
|
<link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png" />
|
|
|
|
<!-- Microsoft Tiles -->
|
|
<meta name="msapplication-TileColor" content="#1a1a1a" />
|
|
<meta name="msapplication-TileImage" content="/icons/icon-144x144.png" />
|
|
|
|
<!-- SEO and Social -->
|
|
<meta name="description" content="Plateforme de streaming, collaboration et distribution musicale moderne" />
|
|
<meta name="keywords" content="music, streaming, collaboration, audio, chat, veza" />
|
|
<meta name="author" content="Veza Platform Team" />
|
|
|
|
<!-- Open Graph -->
|
|
<meta property="og:title" content="Veza Platform" />
|
|
<meta property="og:description" content="Plateforme de streaming, collaboration et distribution musicale moderne" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:image" content="/icons/icon-512x512.png" />
|
|
|
|
<!-- Twitter Card -->
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
<meta name="twitter:title" content="Veza Platform" />
|
|
<meta name="twitter:description" content="Plateforme de streaming, collaboration et distribution musicale moderne" />
|
|
<meta name="twitter:image" content="/icons/icon-512x512.png" />
|
|
<!-- Theme Script to prevent FOUC -->
|
|
<script>
|
|
(function() {
|
|
const storageKey = 'vite-ui-theme';
|
|
const defaultTheme = 'dark';
|
|
|
|
try {
|
|
const theme = localStorage.getItem(storageKey) || defaultTheme;
|
|
const root = window.document.documentElement;
|
|
|
|
if (theme === 'system') {
|
|
const systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
? 'dark'
|
|
: 'light';
|
|
root.setAttribute('data-theme', systemTheme);
|
|
} else {
|
|
root.setAttribute('data-theme', theme);
|
|
}
|
|
} catch (e) {
|
|
console.error('Failed to set initial theme', e);
|
|
document.documentElement.setAttribute('data-theme', 'dark');
|
|
}
|
|
})();
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
|
|
</html> |