Skip to content

feat(code): add hover tooltips to Pin and Archive sidebar buttons#1557

Merged
jonathanlab merged 1 commit intomainfrom
posthog-code/add-tooltip-pin-archive-buttons
Apr 8, 2026
Merged

feat(code): add hover tooltips to Pin and Archive sidebar buttons#1557
jonathanlab merged 1 commit intomainfrom
posthog-code/add-tooltip-pin-archive-buttons

Conversation

@posthog
Copy link
Copy Markdown
Contributor

@posthog posthog bot commented Apr 8, 2026

Summary

  • Replaced bare title attributes on the Pin and Archive task hover toolbar buttons with the project's <Tooltip> component
  • Matches the tooltip pattern already used by all other icon buttons in the sidebar (Cloud, Worktree, Local, Suspended, etc.)
  • Pin tooltip dynamically shows "Pin task" / "Unpin task" based on current state

Test plan

  • Hover over the Pin button on a task item in the sidebar — tooltip should appear saying "Pin task"
  • Pin a task, then hover — tooltip should say "Unpin task"
  • Hover over the Archive button — tooltip should appear saying "Archive task"

Created with PostHog Code

Replace bare `title` attributes on the Pin and Archive task hover
toolbar buttons with the project's `<Tooltip>` component, matching the
pattern used by all other icon buttons in the sidebar.

Generated-By: PostHog Code
Task-Id: 73860bb0-fe96-439a-bd55-c442a1887aea
@jonathanlab jonathanlab marked this pull request as ready for review April 8, 2026 15:06
@jonathanlab jonathanlab merged commit 25ee01c into main Apr 8, 2026
15 checks passed
@jonathanlab jonathanlab deleted the posthog-code/add-tooltip-pin-archive-buttons branch April 8, 2026 15:06
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