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

Implement Apply Diff View #1202

Merged
merged 20 commits into from
Apr 10, 2024
Merged

Implement Apply Diff View #1202

merged 20 commits into from
Apr 10, 2024

Conversation

Al12rs
Copy link
Contributor

@Al12rs Al12rs commented Apr 10, 2024

image

What was done:

  • Added "View Apply changes" button to access the page
  • Added new ApplyDiffView page
  • Added new DiffTreeViewModel for existing FileTreeView
  • Added a modified "State" column
  • Added colors for modified items
  • Added a Refresh button to recompute the diff
  • Added Files and Size counters in the status bar as per design
  • Auto expanded folders with changes
  • Added loading view while asynchronously computing the tree
  • Moved LoadoutToDiskDiff to ALoadoutSynchronizer from extension method, it wasn't accessible otherwise
  • Added a couple of methods to AGamePathNodeTree: GetRoots() and GetAllDescendentDirectories() that were needed for creating the viewmodel tree
  • Implemented PR feedback from Apply diff backend #1172

What could be added:

  • Checkbox or option to only show changes (exclude all unmodified files)
    I feel this view would really benefit from this addition.
@Al12rs Al12rs requested a review from erri120 April 10, 2024 14:04
@Al12rs Al12rs self-assigned this Apr 10, 2024
@Al12rs Al12rs requested a review from erri120 April 10, 2024 14:53
@Al12rs Al12rs merged commit 439f070 into main Apr 10, 2024
7 checks passed
@Al12rs Al12rs deleted the Apply_diff_ui branch April 10, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants