Skip to content
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ba2f4e5
Add decorator support with visual diff management
ibolton336 Aug 18, 2025
7161fd8
Address start line bug
ibolton336 Aug 18, 2025
21c6b64
Fix accept on save handler and update agent cache
ibolton336 Aug 19, 2025
1596edf
PR suggestions
ibolton336 Aug 19, 2025
b6df5e5
Remove selection on review
ibolton336 Aug 19, 2025
2f5c116
Simplify function def and rm loading indicators that aren't used
ibolton336 Aug 19, 2025
fcd748d
Address PR comments
ibolton336 Aug 19, 2025
94820bc
Handle clean up and save on accept all / reject all
ibolton336 Aug 19, 2025
276223a
await clear commands
ibolton336 Aug 19, 2025
f827a0d
delete handler fix
ibolton336 Aug 19, 2025
3eca811
normalize path for agent
ibolton336 Aug 19, 2025
ea023cf
fileUriToPath check added and dispose of verticalDiffCodeLens properly
ibolton336 Aug 19, 2025
2c5cea3
Prpoperly clean up vertical diff handler
ibolton336 Aug 19, 2025
cd9a0bc
Add catch for empty files
ibolton336 Aug 19, 2025
e38b058
Fix retry order bug
ibolton336 Aug 19, 2025
6ee9e98
Add logger use, update ide util name, add try catch blocks
ibolton336 Aug 19, 2025
d82f598
Add logger, fix debug stmt, and remove decorators on clear
ibolton336 Aug 19, 2025
76924b7
Unified flow changes
ibolton336 Aug 19, 2025
b18c562
Missing types
ibolton336 Aug 19, 2025
09e1976
Auto save and old diff view removal
ibolton336 Aug 20, 2025
b833de1
Remove old commands and fix media query
ibolton336 Aug 20, 2025
bbf4ae1
Coderabbit suggestions
ibolton336 Aug 20, 2025
e41a6c0
fix: use command palette to open analysis view when too many extensio…
ibolton336 Aug 20, 2025
d3d0463
Fix continue button behavior
ibolton336 Aug 21, 2025
489790f
Handle message collision fix
ibolton336 Aug 21, 2025
1b66031
Ensure messages update when changed
ibolton336 Aug 21, 2025
f4d9f56
Address inadvertent move of provider setup
ibolton336 Aug 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions shared/src/types/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ export const GET_SOLUTION = "GET_SOLUTION";
export const GET_SUCCESS_RATE = "GET_SUCCESS_RATE";
export const OPEN_FILE = "OPEN_FILE";
export const VIEW_FIX = "VIEW_FIX";
export const APPLY_FILE = "APPLY_FILE";
export const DISCARD_FILE = "DISCARD_FILE";
export const WEBVIEW_READY = "WEBVIEW_READY";
export const GET_SOLUTION_WITH_KONVEYOR_CONTEXT = "GET_SOLUTION_WITH_KONVEYOR_CONTEXT";
export const CONFIGURE_LABEL_SELECTOR = "CONFIGURE_LABEL_SELECTOR";
Expand Down Expand Up @@ -36,8 +34,6 @@ export type WebviewActionType =
| typeof GET_SUCCESS_RATE
| typeof OPEN_FILE
| typeof VIEW_FIX
| typeof APPLY_FILE
| typeof DISCARD_FILE
| typeof WEBVIEW_READY
| typeof GET_SOLUTION_WITH_KONVEYOR_CONTEXT
| typeof CONFIGURE_LABEL_SELECTOR
Expand Down
1 change: 1 addition & 0 deletions shared/src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export interface ExtensionData {
activeProfileId: string | null;
solutionServerEnabled: boolean;
isAgentMode: boolean;
activeDecorators?: Record<string, string>;
}

export type ConfigErrorType =
Expand Down
9 changes: 8 additions & 1 deletion tests/e2e/pages/vscode.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,14 @@ export class VSCode extends BasePage {
}

