Skip to content

feat: implement retro terminal Streak Card UI for Issue #51#76

Open
Souma-122s wants to merge 1 commit into
codepvg:mainfrom
Souma-122s:feature/mock-street-card
Open

feat: implement retro terminal Streak Card UI for Issue #51#76
Souma-122s wants to merge 1 commit into
codepvg:mainfrom
Souma-122s:feature/mock-street-card

Conversation

@Souma-122s
Copy link
Copy Markdown

@Souma-122s Souma-122s commented May 31, 2026

Description

I have built the frontend UI for the Streak Card

Note: The original issue description mentioned a StreakCard.jsx component, but after reviewing the codebase, I saw the project is built with HTML/CSS/JS. I adopted the solution to match the current stock perfectly.

Because the backend data for streaks is currently blocked by Issue #7, I built this UI using dummy data. It is fully styled with the requested retro-terminal theme and includes id tags on the text elements so the backend team can easily inject the live data once the API is ready.

Linked Issue

Fixes #51

Changes Made

  • Added structural HTML for the streak card in frontend/leaderboard.html.
  • Added retro terminal CSS matching the global theme in frontend/styles/main.css.
  • Configured dynamic CSS classes (badge-completed, badge-pending) for easy JavaScript toggling later.

Type of Change

  • Bug fix
  • New feature
  • UI/Visual update
  • Documentation update
  • Refactor

Testing

  • Tested locally
  • Tested on mobile viewport (if applicable)
  • No console errors introduced

Checklist

  • [ x ] My code follows the project's coding style
  • [ x ] I have formatted my code locally using Prettier
  • [ x ] I have performed a self-review of my code
  • [ x ] My changes generate no new warnings or errors
  • [ ] I have updated documentation if required
  • [ x ] I have linked the relevant issue

Screenshots / Screen Recording

Screenshot 2026-06-01 012532

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Hello! Thank you for your first Pull Request!
We are excited to review your contribution to the CodePVG LeetCode Leaderboard.
Please make sure you have run Prettier on your code locally, as our GitHub Actions will fail if the code is unformatted. A maintainer will review your code soon. Thanks for helping out!

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 Add] Implement an Easy-to-Use Daily Challenge & Active Streak Indicator Card

1 participant