Repository navigation
fix: share one tooltip provider and wrap long tooltip content - #257
Merged
Merged
Conversation
everpcpc
marked this pull request as ready for review
October 18, 2026 17:39
This was referenced Oct 18, 2026
everpcpc
added a commit
that referenced
this pull request
Oct 18, 2026
## Goal Bump the workspace version to 0.22.3 (patch). Covers since 0.22.2: - feat: media comment on book/oneshot detail pages, with clamped long comments (#252) - feat: the update check outcome moved to an always-200 `/api/v1/update-check` (#253) - ci: aggregate always-reporting gate job (#254) - fix: zero-count segments hidden in library and series stat lines (#255) - fix: oneshots library field relabeled as the keyword it is (#256) - fix: shared tooltip provider (instant re-open) and wrapped long content (#257, #258) The release workflow publishes the GitHub release and tag once this lands on master. ## Test - `cargo check --workspace` (Cargo.lock synced)
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.
Goal
Two tooltip annoyances, most visible on the book detail page's File field:
Tooltipinstance created its own RadixProvider, so Radix's grouping behavior (after the first tooltip opens, adjacent ones open instantly) never kicked in — each tooltip waited the full 350 ms delay, every time.Changes
TooltipProvider(delayDuration={350}) to the app root inmain.tsx; theTooltipcomponent no longer wraps each instance in its own Provider. Moving between tooltips now re-opens instantly within Radix's skip-delay window.max-w-sm+break-words, so long paths wrap instead of overflowing.All 20 tooltip call sites (16 files) go through the shared component, so the fix applies everywhere.
Test
pnpm lintandpnpm build(tsc + vite) pass.