Commit 3305820
authored
feat(ui): add Activity lens for realtime file activity visualization (#7)
- Add lens-based UI shell with Live/Activity tabs (LensSwitcher)
rendered between TopBar and the existing ResizablePanelGroup; Live
lens is hidden via display:none rather than unmounted so SSE, hooks,
and resizable refs remain intact across lens switches.
- Add Activity lens: file-centric bubble graph with d3-force layout
(60-tick burst with prevPositions seed), node-centric top-3 co-change
edges, 3-second highlight on commit-driven changes (green for new,
blue for updates, red + strikethrough for deletes), external labels
below each bubble for full filename visibility, and responsive
container sizing via ResizeObserver.
- Extend RealtimeAlert with optional confidence/evidence fields and
add RepoView<T> + buildRepoView() wrapper to separate observed facts
from derived UI data.
- Add @xyflow/react and d3-force dependencies.1 parent 22dd7f4 commit 3305820
7 files changed
Lines changed: 1421 additions & 0 deletions
File tree
- apps/ui
- src/app
- components/refscope
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
1085 | 1089 | | |
1086 | 1090 | | |
1087 | 1091 | | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
1088 | 1105 | | |
| 1106 | + | |
1089 | 1107 | | |
1090 | 1108 | | |
1091 | 1109 | | |
| |||
0 commit comments