Commit 315e00d
committed
feat: add one-click analysis navigation for favorites
Implements issue #103 - enables direct navigation from favorites to analysis.
Changes:
- Add BarChart3 icon button to pinned repository cards that navigates to /search?repo={fullName}
- Add BarChart3 icon button to favorite user cards that navigates to /search?user={username}
- Use Next.js router.push for client-side navigation
- Add tooltips for better UX ("View repository analysis" / "View user analytics")
- Properly encode URL parameters with encodeURIComponent
The new analysis button appears as the first action button in each favorite card,
providing seamless one-click access to detailed analytics for both repositories
and users from the Favorites section.
Resolves: #1031 parent 6a4e865 commit 315e00d
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
270 | 272 | | |
271 | 273 | | |
272 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
273 | 284 | | |
274 | 285 | | |
275 | 286 | | |
| |||
456 | 467 | | |
457 | 468 | | |
458 | 469 | | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
459 | 479 | | |
460 | 480 | | |
461 | 481 | | |
| |||
0 commit comments