Skip to content

feat: enhance tracker page with glassmorphism UI#539

Merged
mehul-m-prajapati merged 3 commits into
GitMetricsLab:mainfrom
sahilsultane:feat/tracker-glassmorphism-ui
May 29, 2026
Merged

feat: enhance tracker page with glassmorphism UI#539
mehul-m-prajapati merged 3 commits into
GitMetricsLab:mainfrom
sahilsultane:feat/tracker-glassmorphism-ui

Conversation

@sahilsultane
Copy link
Copy Markdown
Contributor

@sahilsultane sahilsultane commented May 26, 2026

Summary

Enhanced the Tracker page UI with a modern glassmorphism design inspired by the Home page while keeping all existing functionality unchanged.

Closes #537


Changes Made

  • Added modern glassmorphism UI styling
  • Improved Tracker page visual hierarchy
  • Enhanced Fetch Data button with glow and hover effects
  • Added smooth transitions and hover animations
  • Improved form inputs and filter styling
  • Redesigned cards and table containers
  • Added responsive glass-style layout
  • Maintained dark theme consistency

Additional Notes

  • No backend or API logic was changed
  • Existing functionality remains unchanged
  • Also removed an invalid unused authError reference causing a TypeScript issue during development/build

Screenshots / Recording

before

gittrackerbefore.mp4

After

gittrackerfinal.mp4

GSSoC 2026

Kindly add label :

  • gssoc
  • gssoc-approved
  • level-advanced
  • -quality-clean

Summary by CodeRabbit

  • Style

    • Redesigned Tracker page with enhanced visual styling, dark/light theme support, and decorative effects.
    • Improved responsive design and layout for mobile devices (tablets and phones).
  • New Features

    • Added dedicated empty-state views with contextual messaging to guide users.

Review Change Stack

@netlify
Copy link
Copy Markdown

netlify Bot commented May 26, 2026

Deploy Preview for github-spy failed.

Name Link
🔨 Latest commit 3f1f75e
🔍 Latest deploy log https://app.netlify.com/projects/github-spy/deploys/6a19c8d422439a0008187b1e

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 26, 2026

Warning

Review limit reached

@mehul-m-prajapati, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 20 minutes and 17 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f1f3e3bb-0e79-4ce3-89f4-2fe277714d8e

📥 Commits

Reviewing files that changed from the base of the PR and between dcfac35 and 3f1f75e.

📒 Files selected for processing (1)
  • src/pages/Tracker/Tracker.tsx
📝 Walkthrough

Walkthrough

The PR refactors the Tracker page's UI with a complete glassmorphism design system. A new 586-line stylesheet defines the visual foundation (dark/light backgrounds, decorative overlays, glass cards) and overrides Material-UI components. The component markup was restructured to use custom CSS classes instead of MUI Container, error handling was simplified to show only data-fetch errors, and an empty-state UI was added.

Changes

Tracker Page Glassmorphism Redesign

Layer / File(s) Summary
CSS Visual Foundation & Layout Structure
src/pages/Tracker/Tracker.css (lines 1–60, 61–88, 90–122, 123–156, 157–180, 534–547, 548–557)
Root page wrapper with glassmorphism backdrop, decorative glow blobs, cyber grid overlay, h1 heading with gradient text, glass card base styling with hover shadows, section labels with accent underlines, and empty-state centered layout.
CSS Material-UI Component Overrides
src/pages/Tracker/Tracker.css (lines 181–261, 262–309, 310–316, 317–342, 343–387, 388–399, 400–471, 472–489, 490–525, 526–533)
Styling for TextField inputs, Fetch button with gradient border and glow, filter row layout, Tabs with gradient indicators, Select dropdowns, Alert boxes, Table with custom scrollbars and header rounding, Pagination controls, and CircularProgress spinners; all with dark/light mode variants.
TSX Imports & Setup
src/pages/Tracker/Tracker.tsx (lines 9–10, 31–34)
Removes Container from MUI imports; adds Tracker.css stylesheet import and GitBranchIcon from lucide-react.
TSX Component Refactor: Logic & Markup
src/pages/Tracker/Tracker.tsx (lines 50–54, 138–148, 155–392)
Updates useGitHubAuth destructuring to exclude auth error; refines getStatusIcon helper for PR/issue classification; replaces entire JSX tree with new tracker-root/overlay layout, updates error alert to show only dataError, adds empty-state UI branching based on username presence.
CSS Responsive Design
src/pages/Tracker/Tracker.css (lines 558–586)
Media queries for ≤768px (stacked layouts, full-width button) and ≤480px (smaller heading) adjust glassmorphism design across devices.

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related issues

Possibly related PRs

  • GitMetricsLab/github_tracker#246: Both PRs modify the loading UI state rendering in src/pages/Tracker/Tracker.tsx, potentially overlapping in the spinner/placeholder presentation logic.
  • GitMetricsLab/github_tracker#255: Both PRs refactor src/pages/Tracker/Tracker.tsx's error handling and data-fetching wiring, including changes to useGitHubAuth destructuring and alert display logic.

Suggested labels

gssoc25, level:intermediate, quality:clean, gssoc:approved

Poem

