[bug][ai-chat] AI chat window position/size not persisted across reload #126
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: low/medium
Dragging or resizing the floating AI chat window is discarded on reload — the window always reopens at the default top-right 540×680.
Repro (live): enable AI chat → open the window → drag/resize it → reload → reopen. The window resets to default geometry. Drag, resize (min clamp), minimize, close and viewport-clamping otherwise work; only persistence is missing (geometry is held in React state with no localStorage).
Suggested fix: persist the window geometry (position + size) to localStorage and restore on mount (clamped to the viewport).
Filed from an automated full-product QA pass on
develop@v0.93.0-64-gb60190ff, fresh DB. Each item below was reproduced live in a clean browser session unless noted.