Skip to content

Commit dc7170c

Browse files
rszwajkoibolton336
authored andcommitted
Add UX for fix all and for individual get solutions
Display the resolutionsView panel on solution retrieval get show resolution panel code working Add new webview routing logic populate resolutions view from solutions Add more detailed resolution view Add messaging queue Signed-off-by: Ian Bolton <[email protected]>
1 parent 477eda8 commit dc7170c

31 files changed

+1360
-923
lines changed

package-lock.json

+111-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shared/src/types/index.ts

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { Uri } from "vscode";
2+
13
export interface Incident {
24
uri: string;
35
lineNumber: number;
@@ -82,3 +84,16 @@ export interface GetSolutionResult {
8284
errors: string[];
8385
changes: Change[];
8486
}
87+
88+
export interface LocalChange {
89+
modifiedUri: Uri;
90+
originalUri: Uri;
91+
diff: string;
92+
}
93+
94+
export interface ResolutionMessage {
95+
type: string;
96+
solution: GetSolutionResult;
97+
violation: any;
98+
incident: any;
99+
}

vscode/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@
181181
"konveyor": [
182182
{
183183
"type": "webview",
184-
"id": "konveyor.konveyorGUIView",
185-
"name": "Konveyor",
184+
"id": "konveyor.konveyorAnalysisView",
185+
"name": "Konveyor Analysis View",
186186
"visibility": "visible"
187187
},
188188
{
@@ -196,7 +196,7 @@
196196
{
197197
"command": "konveyor.toggleFullScreen",
198198
"group": "navigation@1",
199-
"when": "view == konveyor.konveyorGUIView"
199+
"when": "view == konveyor.konveyorAnalysisView"
200200
},
201201
{
202202
"command": "konveyor.applyAll",
@@ -245,7 +245,7 @@
245245
{
246246
"command": "konveyor.toggleFullScreen",
247247
"group": "navigation@1",
248-
"when": "activeWebviewPanelId == konveyor.konveyorGUIView"
248+
"when": "activeWebviewPanelId == konveyor.konveyorAnalysisView"
249249
}
250250
],
251251
"explorer/context": [
@@ -477,4 +477,4 @@
477477
"babel-loader": "^9.2.1",
478478
"diff": "^7.0.0"
479479
}
480-
}
480+
}

0 commit comments

Comments
 (0)