Skip to content

Conversation

kfmelen
Copy link
Member

@kfmelen kfmelen commented Nov 10, 2026

Summary

Store favorites in the database so they follow a user across browsers and devices.

  • Add GraphQL operations to fetch and update favorites by user ID.
  • Load and update favorites through the API throughout the app.
  • Transfer existing browser-stored favorites to the database when the user logs in.
  • Show loading and error states when favorites are unavailable.
  • Allow favorites to be fetched and updated without an authentication check.

Validation

  • 11 component tests passed.
  • 7 integration tests passed, including migration and access from separate browser sessions.

Closes #82

@kfmelen kfmelen added the bug Something isn't working label Nov 10, 2026
@kfmelen kfmelen added this to the Delivery four milestone Nov 10, 2026
@kfmelen kfmelen self-assigned this Nov 10, 2026
@kfmelen kfmelen requested a review from a team as a code owner November 10, 2026 12:18
@kfmelen kfmelen linked an issue Nov 10, 2026 that may be closed by this pull request
@kfmelen kfmelen requested a review from martiasu November 10, 2026 12:19
martiasu
martiasu previously approved these changes Nov 10, 2026
Copy link
Member

@martiasu martiasu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

Copy link
Member

@martiasu martiasu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@kfmelen kfmelen merged commit 6d49f92 into main Nov 11, 2026
@kfmelen kfmelen deleted the 82-store-favorites-in-database branch November 11, 2026 09:29
Sign in to join this conversation on GitHub.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Store favorites in database
2 participants