Name:
[ADD] viin_brain, viin_ai_brain: KG-temporal Brain UI - ADR-006 UI-layer (C-gamma scrubber)
State:
Killed
finished in 405m
PR State:
merged
PR Author:
David Tran
PR Author Email:
PR:
#70
Committer:
David Tran
Committer Email:
davidtran.hp@gmail.com
Commit:
bca9ff3036d15c788614f3669e582233cf3c97f2
Description:
[FIX] viin_brain: graph canvas off-frame/resize/clip + playhead overshoot + template icon
A deep visual-QA sweep (rect/coordinate-measured) found visual defects that
pass DOM-presence checks but render wrong:
- Graph Canvas force layout centered nodes at the 600px default coordinate
space, so in the ~298px context pane 2 of 3 nodes rendered OFF the right edge
(DOM-present, invisible). Measure the real container size BEFORE the force
layout; re-run the layout (debounced 150ms) on pane resize so nodes re-center
within the measured width (verified cx within [0,width] at 213/298/498px).
- Canvas SVG was a hard 400px in a non-scrollable pane -> clipped ~6px below the
viewport. Size the wrapper to the available pane height (flex).
- Validity-strip playhead overshot the track by its own 2px width at max scrub
(left:100% + 2px marker). Offset by translateX(-pct*0.02px) so the marker
stays flush at 100% and is unchanged mid-track.
- "Meeting Notes" template shipped icon "notebook", which is not a Font Awesome
4.7 glyph (Odoo 17 ships FA4.7) -> empty icon box. Use the valid "sticky-note-o".
Branch:
17.0
Instance ID:
0
Age:
Up-time: