ctznry icon indicating copy to clipboard operation
ctznry copied to clipboard

add tooltips to show who reacted to your post/comment on main feed

Open hamnox opened this issue 3 years ago • 2 comments

This needs someone's eyes, it's not optimized for styling.

notes

  • had to remove overflow:hidden style on parent div, it was causing the tooltip to not render on thread-view.
    • I tested a long sequence of reacts, it looks like they wrap onto more lines fine.
  • also shows tooltip on expanded view, as it's the same function that renders the reactions in both styles. it could in theory take an argument but that feels inconsistent with the coding style.

hamnox avatar Apr 14 '21 03:04 hamnox

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pfrazee/ctznry/8Y5acQKyhn76mmVRtisX6yype1FX
✅ Preview: https://ctznry-git-fork-hamnox-reactions-tooltip-pfrazee.vercel.app

vercel[bot] avatar Apr 14 '21 03:04 vercel[bot]

Loom Video

Reactions with many clicks are clipping at the edge of posts-feed. Possible solution: make a tooltip that is flush with the start of the reactions instead, limit the number of characters it shows.

hamnox avatar Apr 14 '21 04:04 hamnox