Conversation
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
|
Update: I updated the branch against current I also noted #51232, which proposes showing the model in the list, and #38772 on |
…-footer-before-80.png
…-footer-after-80.png
…-footer-after-40.png
…hild-footer-after-80-v2.png
…hild-footer-after-40-v2.png
Issue for this PR
Closes #50795
Type of change
What does this PR do?
Opening a subagent's child session in v2 replaces the normal prompt with the Composer, so the usual model metadata row disappears. The child Composer now reuses the main prompt's
PromptMetadataRow, reading the child's persisted model and resolving names from its location's catalog. It hides the row until the child has a model. The Subagents list is unchanged.#38772 covers similar footer behavior on
dev. #51232 targets the v2 Subagents list instead; this PR shows the model after opening the child, using the main prompt’s metadata row. I would appreciate guidance on the preferred UI placement and merge path.How did you verify your code works?
bun test test/cli/tuiinpackages/tui: 425 passed on the final head, updated to v2 ata604b7f7.bun typecheckinpackages/tui; Prettier and oxlint on the changed files; repository lint and typecheck via the pre-push hook.Screenshots / recordings
Opened child session before, 80 columns:
Opened child session after, 80 columns:
Opened child session after, 40 columns:
Checklist