Skip to content

feat: add language colour, bars and avatar to card#3

Merged
GalvinPython merged 2 commits into
mainfrom
feat/improved-card-design
Feb 23, 2026
Merged

feat: add language colour, bars and avatar to card#3
GalvinPython merged 2 commits into
mainfrom
feat/improved-card-design

Conversation

@GalvinPython

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 22, 2026 22:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds new visual features to the GitHub repository card component including language color indicators, repository owner avatars, and an optional languages bar showing the distribution of programming languages used in the repository.

Changes:

  • Added linguist-colors-list dependency for language color display
  • Introduced GithubCardDummy component for testing and static data display
  • Enhanced card UI with avatar, language colors, topics tags, and optional languages distribution bar
  • Refactored component structure with new GithubCardBase internal component
  • Added example screenshot to README

Reviewed changes

Copilot reviewed 6 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
package.json Version bump to 0.2.0 and added linguist-colors-list dependency
package-lock.json Updated lockfile with linguist-colors-list package entry
bun.lock Added linguist-colors-list to root bun lockfile (version mismatch issue)
tests/astro/package.json Added linguist-colors-list dependency for test environment
tests/astro/bun.lock Updated test lockfile with linguist-colors-list
src/index.ts Exported new GithubCardDummy component and GithubRepoData type
src/GithubCard.tsx Major refactor: added GithubCardBase, GithubCardDummy, language colors, avatar, languages bar, and improved styling
tests/astro/src/pages/index.astro Updated test page with dummy card examples and showLanguagesBar prop testing
README.md Added example screenshot and reformatted props table
.github/assets/example.png Added example screenshot image

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/GithubCard.tsx
Comment thread README.md Outdated
@GalvinPython GalvinPython merged commit e226143 into main Feb 23, 2026
5 checks passed
@GalvinPython GalvinPython deleted the feat/improved-card-design branch April 11, 2026 21:16
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.

2 participants