Skip to content

Conversation

@hlbmtc
Copy link
Contributor

@hlbmtc hlbmtc commented Dec 9, 2025

Implements the concept of Private Notes as a replacement for the existing private comments functionality:

  • Hide the private comments button for regular users, but still show it for bots
  • Added private note fields to the PostUserSnapshot model — the primary Post<>User interaction metadata model
  • Added a migration to move private comments from non-bot users into private notes, then delete the old comments
  • Added a Private Notes section on posts with auto-save
    image
  • Added a Private Notes section in the user profile to easily access old notes (user request — Implement Private comments switcher in user profile #972)
    image

closes #3098
closes #972

# Conflicts:
#	front_end/messages/cs.json
#	front_end/messages/en.json
#	front_end/messages/es.json
#	front_end/messages/pt.json
#	front_end/messages/zh-TW.json
#	front_end/messages/zh.json
#	front_end/src/app/(main)/accounts/profile/[id]/components/profile_page_tab.tsx
#	front_end/src/app/(main)/accounts/profile/[id]/layout.tsx
#	front_end/src/types/users.ts
@hlbmtc hlbmtc marked this pull request as ready for review December 11, 2025 18:55
@hlbmtc hlbmtc requested a review from ncarazon December 11, 2025 18:55
@hlbmtc hlbmtc merged commit 5e93db8 into main Dec 12, 2025
3 checks passed
@hlbmtc hlbmtc deleted the feat/3098-post-private-notes branch December 12, 2025 15:20
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.

Switch private comments to private notes section Implement Private comments switcher in user profile

3 participants