🐰 The Tracker page now gleams so bright,
With glass and glow and overlay light,
Dark blobs dance while grids align,
Cards blur softly, by design—
A modern dance on every screen,
The finest Tracker ever seen! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: enhancing the Tracker page with glassmorphism UI design.
Description check ✅ Passed The description includes a summary, changes made, additional notes, screenshots, and follows the template structure with all key information present.
Linked Issues check ✅ Passed The PR successfully implements all coding requirements from issue #537: glassmorphism styling, modern card design, hover effects, responsive layout, dark theme consistency, and removal of unused code.
Out of Scope Changes check ✅ Passed All changes are in-scope: CSS styling additions, UI markup refactoring, and removal of unused authError reference—no backend/API logic modifications or unrelated changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sahilsultane
Copy link
Copy Markdown
Contributor Author

Hi @mehul-m-prajapati ,

I have completed the Tracker page UI enhancement with modern glassmorphism styling while keeping all existing functionality unchanged.

The PR includes:

  • Improved modern UI/UX
  • Glassmorphism effects
  • Enhanced Fetch Data button
  • Responsive styling improvements

Also resolved a small existing TypeScript issue caused by an invalid unused authError reference during development/build.

Kindly review the PR and please add the required GSSoC labels:

  • gssoc
  • gssoc-approved
  • level-advanced
  • quality-clean

Thank you!

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
src/pages/Tracker/Tracker.css (1)

26-51: Consider monitoring glassmorphism performance impact.

The extensive use of blur filters—decorative glow blobs with blur(120px) and blur(160px), backdrop-filter: blur(18px) on multiple glass cards, and drop-shadow effects—creates the intended glassmorphism aesthetic but can impact rendering performance on lower-end devices, older browsers, or when many cards are rendered simultaneously.

For production, consider:

  • Monitoring Core Web Vitals (LCP, CLS) to detect rendering bottlenecks
  • Testing on mid-range and low-end devices
  • Providing a reduced-motion or simplified-theme fallback for users who opt out via prefers-reduced-motion
  • Considering conditional blur (e.g., disable decorative blobs on <768px viewports if performance metrics show issues)

Also applies to: 124-127, 394-394

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/pages/Tracker/Tracker.css` around lines 26 - 51, Decorative heavy blurs
in .tracker-root::before, .tracker-root::after and the glass card styles can
hurt rendering on low-end devices; add a performance-friendly fallback by:
detecting prefers-reduced-motion and using a reduced blur/disabled
pseudo-elements, adding a CSS media query (max-width: 768px) to lower or remove
filter: blur(...) and drop-shadow on the mentioned selectors, and optionally
toggling these effects via a small runtime check (e.g., disable blobs when
window.innerWidth < 768) so fewer cards are rendered with heavy filters; also
instrument Core Web Vitals (LCP, CLS) and test on mid/low-end devices to
validate the change.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/pages/Tracker/Tracker.tsx`:
- Line 33: Import of the Lucide icon is incorrect: replace the non-existent
export GitBranchIcon with the correct GitBranch export and update any JSX usages
that reference <GitBranchIcon /> to use <GitBranch /> instead; specifically edit
the import line that currently imports KeyIcon and GitBranchIcon from
"lucide-react" and change GitBranchIcon → GitBranch, and update occurrences of
the GitBranchIcon component in Tracker.tsx to the GitBranch component.

---

Nitpick comments:
In `@src/pages/Tracker/Tracker.css`:
- Around line 26-51: Decorative heavy blurs in .tracker-root::before,
.tracker-root::after and the glass card styles can hurt rendering on low-end
devices; add a performance-friendly fallback by: detecting
prefers-reduced-motion and using a reduced blur/disabled pseudo-elements, adding
a CSS media query (max-width: 768px) to lower or remove filter: blur(...) and
drop-shadow on the mentioned selectors, and optionally toggling these effects
via a small runtime check (e.g., disable blobs when window.innerWidth < 768) so
fewer cards are rendered with heavy filters; also instrument Core Web Vitals
(LCP, CLS) and test on mid/low-end devices to validate the change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 97f7aaa4-149d-4154-b5bb-42627ca6c772

📥 Commits

Reviewing files that changed from the base of the PR and between 6c6bc3e and dcfac35.

📒 Files selected for processing (2)
  • src/pages/Tracker/Tracker.css
  • src/pages/Tracker/Tracker.tsx

Comment thread src/pages/Tracker/Tracker.tsx Outdated
@sahilsultane
Copy link
Copy Markdown
Contributor Author

The requested changes have been addressed:

  • Replaced incorrect GitBranchIcon import with GitBranch
  • Verified the application locally
  • Production build passes successfully

Waiting for checks/review. Thank you!

@sahilsultane
Copy link
Copy Markdown
Contributor Author

Hi @mehul-m-prajapati 👋

Could you please add the following labels for contribution tracking under GSSoC'26?

  • gssoc
  • gssoc-approved
  • level: advanced
  • quality clean

@mehul-m-prajapati mehul-m-prajapati merged commit adff9a0 into GitMetricsLab:main May 29, 2026
2 of 6 checks passed
@github-actions
Copy link
Copy Markdown

🎉🎉 Thank you for your contribution! Your PR #539 has been merged! 🎉🎉

@sahilsultane
Copy link
Copy Markdown
Contributor Author

Hi @mehul-m-prajapati 👋

Could you please add the following labels for contribution tracking under GSSoC'26?

  • gssoc
  • gssoc-approved
  • level: advanced
  • quality clean

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.

🚀 Feature: Enhance Git Tracker Page UI with Modern Glassmorphism Effects

2 participants