Skip to content

244 button tooltips#288

Merged
maboa merged 2 commits into
mainfrom
244-button-tooltips
May 24, 2026
Merged

244 button tooltips#288
maboa merged 2 commits into
mainfrom
244-button-tooltips

Conversation

@maboa
Copy link
Copy Markdown
Member

@maboa maboa commented May 24, 2026

Summary

Icon-only toolbar buttons had no visible labels, leaving users to guess their function. Adds
DaisyUI-style hover tooltips to the sidebar toggle, strikethrough, rabbit (skip silent gaps), info,
edit-captions, and edit-transcript buttons. The FILE dropdown already has a visible label and is
skipped.

The compiled tailwind-min.css doesn't include DaisyUI's tooltip component, so this commit ships a
minimal CSS implementation that matches DaisyUI's .tooltip + data-tip API. A future Tailwind rebuild
can take over without any HTML changes.

Tooltip behavior

  • Positioned below the button (the toolbar sits at the top of the page).
  • Appear after 500ms of hover so a quick mouse pass doesn't flash a tooltip.
  • Hide instantly on unhover.
  • #sidebar-toggle is left-anchored so its bubble stays on-screen when the sidebar is collapsed and the
    button is at the left edge.

Version bump to 0.6.3.

Test plan

  • Hover each icon button in the toolbar for ~500ms — tooltip appears with the labels listed above.
  • Quick mouse-pass across buttons — no tooltips flash.
  • Collapse the sidebar so #sidebar-toggle sits at the very left edge — tooltip stays fully visible
    (anchored to the button's left edge rather than centered).
  • Hover the rabbit while gap-skip is active — tooltip co-exists with the purple corner dot.
  • Verify the FILE dropdown still works as before with no tooltip.

maboa added 2 commits May 24, 2026 12:19
The compiled tailwind-min.css doesn't include DaisyUI's tooltip
component, so add a minimal CSS implementation matching DaisyUI's
.tooltip + data-tip API. A future tailwind rebuild can take over
without HTML changes.

Tooltips:
- positioned below the button (toolbar sits at top of page)
- show after 500ms of hover so a quick mouse pass doesn't flash
- hide instantly on unhover
- left-anchored on #sidebar-toggle so the bubble stays on-screen
  when the sidebar is collapsed and the button is at the edge

Wired onto sidebar toggle, strikethrough, rabbit (skip silent
gaps), info, edit-captions, and edit-transcript buttons. The FILE
dropdown already has visible text and is skipped.
@maboa maboa merged commit 121e203 into main May 24, 2026
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