fix(FN-3838): suppress suspended-tab chat load failure toasts

- Add visibility suspension hook to detect tab-hidden periods during chat loading
- Update useChat and useQuickChat to suppress load-failed toasts triggered by tab suspension resumes
- Expand hook test coverage for suspension timing and toast suppression behavior
- Add plugin authoring documentation updates and include FN-3838 changeset

Fusion-Task-Id: FN-3838
This commit is contained in:
Fusion
2026-05-09 09:12:52 -07:00
committed by gsxdsm
parent 865f2eba4f
commit a2258b811f
7 changed files with 466 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
---
"@runfusion/fusion": patch
---
Main chat no longer surfaces a confusing "Load failed" error banner when the
browser tab is backgrounded during a streaming reply. Tab-suspension network
errors are now treated as benign interruptions and the conversation silently
reconciles with the server on tab return.