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

preview suggestions before applying #76

Merged
merged 3 commits into from
Jan 29, 2024
Merged

preview suggestions before applying #76

merged 3 commits into from
Jan 29, 2024

Conversation

goerlibe
Copy link
Collaborator

  • first draft: open the relevant patch files and request confirmation before actually applying.

future steps:

  • open a pretty diff view; requires to create a diff, i.e.:
    • apply the patch to a replica of the file,
    • show the diff between the changed replica and the current file
  • "peek" instead of opening a new editor
  • prettier confirmation dialogue (currently it takes fokus and does not allow browsing the changes without canceling and then having to press apply again)

@goerlibe goerlibe linked an issue Jan 28, 2024 that may be closed by this pull request
@goerlibe goerlibe self-assigned this Jan 28, 2024
@goerlibe goerlibe marked this pull request as ready for review January 29, 2024 10:51
@goerlibe goerlibe merged commit 59b2ef8 into master Jan 29, 2024
@goerlibe goerlibe deleted the previewBeforeApply branch January 29, 2024 10:51
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.

Option to preview suggestions before applying them
1 participant