FN-5856: preserve closed quick chat panel size
Prevent closed quick chat FAB drags from overwriting the saved desktop panel size. - gate desktop panel resize clamping and persistence behind the panel open state - pass the quick chat open state into the resize hook so closed FAB moves leave saved dimensions untouched - add a regression test covering closed-FAB dragging and reopened panel dimensions - add a patch changeset for the published CLI package Files changed: .changeset/fn-5856-quick-chat-resize.md | 5 +++++ packages/dashboard/app/components/QuickChatFAB.tsx | 12 +++++------ .../app/components/__tests__/QuickChatFAB.test.tsx | 23 ++++++++++++++++++++++ 3 files changed, 34 insertions(+), 6 deletions(-) Fusion-Task-Id: FN-5856 Fusion-Task-Lineage: 3358f2b0-ae8d-468c-8e9e-71a1b5365061
This commit is contained in:
5
.changeset/fn-5856-quick-chat-resize.md
Normal file
5
.changeset/fn-5856-quick-chat-resize.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Fix the desktop quick chat panel so moving the FAB while the panel is closed no longer shrinks or overwrites the saved panel size before the next reopen.
|
||||
Reference in New Issue
Block a user