Make TUI zero-state section visibility configurable - #14558
Open
warp-agent-staging[bot] wants to merge 5 commits into
Open
Make TUI zero-state section visibility configurable#14558warp-agent-staging[bot] wants to merge 5 commits into
warp-agent-staging[bot] wants to merge 5 commits into
Conversation
Add per-section `appearance.zero_state.show_*` settings so the Warp Agent CLI zero state can hide the signed-in account line, the "What's new" changelog, the project info block, MCP, and the rotating object plus its starfield. Every toggle defaults to true, so the default zero state is unchanged; the title and version lines stay always-on. Hidden sections contribute no rows at all (no orphaned headers or spacer rows), and hiding the animation switches to a copy-only layout so no empty animation panel or starfield is reserved. The zero-state view subscribes to the settings group, so toggling a section re-renders live without a restart. Co-Authored-By: Warp <agent@warp.dev> Co-Authored-By: Oz <oz-agent@warp.dev>
…ui-zero-state # Conflicts: # crates/warp_tui/src/zero_state_tests.rs
Resolve the TUI zero-state refactor while preserving configurable section visibility and dropping feature-specific unit tests.\n\nCo-Authored-By: Warp <agent@warp.dev>
Keep existing upstream tests compiling with the new visibility settings without adding feature-specific coverage.\n\nCo-Authored-By: Warp <agent@warp.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The Warp Agent CLI zero state always rendered a fixed set of sections — including the signed-in account line — with no way to hide any of them. This adds per-section visibility settings so users can pick what the zero state shows.
New TUI settings under
appearance.zero_state(the same surface as the existing animation settings), each defaulting totrueso today's zero state is unchanged:show_signed_in_user— theSigned in as …account lineshow_changelog— the "What's new" header and bulletsshow_project_info— the project path header plus its rules/skills bodyshow_mcp— the MCP header and status lineshow_animation— the rotating object together with its starfieldThe title and version lines stay always-on (not requested, and they identify the surface).
Behavior details:
Originating thread: https://warpdev.slack.com/archives/C0BDQDW8V5E/p1785443872265259
Linked Issue
APP-5070
Testing
Commands run:
./script/format --check— passedcargo check -p warp_tui --tests— passed; existing test targets compile, but the full test suite was intentionally not runcargo clippy --workspace --exclude warp_completer --all-targets --tests -- -D warnings— passedcargo clippy -p warp --all-targets --tests -- -D warnings— passedcargo clippy -p warp_completer --all-targets --tests -- -D warnings— passedManual: built and ran the authenticated local TUI in tmux at 120×40, then hot-reloaded one setting at a time. Each capture set exactly one key to
false; the original settings file was restored afterward.show_signed_in_usershow_changelogshow_project_infoshow_mcpshow_animationshow_signed_in_user = falseshow_changelog = false(fixture-backed)Enabled:
Disabled:
show_project_info = falseshow_mcp = falseshow_animation = falseThe remainder of the 120-column capture was blank: no object, starfield, or reserved animation panel.
Screenshots / Videos
Earlier visual capture with every section visible:
Earlier combined hidden-state capture:
Computer-use video recordings
View video recording: Recording of a live toggle: the TUI starts with every zero-state section visible, then the settings file is edited mid-run and the signed-in line, MCP, and animation/starfield disappear without a restart.
Follow-up merge and per-setting validation: https://staging.warp.dev/conversation/5891d408-eb5b-475c-bd04-3d515e2ea02c
Agent Mode
Conversation: https://staging.warp.dev/conversation/7bf4fc45-a70c-47a9-b9c4-e34516d3ed06
Run: https://oz.staging.warp.dev/runs/019fb4c9-855e-7b7e-acac-f80717cec4fe
This PR was generated with Oz.
CHANGELOG-IMPROVEMENT: The Warp Agent CLI zero state is now configurable — hide the signed-in account line, changelog, project info, MCP, or the animation with
appearance.zero_state.show_*settings.