diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..2503d87 --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,3 @@ +## 2025-05-14 - [Game Detail Header Accessibility & UX Polish] +**Learning:** In a specialized desktop manager like Pascal, many interaction points (like folder paths or branding overlays) are implemented as static elements with click handlers. These must be converted to semantic interactive elements (like ` )} @@ -161,10 +163,14 @@ export function GameDetailHeader({ game, onGameUpdated, onPlatformChange, onFilt {/* Platform Selector */} {onPlatformChange && (
-
diff --git a/src/components/Library/GameScreenshotsCarousel.tsx b/src/components/Library/GameScreenshotsCarousel.tsx index 6a4e37c..bfae3b8 100644 --- a/src/components/Library/GameScreenshotsCarousel.tsx +++ b/src/components/Library/GameScreenshotsCarousel.tsx @@ -20,7 +20,6 @@ export function GameScreenshotsCarousel({ gameId }: GameScreenshotsCarouselProps const [igdbScreenshots, setIgdbScreenshots] = useState([]); const [currentIndex, setCurrentIndex] = useState(0); const [loading, setLoading] = useState(true); - const [hasIgdbId, setHasIgdbId] = useState(false); useEffect(() => { const loadScreenshots = async () => { @@ -29,7 +28,6 @@ export function GameScreenshotsCarousel({ gameId }: GameScreenshotsCarouselProps // Load game data to check IGDB ID try { const game = await invoke<{ igdb_id: number | null }>("get_game_by_id", { id: gameId }); - setHasIgdbId(!!game?.igdb_id); // Load IGDB screenshots if available if (game?.igdb_id) { diff --git a/src/i18n/translations.ts b/src/i18n/translations.ts index 1664377..20cd75c 100644 --- a/src/i18n/translations.ts +++ b/src/i18n/translations.ts @@ -342,6 +342,7 @@ export const translations = { manual: 'Manual', more: 'more', clearAll: 'Clear All', + clearRating: 'Clear Rating', tryAdjustingFilters: 'Try adjusting your filters', // Screenshot Background @@ -728,6 +729,7 @@ export const translations = { manual: 'Manuel', more: 'de plus', clearAll: 'Tout effacer', + clearRating: 'Effacer la note', tryAdjustingFilters: 'Essayez d\'ajuster vos filtres', // Screenshot Background