Skip to content

Feat/contributor button contrast#6094

Merged
JhaSourav07 merged 3 commits into
JhaSourav07:mainfrom
BistNaveenSingh:feat/contributor-button-contrast
Jun 20, 2026
Merged

Feat/contributor button contrast#6094
JhaSourav07 merged 3 commits into
JhaSourav07:mainfrom
BistNaveenSingh:feat/contributor-button-contrast

Conversation

@BistNaveenSingh

Copy link
Copy Markdown
Contributor

Description

Fixes #6050

Pillar

  • 🎨 Pillar 1 — New Theme Design
  • 📐 Pillar 2 — Geometric SVG Improvement
  • 🕐 Pillar 3 — Timezone Logic Optimization
  • 🛠️ Other (Bug fix, refactoring, docs)

Visual Preview

Before :
image

After:
{5C8C5B15-8A8D-4D5D-969F-1A973FA6CA83}

Checklist before requesting a review:

  • I have read the CONTRIBUTING.md file.
  • I have tested these changes locally (localhost:3000/api/streak?user=YOUR_USERNAME).
  • I have run npm run format and npm run lint locally and resolved all errors (CI will fail otherwise).
  • My commits follow the Conventional Commits format (e.g., feat(themes): ..., fix(calculate): ...).
  • I have updated README.md if I added a new theme or URL parameter.
  • I have started the repo.
  • I have made sure that i have only one commit to merge in this PR.
  • The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts).
  • (Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.

- Replaced blurry gradient border with clean focus glow ring
- Replaced plain text 'Clear' with X icon button
- Added icon container with subtle background
- Styled counter as a pill badge
- Refined spacing and proportions
- Updated tests to match new UI
The global :focus-visible outline was overriding the input's own
focus styling (cyan border + glow ring). Added focus-visible:outline-none
to suppress the mismatched blue outline.
@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

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

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Size Report (Gzipped Sizes)

Asset PR Size Base Size Difference Status
static/chunks/2896-[hash].js 24.47 KB - +24.47 KB (++100%) 🆕 New
static/chunks/6078-[hash].js - 24.38 KB -24.38 KB (-100.00%) 🗑️ Deleted
static/chunks/app/contributors/page-[hash].js 7.33 KB 7.19 KB +0.14 KB (+1.95%) 🔴 Regression
static/chunks/app/page-[hash].js 19.30 KB 19.33 KB -0.03 KB (-0.18%) 🟢 Improvement
static/css/[hash].css 36.99 KB 36.80 KB +0.19 KB (+0.52%) 🔴 Regression

📊 Summary of Totals

Category PR Size Base Size Difference
Total JS 3677.89 KB 3676.96 KB +0.93 KB (+0.03%)
Total CSS 294.47 KB 291.68 KB +2.79 KB (+0.96%)

@github-actions github-actions Bot added the type:feature New features, additions, or enhancements label Jun 20, 2026
@Aamod-Dev Aamod-Dev added level:intermediate Moderate complexity tasks quality:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:design UI designs, styling, SVG icons, and themes type:testing Adding, updating, or fixing tests mentor:Aamod007 labels Jun 20, 2026

@Aamod-Dev Aamod-Dev 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.

Review Summary

Labels applied:

  • level:intermediate — Touches 5 files with both component and styling changes. The search bar restructuring (ContributorsSearch.tsx:92-130), CSS layer addition (globals.css:382-390), and corresponding test updates require moderate attention to detail across multiple areas.
  • quality:clean — Well-structured changes. The Clear button was properly converted from text to icon with �ria-label='Clear search' for accessibility. Test coverage was updated to match the new DOM structure. The @layer base wrapping in globals.css follows Tailwind best practices.
  • type:feature — Enhanced contributor search bar with new visual design, glow effects, and pill-style counter.
  • type:design — UI redesign of the search bar with improved contrast, icon container, and hover states.
  • type:testing — Test files updated to use container.textContent assertions matching the new DOM structure.

Mentor: Aamod007

Assessment: Solid UI enhancement. The search bar is visually improved with better contrast, and the contributor count is more legible in pill format. Tests were properly adapted to the new structure.

Approved! 🚀

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

Copy link
Copy Markdown
Contributor

🎉 Congratulations @BistNaveenSingh! 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:clean PR follows clean coding practices, proper formatting, documentation, and maintainability standards. type:design UI designs, styling, SVG icons, and themes type:feature New features, additions, or enhancements type:testing Adding, updating, or fixing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Contributor search input focus state creates poor UI with oversized blue outline

3 participants