fix: simplify walkthrough prompt requests (#1660)

* fix: simplify walkthrough prompt requests

* fix: address walkthrough review feedback
This commit is contained in:
José Almeida
2026-07-10 16:04:12 +01:00
committed by GitHub
parent 78d1339413
commit b277dcdcdf
19 changed files with 142 additions and 303 deletions
@@ -38,7 +38,7 @@ export const MobileChangesPanel = memo(function MobileChangesPanel({
const requestWalkthrough = useRequestChangesWalkthrough({
taskId: data.activeTaskId,
sessionId: data.activeSessionId,
files: data.walkthroughPromptFiles,
ready: data.walkthroughRequestReady,
});
// Track the previous selectedDiff to detect changes
@@ -107,7 +107,7 @@ export const MobileChangesPanel = memo(function MobileChangesPanel({
onOpenDiffAll={handleOpenDiffAll}
onOpenReview={handleOpenReview}
onRequestWalkthrough={requestWalkthrough}
requestWalkthroughDisabled={data.walkthroughPromptFiles.length === 0}
requestWalkthroughDisabled={!data.walkthroughRequestReady}
repoNames={data.git.repoNames}
perRepoStatus={data.git.perRepoStatus}
onRepoPull={data.repoCallbacks.onRepoPull}