Skip to content

Fix language bar hover tooltip#18

Open
CodecCods wants to merge 1 commit into
Fahad-Dezloper:Stagingfrom
CodecCods:fix/language-bar-hover
Open

Fix language bar hover tooltip#18
CodecCods wants to merge 1 commit into
Fahad-Dezloper:Stagingfrom
CodecCods:fix/language-bar-hover

Conversation

@CodecCods

@CodecCods CodecCods commented May 11, 2026

Copy link
Copy Markdown

Summary

  • Add a custom tooltip for each language bar showing the language name and percentage on hover.
  • Keep the native title text while adding keyboard focus support through tabIndex and aria-label.
  • Mark language bars as non-drag regions so hover/focus interactions work inside the frameless Electron widget.

Testing

  • npm run typecheck
  • npx eslint src/renderer/src/components/GitHubStatsWidget.tsx --quiet
  • npx prettier --check src/renderer/src/components/GitHubStatsWidget.tsx src/renderer/src/assets/main.css
  • npm run build

Note: full npm run lint still fails on pre-existing any errors in src/renderer/src/components/ContributionGrid.tsx.

Closes #8.

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