ATT-21 one window, one tab, one pane, always full screen #3

Merged
merge-queue merged 2 commits from ATT-21-one-window into main 2026-11-18 13:39:07 -08:00
Owner

Work package: https://openproject.home.romaine.life/wp/ATT-21 (part of https://openproject.home.romaine.life/wp/ATT-19)

at-terminal's shape built in, not left to config: one window, one tab, one pane, always full screen. tmux does the tabs, splits and history.

What changes

  • rio-backend config/at_terminal.rs: Config::pin_at_terminal() holds every loaded config to full screen, no scrollbar, no quit confirmation, no tab strip (navigation.mode = plain), no splits, no config-in-a-split. Tests: a config asking for windowed/tabs/splits/scrollbar/confirm is pinned; the default is too.
  • rioterm at_terminal.rs: load_config() is the one way a config is loaded, at startup and on reload: the file, the launch flags, then the pin. No config file is not an error, so Rio's first-run welcome screen never shows.
  • Bindings: any binding (default or from the config file) to an action at-terminal never does (new window/instance, quake, config editor, tabs, splits, dividers, full-screen/maximize toggles, the command palette) is dropped, so its keys reach tmux instead of being swallowed. Tests in at_terminal.rs.
  • Router: asked for another window (binding, menu, dock, reopen, opened URL, quake, config editor, macOS native tab), it brings the one window forward instead.
  • Context manager: one_tab/one_pane make add_context, split and split_from_config do nothing. Test: at_terminal_keeps_one_tab_and_one_pane.
  • ToggleFullScreen only ever puts the window back into full screen.
  • macOS: no Shell menu (new window, new tab, close, splits), no "Edit Configuration", an empty dock menu, and automatic window tabbing off.

Not in this PR (ATT-21's other parts): double-height/width rows, single instance, kept zoom and the tolerant state file, the log of fixed words.

Checked: cargo fmt --check, cargo clippy --workspace --features wgpu --all-targets -D warnings and cargo test --workspace --features wgpu pass on upstairspc (Windows); nelsonpc builds nothing (its disk is full and it's the gaming PC), so ci-check didn't run there; CI covers Linux. The macOS menu edit isn't compiled by CI (no macOS runner): it removes items and three now-unused imports only.

Only a real desktop shows: the window opening full screen with nothing above tmux, a second window request bringing the first forward.

Work package: https://openproject.home.romaine.life/wp/ATT-21 (part of https://openproject.home.romaine.life/wp/ATT-19) at-terminal's shape built in, not left to config: one window, one tab, one pane, always full screen. tmux does the tabs, splits and history. **What changes** - `rio-backend` `config/at_terminal.rs`: `Config::pin_at_terminal()` holds every loaded config to full screen, no scrollbar, no quit confirmation, no tab strip (`navigation.mode = plain`), no splits, no config-in-a-split. Tests: a config asking for windowed/tabs/splits/scrollbar/confirm is pinned; the default is too. - `rioterm` `at_terminal.rs`: `load_config()` is the one way a config is loaded, at startup and on reload: the file, the launch flags, then the pin. No config file is not an error, so Rio's first-run welcome screen never shows. - Bindings: any binding (default or from the config file) to an action at-terminal never does (new window/instance, quake, config editor, tabs, splits, dividers, full-screen/maximize toggles, the command palette) is dropped, so its keys reach tmux instead of being swallowed. Tests in `at_terminal.rs`. - Router: asked for another window (binding, menu, dock, reopen, opened URL, quake, config editor, macOS native tab), it brings the one window forward instead. - Context manager: `one_tab`/`one_pane` make `add_context`, `split` and `split_from_config` do nothing. Test: `at_terminal_keeps_one_tab_and_one_pane`. - `ToggleFullScreen` only ever puts the window back into full screen. - macOS: no Shell menu (new window, new tab, close, splits), no "Edit Configuration", an empty dock menu, and automatic window tabbing off. **Not in this PR** (ATT-21's other parts): double-height/width rows, single instance, kept zoom and the tolerant state file, the log of fixed words. **Checked**: `cargo fmt --check`, `cargo clippy --workspace --features wgpu --all-targets -D warnings` and `cargo test --workspace --features wgpu` pass on upstairspc (Windows); nelsonpc builds nothing (its disk is full and it's the gaming PC), so `ci-check` didn't run there; CI covers Linux. The macOS menu edit isn't compiled by CI (no macOS runner): it removes items and three now-unused imports only. **Only a real desktop shows**: the window opening full screen with nothing above tmux, a second window request bringing the first forward.
ATT-21 one window, one tab, one pane, always full screen: at-terminal's shape built in
Some checks failed
Suite default / scope (pull_request) Has been cancelled
Suite default / check-fetches (pull_request) Has been cancelled
Suite default / check-rules (pull_request) Has been cancelled
Suite default / reused-checks (pull_request) Has been cancelled
Suite rust / scope (pull_request) Has been cancelled
Suite rust / check-format (pull_request) Has been cancelled
Suite rust / check-test-linux (pull_request) Has been cancelled
Suite rust / check-test-windows (pull_request) Has been cancelled
Suite rust / check-services (pull_request) Has been cancelled
Suite rust / check-typos (pull_request) Has been cancelled
Suite rust / check-machete (pull_request) Has been cancelled
Suite rust / check-audit (pull_request) Has been cancelled
Suite rust / reused-checks (pull_request) Has been cancelled
29d4a4062d
Merge branch 'main' into ATT-21-one-window
All checks were successful
Suite default / scope (pull_request) Successful in 8s
Suite default / check-fetches (pull_request) Has been skipped
Suite default / check-rules (pull_request) Has been skipped
Suite rust / scope (pull_request) Successful in 8s
Suite rust / check-services (pull_request) Has been skipped
Suite rust / check-typos (pull_request) Has been skipped
Suite rust / check-machete (pull_request) Has been skipped
Suite rust / check-audit (pull_request) Has been skipped
Suite default / reused-checks (pull_request) Successful in 7s
Suite rust / check-format (pull_request) Successful in 11s
Suite rust / check-test-linux (pull_request) Successful in 1m35s
Suite rust / check-test-windows (pull_request) Successful in 2m57s
Suite rust / reused-checks (pull_request) Successful in 4s
merge-queue landed on main
c8302d0c98
merge-queue deleted branch ATT-21-one-window 2026-11-18 13:39:07 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/at-terminal!3
No description provided.