Commit fe8292c
feat: add GitHub stats, language chart and activity chart to preview modal
- StatsOverview: 6-cell grid showing total stars, forks, public repos,
followers, following, and language count computed from all fetched repos
- LanguageChart: GitHub-style colour strip + dual-column horizontal bar
chart for top 10 languages with percentage labels
- ActivityChart: per-year bar chart of repositories created (uses
created_at from the repos API response)
- RepoCard: now also shows fork count alongside stars
- NavSearch: stores allRepos (all own repos, not just top 6) separately
and passes it to the modal for stats computation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f048b3f commit fe8292c
2 files changed
+223
-119
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
102 | 100 | | |
103 | 101 | | |
104 | 102 | | |
| |||
305 | 303 | | |
306 | 304 | | |
307 | 305 | | |
| 306 | + | |
308 | 307 | | |
309 | 308 | | |
310 | 309 | | |
| |||
0 commit comments