Skip to content

gui: clarify ⚡ toggle with subtle tooltip #887

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 8, 2025

Conversation

chhoumann
Copy link
Owner

@chhoumann chhoumann commented Aug 8, 2025

Summary

Add a concise, consistent tooltip to the ⚡ (lightning) button in the choices list, clarifying that it enables/disables the choice in Obsidian’s Command Palette.

Why

Users can be unsure what the ⚡ icon does. A subtle tooltip improves discoverability without adding visual clutter or changing existing workflows.

Details

  • src/gui/choiceList/ChoiceItemRightButtons.svelte: set a short, accessible tooltip text via aria-label; no browser-native title to avoid duplicate tooltips.

Test plan

  • Hover the ⚡ icon in QuickAdd settings. You should see a single tooltip reading “Enable in Command Palette” or “Disable in Command Palette,” consistent with other buttons.

Fixes #770

Add explicit tooltip and ARIA label to the lightning bolt button in
settings to explain that enabling it registers an Obsidian command for
the choice (making it appear in Command Palette and hotkeys, and usable
by other plugins). Also update docs across choice pages and add helper
text in settings to reduce confusion reported in #770.
Copy link

vercel bot commented Aug 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quickadd ✅ Ready (Inspect) Visit Preview Aug 8, 2025 0:15am

Revert settings helper paragraph and docs additions; keep a concise
"Enable/Disable in Command Palette" tooltip and ARIA label on the ⚡
button. Keeps the UI informative without being intrusive.
Keep only the project-native tooltip behavior for consistency with other
buttons.
@chhoumann chhoumann changed the title docs/gui: explain Lightning Bolt (⚡) toggle and add tooltip gui: subtle tooltip for ⚡; remove extra docs/settings text Aug 8, 2025
@chhoumann chhoumann changed the title gui: subtle tooltip for ⚡; remove extra docs/settings text gui: clarify ⚡ toggle with subtle tooltip Aug 8, 2025
@chhoumann chhoumann merged commit 94dbd50 into master Aug 8, 2025
2 checks passed
@chhoumann chhoumann deleted the feat/settings-lightning-bolt-help branch August 8, 2025 12:22
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.

[FEATURE REQUEST] Update Documentation regarding Lightning Bolt ⚡ functionality
1 participant