Skip to content

Fix sidebar wiki card display and hover tooltip caching - #7

Open
josephruocco wants to merge 1 commit into
mainfrom
feature/sidebar-wiki-polish
Open

Fix sidebar wiki card display and hover tooltip caching#7
josephruocco wants to merge 1 commit into
mainfrom
feature/sidebar-wiki-polish

Conversation

@josephruocco

Copy link
Copy Markdown
Owner

Summary

  • Sidebar wiki cards now trim extract to first sentence
  • Sidebar Wikipedia link replaced with icon button (matching hover tooltip style)
  • Hover tooltip no longer flashes "Loading…" when re-hovering a cached term

Test plan

  • Morgenbladet sidebar card shows only first sentence, with icon link bottom right
  • Clicking icon opens correct Wikipedia page
  • Hover a term, move away, hover again — no loading flash on second hover
  • First hover on a fresh term still shows loading spinner

🤖 Generated with Claude Code

- Sidebar card wikiText now trims to first sentence (was showing full extract)
- Sidebar card Wikipedia link is now icon button, not text link
- Hover tooltip no longer flashes loading state for already-cached terms

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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