Skip to content

refactor: share signal metrics between comparison and profile views - #260

Merged
O2sa merged 1 commit into
O2sa:mainfrom
abhinavrastogi2627:refactor/shared-signal-metrics
Oct 21, 2026
Merged

O2sa merged 1 commit into
O2sa:mainfrom
abhinavrastogi2627:refactor/shared-signal-metrics

Conversation

@abhinavrastogi2627

Copy link
Copy Markdown
Contributor

Fixes #247

Extract the ten shared signal metrics into a typed developer-feature helper and use it in both views. Preserve metric order, translation keys, zero values and missing-value fallbacks. Comparison-only language metrics remain unchanged.

Validation: 241 tests passed across 30 files, including English/Arabic labels, absent signals, incomplete cached signals and zero values. TypeScript, locale validation, full Prettier check and production build passed on Node 24. Lint passed with one existing image warning in the leaderboard test. The build exercised its database-unavailable fallback; no live database or GitHub profile requests were validated.

Additionally, at the time of submission of this PR:

  • The referred issue is not blocked currently
  • All unittests passed after changes were made

@vercel

vercel Bot commented Oct 21, 2026

Copy link
Copy Markdown

@abhinavrastogi2627 is attempting to deploy a commit to the osama's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thank you for the pull request! ✅

A maintainer will review this soon. Please be patient while we take a look. 🙌

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dev-impact Ready Ready Preview Oct 21, 2026 7:50pm UTC

@O2sa
O2sa merged commit 49bc74c into O2sa:main Oct 21, 2026
4 checks passed
@O2sa

O2sa commented Oct 21, 2026

Copy link
Copy Markdown
Owner

✨ Thank you, @abhinavrastogi2627! Another great contribution merged! 🚀

We truly appreciate your continued support! If you find this tool useful, please consider giving us a ⭐ star on GitHub—it helps more developers find our work and motivates us to keep improving!

This branch was successfully deployed

1 active deployment
Preview — 9d5e447b Deployed Oct 21, 2026 by vercel[bot]
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.

refactor: Deduplicate signal metrics mapping between Comparison and Profile views

2 participants