Skip to content

chore(profile-tooltip): remove options menu from user card#6094

Merged
idoshamun merged 2 commits into
mainfrom
eng-1570-remove-the-3-dot-button-in-the-profile-tooltip
May 24, 2026
Merged

chore(profile-tooltip): remove options menu from user card#6094
idoshamun merged 2 commits into
mainfrom
eng-1570-remove-the-3-dot-button-in-the-profile-tooltip

Conversation

@idoshamun
Copy link
Copy Markdown
Member

@idoshamun idoshamun commented May 24, 2026

Summary

Removes the 3-dot options menu (block / report / gift Plus) from the profile tooltip's UserEntityCard, leaving only the Follow button as the action.

Key decisions

  • Deleted useUserMenuProps since UserEntityCard was its only consumer.
  • Simplified UserEntityCard after removal: moved the early return ahead of destructuring so user is guaranteed non-null, dropped the empty-string id fallback (both useContentPreferenceStatusQuery and useShowFollowAction accept undefined), and removed the redundant || {} destructure.

Closes ENG-1570


Created by Huginn 🐦‍⬛

Preview domain

https://eng-1570-remove-the-3-dot-button.preview.app.daily.dev

idoshamun and others added 2 commits May 24, 2026 11:55
Removes the 3-dot menu (block/report/gift Plus) from the profile
tooltip's UserEntityCard, leaving only the Follow action. Also drops
the now-unused useUserMenuProps hook.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ructure

Hooks accept undefined ids, so the `?? ''` mask is unnecessary. Move
the early return ahead of destructuring to remove the `|| {}` fallback
and derive `isSameUser`/`showActionBtns` from the non-null user.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview May 24, 2026 12:06pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored May 24, 2026 12:06pm

Request Review

@idoshamun idoshamun merged commit 9b69d5c into main May 24, 2026
12 checks passed
@idoshamun idoshamun deleted the eng-1570-remove-the-3-dot-button-in-the-profile-tooltip branch May 24, 2026 12:08
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