Skip to content

Add per-user favorites for artists and releases#126

Merged
darious merged 1 commit intomainfrom
feature/favorites
Apr 24, 2026
Merged

Add per-user favorites for artists and releases#126
darious merged 1 commit intomainfrom
feature/favorites

Conversation

@darious
Copy link
Copy Markdown
Owner

@darious darious commented Apr 24, 2026

Summary

  • add per-user artist and release favorites with a safe additive database migration
  • expose favorite state and toggle endpoints in the API and surface it on artist and album pages
  • add a favorites-only filter on the artists page and fix artist-page UI reactivity after toggling
  • stabilize the dev frontend startup by isolating SvelteKit and Vite generated state in Docker volumes

Migration safety

  • migration 028_user_favorites.sql is additive only
  • uses CREATE TABLE IF NOT EXISTS and CREATE INDEX IF NOT EXISTS
  • does not modify or delete existing users, artists, albums, or favorites data

Verification

  • npm run check
  • ./test.sh tests/auth/test_migration_028.py tests/api/test_favorites.py tests/api/test_library.py

@darious darious merged commit f3754c2 into main Apr 24, 2026
3 checks passed
@darious darious deleted the feature/favorites branch April 24, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant