Add hover tooltip animations for solder, symmetry, profile, and pack buttons#84
Open
dompm wants to merge 4 commits into
Open
Add hover tooltip animations for solder, symmetry, profile, and pack buttons#84dompm wants to merge 4 commits into
dompm wants to merge 4 commits into
Conversation
…buttons Bring the symmetry mode, solder line, lamp profile editor, and pack buttons in line with the toolbar tools by giving them the same rich hover tooltip with an SVG tutorial animation instead of a plain text tip. https://claude.ai/code/session_014nr68gix3HY6c1HwwW95Pk
Deploying vitrai with
|
| Latest commit: |
3f13912
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://779f6e61.vitrai.pages.dev |
| Branch Preview URL: | https://claude-wizardly-newton-octks.vitrai.pages.dev |
A quadratic Bézier only reaches halfway toward its control point, so as the lamp bulged out the handles drifted outside the silhouette. Position them at the curve midpoint instead: B(0.5) = 0.25·P0 + 0.5·ctrl + 0.25·P2. https://claude.ai/code/session_014nr68gix3HY6c1HwwW95Pk
Match the petal/glass color used across the other tooltip animations instead of the green/purple/blue mix. https://claude.ai/code/session_014nr68gix3HY6c1HwwW95Pk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ToolTooltipAnimations.tsx, matching the existing 220×110 blue-glass style:.tooltip-tipspans for<ToolTooltip>on each button (solder and pack stay gated on their popover being closed).ToolTooltipnow only renders the<kbd>shortcut pill when a shortcut exists, so these shortcut-less buttons (anddetect-all) no longer show an empty pill.tooltipSolderName,tooltipSymmetryName,tooltipProfileName,tooltipPackNameto bothenandfrlocales (descriptions reuse existing strings).Test plan
npm run build(tsc + vite) passes cleanlyhttps://claude.ai/code/session_014nr68gix3HY6c1HwwW95Pk
Generated by Claude Code