Commit Graph
2 Commits
Author SHA1 Message Date
Kang 325d07905c feat(child-window): enhance command queue with failure handling and recovery
- Updated `ChildWindowCommandQueue` to manage command states using a status system (`loading`, `ready`, `failed`) instead of a boolean flag.
- Implemented methods to mark commands as failed, drop queued commands, and recover from failed states when new tokens are registered.
- Added tests to verify the behavior of failure handling and recovery scenarios in the command queue.
- Enhanced `windowManager` to close failed child windows and clear their lifecycle appropriately.
2026-08-15 15:39:22 +08:00
litcc 8595375488 perf(window): streamline child window startup
Split the main app provider from the lightweight child context, reveal child windows after a stable shell is rendered, and queue commands until listeners are ready.
2026-08-14 22:04:40 +08:00