Skip to content

Add a tooltip to each commit node in the network graph - #49

Open
aadrian wants to merge 4 commits into
mrkm4ntr:masterfrom
aadrian:add-21-tooltip
Open

aadrian wants to merge 4 commits into
mrkm4ntr:masterfrom
aadrian:add-21-tooltip

Conversation

@aadrian

@aadrian aadrian commented Sep 17, 2026

Copy link
Copy Markdown

Closes #21.

Built on top of #46 — this diff includes those commits too until #46 merges. Please review/merge #46 first, then the last commit here is the actual change for this issue.

Summary

  • Backend now sends the full commit message, author name, and commit date. Previously only a short message was sent.
  • Each commit node (dot + avatar) shows a tooltip on hover. Built with react-bootstrap's existing OverlayTrigger/Tooltip — already a dependency, nothing new added. Shows short SHA, author, formatted date, and full message.
  • The commit dot's existing click-to-open behavior is untouched.

Test plan

  • Backend test asserts the new fullMessage/authorName/date fields in the JSON response.
  • Frontend tests assert both hover targets render a tooltip trigger with the expected content.
  • Verified live: hovering both the commit dot and the avatar shows the tooltip with correct content. No console errors.

GitHub's ubuntu-latest runner no longer ships sbt preinstalled
(sbt: command not found), and the modern sbt launcher installed
by sbt/setup-sbt requires JDK >= 11 to run at all, independent
of the project's own target bytecode version. Verified locally
with act and via a direct JDK 17 sbt test run.
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.

Add Tooltip in the graph.

1 participant