Skip to content

feat(ui): implement skeleton loaders for market map and leaderboard#67

Draft
Mohammad-Hassan027 wants to merge 3 commits into
jpdevhub:mainfrom
Mohammad-Hassan027:feat/60-skeleton-loaders
Draft

feat(ui): implement skeleton loaders for market map and leaderboard#67
Mohammad-Hassan027 wants to merge 3 commits into
jpdevhub:mainfrom
Mohammad-Hassan027:feat/60-skeleton-loaders

Conversation

@Mohammad-Hassan027
Copy link
Copy Markdown

@Mohammad-Hassan027 Mohammad-Hassan027 commented Jun 2, 2026

Created reusable brutalist Skeleton component

  • Replaced DOWNLOADING_NODES... text with skeleton UI in MarketMapPage
  • Updated loading states to match GlassCard dimensions and prevent layout shift

Resolves #60

Description

This PR addresses issue #60 by improving the perceived performance of data-fetching states across the application. I am submitting this contribution as part of SSoC26.

Changes included:

  • Skeleton.tsx Component: Created a new, reusable brutalist/cyberpunk skeleton component utilizing the bg-surface-mid color class and a smooth pulse animation.
  • MarketMapPage.tsx: Removed the generic "DOWNLOADING_NODES..." text. Implemented the new Skeleton loader structured to mimic the exact dimensions of the GlassCard component. This ensures a seamless transition with zero layout shift when the market data finishes loading.
  • Leaderboard.tsx: (If you completed this part) Replaced the fetching state with skeleton rows that map directly to the table column widths.

Screenshots/Video

wait ..

Checklist

  • npm run lint passes with no errors
  • npm run build compiles without TypeScript errors
  • python -m pytest passes
  • No .env files, API keys, secrets, model weights, or __pycache__ in this diff
  • Branch is rebased on main, not merged

- Created reusable brutalist Skeleton component
- Replaced 'DOWNLOADING_NODES...' text with skeleton UI in MarketMapPage
- Updated loading states to match GlassCard dimensions and prevent layout shift

Resolves jpdevhub#60
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 2, 2026

@Mohammad-Hassan027 is attempting to deploy a commit to the karan3431's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

🎉 Thank you for your Pull Request! We're thrilled to have your contribution to FreshScan AI.

Before we review, please make sure you have:

  • Followed the CONTRIBUTING.md guidelines.
  • Ensured all automated CI checks (linting, tests) are passing.
  • Checked that your commit messages follow the Conventional Commits format.

A maintainer will review your code as soon as possible!

@Mohammad-Hassan027
Copy link
Copy Markdown
Author

Leaderboard Loader

  • Status: Not Resolved
  • Details: The codebase currently does not have a Leaderboard.tsx page or component, nor are there any routes, database schemas, or code references to a vendor leaderboard. Therefore, the leaderboard skeleton loaders have not been applied.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FE: Implement Skeleton Loaders for Market Map & Leaderboard

1 participant