fix(app): reintroduce review tab

This commit is contained in:
adamelmore
2026-01-27 20:24:23 -06:00
parent 898118bafb
commit d9741866c5
3 changed files with 108 additions and 48 deletions

View File

@@ -190,6 +190,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
const wantsReview = item.commentOrigin === "review" || (item.commentOrigin !== "file" && commentInReview(item.path))
if (wantsReview) {
layout.fileTree.setTab("changes")
if (!layout.fileTree.opened()) tabs().open("review")
requestAnimationFrame(() => comments.setFocus(focus))
return
}