Repository navigation
fix(tui): refresh directory after move [v2] - #44829
timrichardson wants to merge 1 commit into
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: No duplicate PRs found. |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #43938
Basically a one line fix. PR is for v2, issue is raised against v1.
Type of change
What does this PR do?
When
/moveselects an existing worktree before a new session has any turns, update the TUI location context immediately. The directory indicator now shows the selected worktree as soon as the move dialog closes instead of waiting for the first prompt to create the session.Adds a regression test that selects an existing worktree from the real move dialog, verifies the location display updates, and confirms no session needs to be created.
How did you verify your code works?
bun test test/cli/tui/prompt-move.test.tsxinpackages/tuibun testinpackages/tui(763 pass, 5 skip)bun typecheckinpackages/tuigit diff --checkScreenshots / recordings
N/A — behavior-only refresh fix.
Checklist