Skip to content

[DISC-004] Add saved profiles and favorites - #61

Merged
chev0004 merged 9 commits into
developfrom
feat/disc-004
Jun 20, 2026
Merged

[DISC-004] Add saved profiles and favorites#61
chev0004 merged 9 commits into
developfrom
feat/disc-004

Conversation

@chev0004

Copy link
Copy Markdown
Owner

Outline

Summary

Adds saved profiles so logged-in users can bookmark profiles from discovery and revisit them on a dedicated saved page.


Changes & Enhancements

  • Type of Change:
    • Feature
    • Bugfix
    • Refactor
    • Chore
  • Changes:
    • (database):
      • Add saved_profiles table (migration 0003) and data access for saving, unsaving, and listing saved profiles, filtered to still-public profiles.
    • (api):
      • Add POST and DELETE /api/saved with auth and public-profile validation.
    • (discovery):
      • Add a bookmark save/unsave action to profile cards with optimistic state, and prompt logged-out users to log in.
    • (saved page):
      • Add /[lang]/saved listing saved profiles, with an empty state and unsave.
    • (navigation):
      • Add a Saved entry to the user menu.

Page / App Changes

Affected Next.js Routes (Local):

  • /[lang] (discovery cards gain a bookmark action)
  • /[lang]/saved (new)
Before (Screenshot)
After (Screenshot)

Component / Storybook Changes

Affected Storybook Components (Local):

Before (Screenshot)
After (Screenshot)

Not Doing


Other (Remarks)


Checklists

  • Code is well-documented (comments, JSDoc, etc.).
  • Existing comments were updated as needed.
  • No out-of-scope changes are included.
  • Write TODO comments where future work is required.
  • Removed unnecessary debug code (e.g., console.log, debugger).
  • Self-reviewed and tested locally.

@chev0004 chev0004 self-assigned this Jun 20, 2026
@chev0004
chev0004 merged commit 11d8d05 into develop Jun 20, 2026
1 check passed
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