[bug][ai-chat] AI chat window position/size not persisted across reload #126

Closed
opened 2026-06-22 06:27:49 +03:00 by Ghost · 0 comments

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.

**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._
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vvzvlad/gitmost#126