Skip to content

Commit

Permalink
fix(amazonq): view summary button aws#6578
Browse files Browse the repository at this point in the history
## Problem
View Summary button wasn't working after users accept changes, since we
save the `summary.md` to where their project is locally.

## Solution
Update summary file path.
  • Loading branch information
dhasani23 authored Feb 18, 2025
1 parent aa0e949 commit 6d3670a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "Bug Fix",
"description": "/transform: allow View Summary button to work even after accepting diff"
}
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,10 @@ export class ProposedTransformationExplorer {
}

diffModel.clearChanges()
transformByQState.setSummaryFilePath('')
// update summary path to where it is locally after user accepts changes, so that View Summary button works
transformByQState.setSummaryFilePath(
path.join(transformByQState.getProjectPath(), ExportResultArchiveStructure.PathToSummary)
)
transformByQState.setProjectCopyFilePath('')
transformByQState.setResultArchiveFilePath('')
transformDataProvider.refresh()
Expand Down

0 comments on commit 6d3670a

Please sign in to comment.