fix(tui): remove stray space in settings text fields - #316
Merged
TheGreatAxios merged 2 commits intoAug 5, 2026
Conversation
Nest value and caret in a gapless Box on agent-modal provider/profile forms and codex-login profile name so the | caret sits flush after typed text. Validate trims spaces on save. Closes CL-5342.
Collaborator
Author
Code review (parent — multi-agent fleet unavailable)Verdict: approve Correctness
Risk
|
This was referenced Aug 5, 2026
Collaborator
Author
Review — approve (with merge-order note)Correct root cause fix for the phantom space: parent-row Correctness
Test gap
Merge conflict risk — high with #317
Suggested order
Verdict: approve the change itself; coordinate with #317 before merge. |
Collaborator
Author
Multi-agent review (blended: cto / greybeard / neckbeard / critique / bruckheimer)Verdict: Approve Findings
Ready for human review/merge. |
Collaborator
Author
Hard review (greybeard + CTO)Verdict: APPROVE GreybeardCaret no longer sits after a phantom gap; save path trims fields. That is the correct split (display fix + submission hygiene). CTOSmall, test-backed. Title still uses a conventional-commit prefix — cosmetic only; not a merge blocker. Ship it. No blockers. |
Mirror the agent-modal fix: parent gap={1} only separates › from the
value+caret group, so the caret sits flush after typed text.
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.
Summary
Boxon agent-modal provider/profile form fields sogap={1}no longer inserts a phantom space before|Closes CL-5342
Test plan
bun test src/tui/components/agent-modal.test.ts(includes trim-at-save case)bun run typecheck