Bug: Every click of the logo would consistently do a full page reload
- Logo clicking now uses svelte-spa-router's link
Apply consistent formatting to Header.svelte:
- Add semicolons to all statements
- Improve JSX/HTML attribute formatting for better readability
- Add link import from svelte-spa-router for SPA navigation
- Format multi-line attributes with proper indentation
These changes improve code consistency and maintainability without
altering any functionality.
Regenerate the Wails TypeScript models to include the new Genres field
in the MediaList type definition. This is an auto-generated file that
reflects the updated Go backend type structure with the genres []string
field added to the media object.
- Anime.svelte: Add genre display section with clickable badges that link
to AniList search results for each genre. Genres are now displayed above
the existing tags section with consistent styling.
- WebsiteLink.svelte: Enhance component to support custom URLs via the `url`
export parameter. Previously, the component only generated URLs based on
service prefixes (a-, m-, s-). Now it accepts a direct URL parameter for
flexible linking to AniList searches and other external resources.
These changes provide users with an improved browsing experience by making
genres interactive and easily searchable.
Update the AniListCurrentUserWatchListType TypeScript interface to include
the genres field as a string array, matching the updated backend Go type
definition. This ensures type safety and proper IDE autocomplete when
working with genre data in the frontend.