public async openAnalysisView(): Promise<void> {
await this.openLeftBarElement(LeftBarItems.Konveyor);
// Try using command palette first - this works reliably when extension is hidden due to too many extensions
try {
await this.executeQuickCommand('Konveyor: Open Konveyor Analysis View');
return;
} catch (error) {
// Fallback to activity bar approach
await this.openLeftBarElement(LeftBarItems.Konveyor);
}

await this.window.getByText('Konveyor Issues').dblclick();

Expand Down
101 changes: 14 additions & 87 deletions vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,6 @@
"title": "Load analysis results",
"category": "Konveyor"
},
{
"command": "konveyor.loadSolution",
"title": "Load solution",
"category": "Konveyor"
},
{
"command": "konveyor.applyAll",
"title": "Apply All",
Expand Down Expand Up @@ -270,6 +265,12 @@
"title": "Configure Solution Server Credentials",
"category": "Konveyor",
"icon": "$(key)"
},
{
"command": "konveyor.showDiffActions",
"title": "Show Diff Actions",
"category": "Konveyor",
"icon": "$(diff)"
}
],
"submenus": [
Expand All @@ -292,10 +293,6 @@
{
"id": "konveyor.issueView",
"name": "Konveyor Issues"
},
{
"id": "konveyor.diffView",
"name": "Konveyor Resolutions"
}
]
},
Expand All @@ -315,16 +312,6 @@
"command": "konveyor.expandAllIssues",
"group": "navigation@3",
"when": "view == konveyor.issueView"
},
{
"command": "konveyor.applyAll",
"group": "navigation@1",
"when": "view == konveyor.diffView"
},
{
"command": "konveyor.discardAll",
"group": "navigation@2",
"when": "view == konveyor.diffView"
}
],
"view/item/context": [
Expand All @@ -347,60 +334,6 @@
"command": "konveyor.openAnalysisDetails",
"group": "inline@1",
"when": "view == konveyor.issueView && viewItem == incident-type-item"
},
{
"command": "konveyor.applyFile",
"group": "inline",
"when": "view == konveyor.diffView && viewItem == file-item"
},
{
"command": "konveyor.discardFile",
"group": "inline",
"when": "view == konveyor.diffView && viewItem == file-item"
},
{
"command": "konveyor.applyFile",
"group": "1@1",
"when": "view == konveyor.diffView && viewItem == file-item"
},
{
"command": "konveyor.discardFile",
"group": "1@2",
"when": "view == konveyor.diffView && viewItem == file-item"
},
{
"command": "konveyor.copyDiff",
"group": "2@1",
"when": "view == konveyor.diffView && viewItem == file-item"
},
{
"command": "konveyor.copyPath",
"group": "2@2",
"when": "view == konveyor.diffView && viewItem == file-item"
}
],
"diffEditor/gutter/selection": [
{
"command": "konveyor.diffView.applySelectionInline",
"group": "primary",
"when": "diffEditorInlineMode && ((diffEditorModifiedUri =~ /^konveyorMemFs\\:.*$/ && diffEditorOriginalWritable) || (diffEditorOriginalUri =~ /^konveyorMemFs\\:.*$/ && diffEditorModifiedWritable))"
},
{
"command": "konveyor.diffView.applySelection",
"group": "primary",
"when": "!diffEditorInlineMode && ((diffEditorModifiedUri =~ /^konveyorMemFs\\:.*$/ && diffEditorOriginalWritable) || (diffEditorOriginalUri =~ /^konveyorMemFs\\:.*$/ && diffEditorModifiedWritable))"
}
],
"diffEditor/gutter/hunk": [
{
"command": "konveyor.diffView.applyBlockInline",
"group": "primary",
"when": "diffEditorInlineMode && ((diffEditorModifiedUri =~ /^konveyorMemFs\\:.*$/ && diffEditorOriginalWritable) || (diffEditorOriginalUri =~ /^konveyorMemFs\\:.*$/ && diffEditorModifiedWritable))"
},
{
"command": "konveyor.diffView.applyBlock",
"group": "primary",
"when": "!diffEditorInlineMode && ((diffEditorModifiedUri =~ /^konveyorMemFs\\:.*$/ && diffEditorOriginalWritable) || (diffEditorOriginalUri =~ /^konveyorMemFs\\:.*$/ && diffEditorModifiedWritable))"
}
],
"explorer/context": [
Expand All @@ -419,10 +352,6 @@
"command": "konveyor.loadRuleSets",
"when": "never"
},
{
"command": "konveyor.loadSolution",
"when": "never"
},
{
"command": "konveyor.applyFile",
"when": "never"
Expand Down Expand Up @@ -547,6 +476,13 @@
"scope": "window",
"order": 10
},
"konveyor.diff.autoAcceptOnSave": {
"type": "boolean",
"default": true,
"description": "Automatically apply diff changes when saving files.",
"scope": "window",
"order": 11
},
"konveyor.kai.agentMode": {
"type": "boolean",
"default": false,
Expand Down Expand Up @@ -675,16 +611,7 @@
}
}
},
"keybindings": [
{
"command": "konveyor.diffView.next",
"key": "f4"
},
{
"command": "konveyor.diffView.prev",
"key": "shift+f4"
}
]
"keybindings": []
},
"includedAssetPaths": {
"kai": "../downloaded_assets/kai",
Expand Down
Loading
Loading