Skip to content

Add TUI statusline configuration picker#14286

Open
moirahuang wants to merge 1 commit into
masterfrom
moira/statusline-config-picker
Open

Add TUI statusline configuration picker#14286
moirahuang wants to merge 1 commit into
masterfrom
moira/statusline-config-picker

Conversation

@moirahuang

@moirahuang moirahuang commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the local-only TUI statusline settings model and an Ask User Question-style searchable multiselect for toggling and reordering statusline items. The picker and keybindings compile and are tested, but this PR deliberately does not register /statusline, mount the picker in a session, or render the configuration, so it is behavior-neutral until #14253.

Linked Issue

N/A — stacked parent for #14253.

Testing

  • cargo nextest run -p warp tui_statusline — 2 passed.
  • cargo nextest run -p warp_tui statusline_config_view — 2 passed.
  • cargo clippy -p warp_tui --all-targets --all-features --tests -- -D warnings.
  • Not manually testable in isolation; Add configurable TUI statusline #14253 mounts the picker and user-visible behavior.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-NONE

Co-Authored-By: Oz oz-agent@warp.dev

@oz-for-oss

oz-for-oss Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

@moirahuang

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

moirahuang commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

@oz-for-oss oz-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds a local TUI statusline configuration setting, a new TUI picker view for toggling/reordering statusline items, keybinding registration, and unit coverage for defaults and picker behavior.

Concerns

  • The PR changes a user-facing TUI surface, but the description's Screenshots / Videos section is empty. For this user-facing change, please include accepted TUI visual evidence such as a terminal transcript, render-to-lines snapshot, ./script/run-tui capture, screenshot, or short recording demonstrating the picker working end to end.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@moirahuang
moirahuang force-pushed the moira/statusline-question-refactor branch from e5038b7 to ff0c626 Compare July 25, 2026 01:13
@moirahuang
moirahuang force-pushed the moira/statusline-config-picker branch from 69adea6 to c33c1ee Compare July 25, 2026 01:13
moirahuang added a commit that referenced this pull request Jul 25, 2026
## Description
Refactors shared Ask User Question state initialization to accept
prefilled drafts keyed by question ID, and adds filtered full-catalog
row reordering to the reusable TUI option selector. Existing Ask User
Question, permission, and orchestration consumers explicitly ignore
reorder events, so this PR is behavior-neutral on its own.

## Linked Issue
N/A — stacked prerequisite for #14286.

## Testing
- [x] `cargo nextest run -p ai -E test(ask_user_question_session)` — 19
passed.
- [x] `cargo nextest run -p warp_tui -E test(option_selector)` — 39
passed.
- [x] Formatting and warnings-denied Clippy passed.

## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-NONE

Co-Authored-By: Oz <oz-agent@warp.dev>

Co-authored-by: Oz <oz-agent@warp.dev>
Base automatically changed from moira/statusline-question-refactor to master July 25, 2026 01:33
Co-Authored-By: Oz <oz-agent@warp.dev>
@moirahuang
moirahuang force-pushed the moira/statusline-config-picker branch from c33c1ee to 3d8ac3f Compare July 25, 2026 01:50
@moirahuang
moirahuang requested a review from harryalbert July 25, 2026 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant