Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Load state from files and create apply/revert/copy commands #93

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

rszwajko
Copy link
Contributor

@rszwajko rszwajko commented Nov 8, 2024

Key points:

  1. make the data folder(.vscode/konveyor) the main permanent storage.
    This replaces the current usages of vscode.workspaceState.
  2. store analysis results and received solutions directly in the
    extension state. Both values are frequently read from the command
    layer. Retrieval from the DB adds unnecessary delay.
  3. load initial data asynchronously on extension start
  4. implement commands: applyAll,applyFile, revertAll, revertFile,
    copyPath, copyDiff
  5. create loadResultsFromDataFolder command ("Reload results" in the
    command palette)for initial data load and development.

Resolves: #48
Resolves: #72

@rszwajko rszwajko requested review from djzager, ibolton336, hhpatel14, sjd78 and savitharaghunathan and removed request for djzager and ibolton336 November 8, 2024 20:14
@rszwajko rszwajko changed the title Load state from files and create apply/revert/copy commands ✨ Load state from files and create apply/revert/copy commands Nov 8, 2024
Key points:
1. make the data folder(.vscode/konveyor) the main permanent storage.
   This replaces the current usages of vscode.workspaceState.
2. store analysis results and received solutions directly in the
   extension state. Both values are frequently read from the command
   layer. Retrieval from the DB adds unnecessary delay.
3. load initial data asynchronously on extension start
4. implement commands: applyAll,applyFile, revertAll, revertFile,
   copyPath, copyDiff
5. create loadResultsFromDataFolder command ("Reload results" in the
   command palette)for initial data load and development.

Signed-off-by: Radoslaw Szwajkowski <[email protected]>
@rszwajko rszwajko marked this pull request as ready for review November 12, 2024 10:52
Copy link
Member

@ibolton336 ibolton336 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rszwajko rszwajko merged commit 93f60c5 into konveyor:main Nov 12, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[vscode] accept/reject a particular fix Create "Apply fix" code action
2 participants