This PR removes the labeled "new thread" button when the project group is empty, making it so, effectively, we only show it when you're in an empty/draft thread in the active workspace. The "Untitled Thread" label has also been renamed back to "New Thread". Then, we fixed an issue where clicking on the new thread icon button would default to creating a new thread in the main worktree as opposed to the one currently active; this fix makes the button's behavior match with `cmd-n` from the agent panel. Lastly, we fixed the "new thread" labeled button not opening the agent panel when that's closed and organized the data structures a bit by merging `DraftThread` and `NewThread` all into `DraftThread`. Release Notes: - Thread Sidebar: Fixed the new thread icon button not creating a thread in the current active worktree. - Thread Sidebar: Fixed click on the new thread button not opening the agent panel when closed. --------- Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
2 files changedLine totals unavailable