refactor(web): delete demo-residue routes + their data/components
4 months ago
Authored
grimtripwire doesn't re-render github (owner decision). removed the github-browser
surfaces and their mock data entirely:
- routes: $org/repos, $org/$repo/{analytics,issues,pulls}(+thread $id),
profile/$userHandle, $org/integrations/github, automod, dither-charts
- the home 'log' view (referenced deleted routes) + its lib/components
- lib: repo-analytics*, repo-content*, contributor*, integrations*, log*,
automod-category, use-automod-actions, bucket-activity, user-profile
- components: repo/, profile/, integrations/, automod/, analytics subset,
log/; kept analytics-chart/events/metrics-sheet (feed /analytics)
- shell: dropped Automod/Integrations/Profile/Settings from nav+menu,
repointed Analytics to /analytics, removed counts.automod
kept dither-kit (unlinked dev reference) + automod data (/analytics uses it
until unit 3). checks green: biome, typecheck, boundaries, 193 tests.Parent59c223e
75 files changed
- apps/web/src/components/analytics/activity-drilldown.tsx+0−233
- apps/web/src/components/analytics/breakdown-bar.tsx+0−33
- apps/web/src/components/analytics/chart-with-drilldown.tsx+0−52
- apps/web/src/components/analytics/metric-detail-chart.tsx+0−103
- apps/web/src/components/analytics/repo-crumbs.tsx+0−61
- apps/web/src/components/analytics/repo-metric-card.tsx+0−87
- apps/web/src/components/automod/category-pill.tsx+0−22
apps/web/src/components/automod/rule-detail.tsx+0−235apps/web/src/components/automod/rule-list.tsx+0−152apps/web/src/components/automod/rule-row.tsx+0−86apps/web/src/components/integrations/github-account-card.tsx+0−45apps/web/src/components/integrations/repo-pagination.tsx+0−83apps/web/src/components/integrations/repo-row.tsx+0−56apps/web/src/components/layouts/dashboard-layout.tsx+1−1apps/web/src/components/layouts/dashboard-topbar.tsx+1−31apps/web/src/components/layouts/mobile-footer.tsx+7−15apps/web/src/components/log/glass-content.tsx+0−33apps/web/src/components/log/log-detail.tsx+0−329apps/web/src/components/log/log-list.tsx+0−163apps/web/src/components/log/log-row.tsx+0−66apps/web/src/components/log/log-tag.tsx+0−11apps/web/src/components/profile/contribution-graph.tsx+0−45apps/web/src/components/profile/profile-activity.tsx+0−65apps/web/src/components/repo/author-link.tsx+0−33apps/web/src/components/repo/comment-card.tsx+0−91apps/web/src/components/repo/dither-glow.tsx+0−215apps/web/src/components/repo/label-pill.tsx+0−15apps/web/src/components/repo/list-filter-tabs.tsx+0−59apps/web/src/components/repo/repo-list-row.tsx+0−44apps/web/src/components/repo/repo-tabs.tsx+0−76apps/web/src/components/repo/thread-detail-shell.tsx+0−145apps/web/src/components/repo/thread-list-row.tsx+0−75apps/web/src/components/repo/thread-view.tsx+0−98apps/web/src/components/repo/thread-visual.tsx+0−59apps/web/src/lib/automod-category.ts+0−31apps/web/src/lib/bucket-activity.ts+0−184apps/web/src/lib/contributor-mock-data.ts+0−151apps/web/src/lib/contributor.functions.ts+0−12apps/web/src/lib/contributor.query.ts+0−18apps/web/src/lib/contributor.types.ts+0−12apps/web/src/lib/integrations-mock-data.ts+0−104apps/web/src/lib/integrations.functions.ts+0−10apps/web/src/lib/integrations.query.ts+0−18apps/web/src/lib/integrations.types.ts+0−9apps/web/src/lib/log-config.ts+0−37apps/web/src/lib/log-mock-data.ts+0−249apps/web/src/lib/log.functions.ts+0−10apps/web/src/lib/log.query.ts+0−15apps/web/src/lib/log.types.ts+0−14apps/web/src/lib/repo-analytics-mock-data.ts+0−398apps/web/src/lib/repo-analytics.config.ts+0−18apps/web/src/lib/repo-analytics.functions.ts+0−10apps/web/src/lib/repo-analytics.query.ts+0−23apps/web/src/lib/repo-analytics.types.ts+0−17apps/web/src/lib/repo-content-mock-data.ts+0−474apps/web/src/lib/repo-content.functions.ts+0−10apps/web/src/lib/repo-content.query.ts+0−23apps/web/src/lib/repo-content.types.ts+0−14apps/web/src/lib/use-automod-actions.ts+0−65apps/web/src/lib/use-log-actions.ts+0−68apps/web/src/lib/user-profile.ts+0−85apps/web/src/routes/$org.$repo.analytics.index.tsx+0−229apps/web/src/routes/$org.$repo.analytics.issues.$id.tsx+0−241apps/web/src/routes/$org.$repo.analytics.pulls.$id.tsx+0−228apps/web/src/routes/$org.$repo.issues.$id.tsx+0−105apps/web/src/routes/$org.$repo.issues.index.tsx+0−92apps/web/src/routes/$org.$repo.pulls.$id.tsx+0−105apps/web/src/routes/$org.$repo.pulls.index.tsx+0−92apps/web/src/routes/$org.integrations.github.tsx+0−179apps/web/src/routes/$org.repos.tsx+0−71apps/web/src/routes/analytics.tsx+1−1apps/web/src/routes/automod.tsx+0−142apps/web/src/routes/dither-charts.tsx+0−438apps/web/src/routes/index.tsx+13−77apps/web/src/routes/profile.$userHandle.tsx+0−284