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

Compare clean/simplified workflow diff in local repository #16

Merged
merged 14 commits into from
Mar 11, 2022

Conversation

davelopez
Copy link
Owner

Follow-up on #12

This PR adds a Git provider based on the integrated vscode.git extension. With this provider, we can now get the contents of a particular revision of a workflow document and then remove (clean) the unnecessary parts before comparing two documents.

The downside is that this Git provider only works on a local git instance (see #3 (comment) for details), so this feature can only be used when you are in a local git repository and not in github.dev or vscode.dev 😞 I believe is still possible to create a GitHub provider but will probably require much more investigation and effort...

The new commands now appear in the Timeline and the File Explorer so you can select the first workflow document with Select workflow for (clean) compare which will be on the left side of the diff and the second workflow to compare to with Compare with this workflow (clean) on the right side.

Here is an example of usage:

clean-diff

Closes #3

@davelopez davelopez added the enhancement New feature or request label Mar 8, 2022
@davelopez davelopez merged commit fe63946 into main Mar 11, 2022
@davelopez davelopez deleted the compare_clean_diff branch March 11, 2022 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simplified diff views
1 participant