Skip to content

feat: Enhance SVG Tower Tooltips with Interactivity - #8980

Merged
JhaSourav07 merged 3 commits into
JhaSourav07:mainfrom
Aditya8369:feat/Interactive-SVG-Tower-Tooltips
Aug 13, 2026
Merged

feat: Enhance SVG Tower Tooltips with Interactivity#8980
JhaSourav07 merged 3 commits into
JhaSourav07:mainfrom
Aditya8369:feat/Interactive-SVG-Tower-Tooltips

Conversation

@Aditya8369

Copy link
Copy Markdown
Contributor

Monolith towers in SVG graphs are now interactive and explorable:

SVG Grouping & Structure: Towers in

generator.ts
are grouped inside tags with explicit data-date and data-count metadata attributes.
Native Browser Tooltips & Accessibility: Each tower group contains a <title> tag (e.g. <title>TODAY: Oct 26: 5 commits</title>) to natively display tooltips on hover across all browsers without JavaScript, ensuring compatibility with GitHub READMEs and screen reader accessibility.
CSS Micro-Animations: Smooth hover transformations (translateY(-4px)), brightness adjustments, drop-shadow glow, and cursor: pointer styling are applied via .interactive-tower:hover in the SVG <style> block.
Unit Testing: Added

generator.interactive-tooltips.test.ts
. All 180 unit tests across the SVG generator and layout test suites passed cleanly.
For full details, please review the

closes #8975

Copilot AI lite review requested due to automatic review settings August 9, 2026 14:03
@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

@Aditya8369 is attempting to deploy a commit to the jhasourav07's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@retenta-bot

retenta-bot Bot commented Aug 9, 2026

Copy link
Copy Markdown

This pull request enhances the SVG graphs by making the tower tooltips interactive, which aligns with our previous decisions on improving user interactions and testing for SVG components. The addition of unit tests ensures that the new features are stable and reliable. Great work on this! Looking forward to seeing it merged.

@retenta-bot retenta-bot Bot changed the title feat: Interactive SVG Tower Tooltips feat: Enhance SVG Tower Tooltips with Interactivity Aug 9, 2026
@github-actions github-actions Bot added the status:blocked This PR is blocked due to a failing CI check. label Aug 9, 2026
@github-actions github-actions Bot removed the status:blocked This PR is blocked due to a failing CI check. label Aug 9, 2026
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

✨ No significant bundle size changes detected.

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 4998.89 KB 4998.89 KB 0 B
Total CSS 354.18 KB 354.18 KB 0 B

@Aditya8369

Copy link
Copy Markdown
Contributor Author

@JhaSourav07 @Aamod007 please check this

@github-actions github-actions Bot added the type:feature New features, additions, or enhancements label Aug 12, 2026
@Aamod007 Aamod007 added mentor:Aamod007 type:design UI designs, styling, SVG icons, and themes level:intermediate Moderate complexity tasks quality:exceptional Outstanding contribution with exceptional implementation quality, testing. labels Aug 13, 2026

@Aamod007 Aamod007 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful enhancement! Grouping the SVG towers and utilizing native <title>\ tags in \generator.ts\ is the perfect, zero-JavaScript way to add tooltips that work reliably across GitHub READMEs. The added CSS micro-animations (\ ransform: translateY(-4px)\ on hover) really elevate the premium feel of the monolith.

The tests in \generator.interactive-tooltips.test.ts\ thoroughly ensure the structure is generated correctly and, crucially, that reserved XML characters are properly escaped to prevent invalid SVG output.

Labels applied:

  • type:feature, type:design: Adds interactive tooltips and hover effects to the SVG graphs.
  • level:intermediate: Handles SVG DOM grouping, native browser tooltips, and embedded CSS.
  • quality:exceptional: Clean, accessible, and very well tested implementation.

@JhaSourav07 JhaSourav07 added the gssoc:approved PR has been reviewed and accepted for valid contribution points label Aug 13, 2026
@JhaSourav07
JhaSourav07 merged commit 6446861 into JhaSourav07:main Aug 13, 2026
11 of 12 checks passed
@github-actions github-actions Bot added this to the GSSoC 2026 milestone Aug 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Congratulations @Aditya8369! Your PR has been successfully merged. 🚀

Thank you for contributing to CommitPulse. Your work helps us build a better tool for the community.

⚠️ Important for GSSoC Contributors:
You are strictly advised to join our Discord Server as it is mandatory for all GSSoC participants. All important announcements, point claims, and community discussions happen there.

Keep building! 💻✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved PR has been reviewed and accepted for valid contribution points level:intermediate Moderate complexity tasks mentor:Aamod007 quality:exceptional Outstanding contribution with exceptional implementation quality, testing. type:design UI designs, styling, SVG icons, and themes type:feature New features, additions, or enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Interactive SVG Tower Tooltips

4 participants