Skip to content

feat: open popups on hover and add themed tooltips - #108

Merged
Seb-GRAF merged 2 commits into
mainfrom
feat/88-hover-popups
Oct 19, 2026
Merged

Seb-GRAF merged 2 commits into
mainfrom
feat/88-hover-popups

Conversation

@Seb-GRAF

Copy link
Copy Markdown
Collaborator

Problem

Glancing at a widget's details currently requires clicking its popup. Widgets also need a simple, configurable hover tooltip, such as “Will not sleep for 1 hour” for Amphetamine.

Fixes #88.

Changes

  • Add popup.openOnHover: open after 400 ms, allow crossing between the widget and popup, and close after leaving both. Clicking the widget or popup keeps it open until dismissed.
  • Add widget tooltip text, with script output as the fallback. Compact tooltips inherit the popup theme and preserve the widget's click action.
  • Expose both settings in Customize, update the decoder/schema and documentation, and demonstrate them in the interactive example. Existing layer and edit handling preserves imported settings.

Testing

  • Focused native presentation tests cover delayed opening, hover cancellation, crossing the gap, leaving, click pinning, switching widgets, anchor removal, and short/multiline tooltips.
  • Configuration layer, editor, schema, and popup resize checks pass. Release app build, signature verification, configuration validation, and git diff --check pass.
  • The developer verified hover popups and the Amphetamine tooltip in a scratch native app. Native automation cannot perform a pure hover; click opening and Escape dismissal were checked through automation.
  • Native AppKit/SwiftUI test captures show the widget before hover, the compact tooltip afterward, and its matching full popup. Screenshot attachment is pending browser sign-in.

Merging

Use a merge commit to retain the feature commit in the changelog.

GPT-6 Astra via Codex harness in T3 Code.

@Seb-GRAF
Seb-GRAF enabled auto-merge October 19, 2026 15:22
@Seb-GRAF
Seb-GRAF merged commit 8fe26d2 into main Oct 19, 2026
3 checks passed
@Seb-GRAF
Seb-GRAF deleted the feat/88-hover-popups branch October 19, 2026 15:36
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Open a widget's popup on hover

1 participant