Skip to content

[DISC-004] Prevent saving own profile - #62

Merged
chev0004 merged 2 commits into
developfrom
fix/disc-004
Jun 20, 2026
Merged

[DISC-004] Prevent saving own profile#62
chev0004 merged 2 commits into
developfrom
fix/disc-004

Conversation

@chev0004

@chev0004 chev0004 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Outline

Summary

Follow-up for DISC-004 that prevents users from saving their own profile and moves the saved-profile action into the card menu.


Changes & Enhancements

  • Type of Change:
    • Feature
    • Bugfix
    • Refactor
    • Chore
  • Changes:
    • Discovery:
      • Prevent self-owned profiles from showing save affordances or saved state.
      • Move save and unsave actions into the profile card menu.
    • Saved profiles:
      • Reject attempts to save the signed-in user's own profile.
      • Filter self-owned profiles from saved profile IDs.
    • Stories and copy:
      • Update profile card saved-state stories for menu actions.
      • Update saved-empty-state copy.

Page / App Changes

Affected Next.js Routes (Local):

  • /en
  • /ja
  • /en/saved
  • /ja/saved
Before (Screenshot)
After (Screenshot)

Component / Storybook Changes

Affected Storybook Components (Local):

  • Discovery/ProfileCard > SaveAction
  • Discovery/ProfileCard > Saved
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 d75d02c 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