Title: feat(dashboard): changes (hotspots and blast radius) and trends screens · Issue #66 · elcode-id/elcode-forge · GitHub
Open Graph Title: feat(dashboard): changes (hotspots and blast radius) and trends screens · Issue #66 · elcode-id/elcode-forge
X Title: feat(dashboard): changes (hotspots and blast radius) and trends screens · Issue #66 · elcode-id/elcode-forge
Description: Context & Objective Implement the Changes screen (hotspots, direct vs transitive blast radius, change risk) and the Trends screen backed by /api/v1/history. Branch Name: feat/forge-066-dashboard-changes-trends Parent Epic: EPIC #55 (Phas...
Open Graph Description: Context & Objective Implement the Changes screen (hotspots, direct vs transitive blast radius, change risk) and the Trends screen backed by /api/v1/history. Branch Name: feat/forge-066-dashboard-ch...
X Description: Context & Objective Implement the Changes screen (hotspots, direct vs transitive blast radius, change risk) and the Trends screen backed by /api/v1/history. Branch Name: feat/forge-066-dashboar...
Opengraph URL: https://github.com/elcode-id/elcode-forge/issues/66
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(dashboard): changes (hotspots and blast radius) and trends screens","articleBody":"## Context & Objective\nImplement the Changes screen (hotspots, direct vs transitive blast radius, change risk) and the Trends screen backed by `/api/v1/history`.\n\n- **Branch Name:** `feat/forge-066-dashboard-changes-trends`\n- **Parent Epic:** EPIC #55 (Phase 3C)\n- **DAG Dependencies:** Requires #61 (Sub-Issue 3.6), #63 (Sub-Issue 3.8)\n- **Estimated Size:** \u003c 350 LOC\n\n## File Target\n- `apps/dashboard/src/lib/data/history.ts` *(NEW)*\n- `apps/dashboard/src/lib/charts/Sparkline.svelte` *(NEW — dependency-free SVG)*\n- `apps/dashboard/src/routes/{changes,trends}/+page.svelte` *(NEW)*\n\n## Strict TypeScript Contract\n```ts\nexport type HistorySnapshot = { head_sha: string; commit_unix_ts: number; overall: number;\n dimensions: Record\u003cstring, number>; findings_by_severity: Record\u003cstring, number> };\nexport async function loadHistory(baseUrl: string, limit?: number): Promise\u003cHistorySnapshot[]>;\n```\n\n## Requirements\n- Static mode shows a clear empty state explaining that Trends requires `eforge serve` + `eforge report --save-history`.\n- No additional chart library.\n\n## Definition of Done (Tier 4 Verification Gate)\n```bash\npnpm --filter @elcode-forge/dashboard run lint\npnpm --filter @elcode-forge/dashboard run check\npnpm --filter @elcode-forge/dashboard run test\n```\n## Global Invariants (AGENTS.md)\n- GitFlow: branch off `develop`, PR targets `develop`, squash-merge, update `docs/ARCHITECTURE_STATE.md`.\n- Zero-panic in `crates/forge-*` (no `unwrap/expect/panic/todo/unimplemented`); Rust core stays 100% UI-agnostic.\n- Determinism: identical repo state + config => byte-identical output (no wall-clock timestamps).\n- Repository text is hostile input: never rendered via `{@html}`, never executed.\n- Plan reference: Phase 3 Dashboard Plan (approved 2026-10-19).\r\n","author":{"url":"https://github.com/luksluki","@type":"Person","name":"luksluki"},"datePublished":"2026-10-19T07:23:39Z","url":"https://github.com/elcode-id/elcode-forge/issues/66"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4f515770-ecd9-00fc-11c5-5a235ab7cce0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E990:385E90:16DA0B:1EFC6C:6B05981A |
| html-safe-nonce | d1e983445fb2a8066fd69e6290003ffd0611561472c4a4d56602307a88c68cdf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTkwOjM4NUU5MDoxNkRBMEI6MUVGQzZDOjZCMDU5ODFBIiwidmlzaXRvcl9pZCI6Ijc3NDEyOTMyMjU1NDk2MDA3OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6ef1d4a8964c8b99a0a1a31b46320e283cef3201e721652fe571dc9cc911bdda |
| hovercard-subject-tag | issue:5919657848 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/elcode-id/elcode-forge/66/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b73cd5500765ce01f9b824ff7962f5d5d156fb6b29b959e85b26430dba9a0c6c/elcode-id/elcode-forge/issues/66 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b73cd5500765ce01f9b824ff7962f5d5d156fb6b29b959e85b26430dba9a0c6c/elcode-id/elcode-forge/issues/66 |
| og:image:alt | Context & Objective Implement the Changes screen (hotspots, direct vs transitive blast radius, change risk) and the Trends screen backed by /api/v1/history. Branch Name: feat/forge-066-dashboard-ch... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | luksluki |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3b72fd2385d76a50ce0fe937d50bb4a81434432c4fd47866074a26f6cd03623f |
| turbo-cache-control | no-preview |
| go-import | github.com/elcode-id/elcode-forge git https://github.com/elcode-id/elcode-forge.git |
| octolytics-dimension-user_id | 337957755 |
| octolytics-dimension-user_login | elcode-id |
| octolytics-dimension-repository_id | 1423983661 |
| octolytics-dimension-repository_nwo | elcode-id/elcode-forge |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1423983661 |
| octolytics-dimension-repository_network_root_nwo | elcode-id/elcode-forge |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58e2bd32336f3dcee343ec627a4d09c7c444e214 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width