Merge main
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# Floating windows (window system core)
|
||||
|
||||
Plan: `docs/plans/floating-windows.md`. The shell-level window system hosts
|
||||
floating chats (`notes/chat-floating-pane.md`); the terminal moves in Phase 3.
|
||||
floating chats (`notes/chat-floating-pane.md`) and the terminal's floating
|
||||
mode (below). `FloatingLayer`, the overlay the old windows used, is gone.
|
||||
|
||||
## Pieces (`lib/shell/windows/`)
|
||||
|
||||
@@ -63,3 +64,23 @@ Both are on the root navigator, so they are above every window, and the app's
|
||||
width decides (`usesDesktopPopups`), not the surface asking: content in a
|
||||
narrow window on a wide app still gets menus and dialogs. The probe window has
|
||||
`choice` and `details` buttons for captures.
|
||||
|
||||
## Terminal window (Phase 3)
|
||||
|
||||
`features/terminal/terminal_window.dart`: the `terminal` kind (one window for
|
||||
the device, not a server) and `TerminalWindows`, which keeps it in step with
|
||||
`TerminalLayout`. The layout stays the terminal's own state (shown, panel or
|
||||
float, panel height); the bottom panel is still a shell panel.
|
||||
|
||||
- Showing the terminal in float mode opens or shows the window; hiding it
|
||||
(Alt+T, Ctrl+`, the options menu) minimises it. The window's Minimise and
|
||||
Close both hide the terminal. Its shells and tabs live in `TerminalHub`, so
|
||||
nothing is lost either way, and the window comes back where it was.
|
||||
- The frame and maximised state are the window system's. The first window
|
||||
takes the ones `pipelines.terminal-layout.v1` saved before; that record is
|
||||
still written back unchanged.
|
||||
- The window opens only after the manager has restored its saved windows.
|
||||
- Captured 2026-11-11 at 1280x800 and 1920x1080, light and dark, over Chat and
|
||||
over Runs: the window, its options menu, tooltips, a second tab, typing,
|
||||
hide and show by Alt+T, maximise, move, minimise, and the frame after a
|
||||
reload.
|
||||
|
||||
Reference in New Issue
Block a user