Skip to content

Conversation

gave92
Copy link
Member

@gave92 gave92 commented Oct 31, 2022

Resolved / Related Issues
Items resolved / related issues by this PR.

  • Restore file operation progress in status center progress ring. Got removed in fulltrust process transition.

Validation
How did you test these changes?

  • Built and ran the app

@yaira2 yaira2 changed the title Restore file operations progress Feature: Display progress when restoring files Oct 31, 2022
@yaira2 yaira2 changed the title Feature: Display progress when restoring files Fix: Fixed issue with displaying file operation progress Oct 31, 2022

var moveResult = new ShellOperationResult();
var (status, response) = await FileOperationsHelpers.MoveItemAsync(source.Select(s => s.Path).ToArray(), destination.ToArray(), false, NativeWinApiHelper.CoreWindowHandle.ToInt64(), operationID);
var (status, response) = await FileOperationsHelpers.MoveItemAsync(source.Select(s => s.Path).ToArray(), destination.ToArray(), false, NativeWinApiHelper.CoreWindowHandle.ToInt64(), operationID, progress);
Copy link
Member

@yaira2 yaira2 Oct 31, 2022

Choose a reason for hiding this comment

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

A little beyond the scope of this PR but it be good to consolidate this code.

Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

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

LGTM

@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label Oct 31, 2022
@yaira2 yaira2 merged commit 0b9959a into files-community:main Oct 31, 2022
@gave92 gave92 deleted the ops_progress branch October 31, 2022 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants