Commit 57108ab
feat: add insights pages — stats dashboard, plot of the day, similar specs
New features that leverage the database more heavily:
- Stats page (/stats): library quality/LOC histograms, coverage dot matrix,
top rated implementations, tag cloud, timeline, plausible link
- Plot of the Day: daily featured high-quality impl on homepage, dismissable
- Similar specifications/implementations: tag-based Jaccard similarity on
spec pages (spec tags) and impl pages (spec + impl tags), with hover
highlighting of shared tags
- Lazy code loading: code field deferred in DB model (~25MB saved per
get_all), new /specs/{id}/{lib}/code endpoint, frontend prefetch
- Collapsible spec tabs with always-visible tags and metadata footer
- New insights API router with /dashboard, /plot-of-the-day, /related
- Updated sitemap, plausible docs, API docs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d45c640 commit 57108ab
File tree
22 files changed
+1429
-135
lines changed- api
- routers
- app/src
- components
- hooks
- pages
- types
- core/database
- docs/reference
- tests/unit/api
22 files changed
+1429
-135
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
| |||
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
| 148 | + | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
0 commit comments