Skip to content

Comments

Refactor TUI panels into shared renderer and add Chevron/Operations panels#12

Merged
theokeist merged 2 commits intomainfrom
codex/update-documentation-with-types-and-arguments-bx0gvr
Jan 27, 2026
Merged

Refactor TUI panels into shared renderer and add Chevron/Operations panels#12
theokeist merged 2 commits intomainfrom
codex/update-documentation-with-types-and-arguments-bx0gvr

Conversation

@theokeist
Copy link
Owner

Motivation

  • Make the TUI gate rendering easier to extend and maintain by consolidating repeated panel rendering logic into a single helper.
  • Surface more runtime/operator information in the TUI by adding Chevron status and Operations panels so developers can see more at-a-glance details.

Description

  • Replaced duplicated panel rendering code in src/Console/Commands/ServeCommand.php with a new renderTuiPanel(string $title, array $lines, int $width): void helper and reused padStrip/color helpers for alignment.
  • Added three new panel blocks to the TUI flow: CHEVRON STATUS (gateway chevron/iris state), OPERATIONS (links/commands/docs), and reused CENTRAL ANALYSIS and RUNNING panels via the shared renderer.
  • Kept prior behavior for the tui gate view while centralizing layout concerns and ensuring columns remain aligned by reusing the existing padding/strip helpers.

Testing

  • No automated tests were executed for this change.

Codex Task

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@theokeist theokeist merged commit 923957b into main Jan 27, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant