winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Taskbaritem > Progressbar / Overlay icon / description / asset mgmt

Open MyDrift-user opened this issue 1 year ago • 1 comments

Progressbar for running processes

STATE: Finished Please accept the PR on your website first, then test this PR and If it looks fine merge it.

Type of Change

  • [x] UI/UX improvement

Description

Adding Progressbar on taskbar to keep user informed on state of running processes like installing, running tweaks, using MicroWin .... Polished how and where the assets in winutil are used/saved (at the time logo as png format, logo as ico format, checkmark as png)

Follow this link for more info on the subject.

Preview:

Ongoing process

image image

Paused process (unused at the time)

image

Error during process

image

Indeterminate (stuff that is hard to track right like Microwin):

https://github.com/ChrisTitusTech/winutil/assets/121827219/f6720d51-1a8b-426d-8b27-0cc783971560

When the progress has finished and ran without issues, it will show a check on the taskbar until you "activate" (focus) winutil or start another process.

Screenshot 2024-07-16 193828

When the progress has finished and had an error, it will show a warning on the taskbar until you "activate" (focus) winutil or start another

Screenshot 2024-07-16 193754

Testing

  • tested everything listed in Features, and everything worked.
  • When testing you may think that the script is generating errors, which is not the case (on my end), usually it is an error that is also there with the main branch, but goes unnoticed. This will help detecting bugs.

Features

Support for progress bar;

  • Install & Upgradeapps
  • uninstall apps
  • get installed
  • run tweaks
  • undo tweaks
  • install features
  • get microwin iso
  • run microwin process

You can now modify the overlay icon using the function.

You can set the description, which is currently not in use.

  • If only one app/tweak/feature is selected, it will do an Indeterminatable process state like the video stated before, if multiple are checked it will check & update the process.
  • Get Installed apps and the entire microwin section are only in Indeterminatable process state due to maintainability, ease of use and more reasons.
  • Upgrade all is currently not supported due to it being impossible to track because the way it is currently updating the applications, after a rework I'll add this feature to the upgeade all process

Additional Information

For this PR we are using following Properties:

  • ProgressState
  • ProgressValue
  • Overlay is already used for the logo, got a rework
  • Description is available but not used at the time

Checklist

  • [x] My code adheres to the coding and style guidelines of the project.
  • [x] I have performed a self-review of my own code.
  • [x] I have commented my code, particularly in hard-to-understand areas.
  • [x] I have made corresponding changes to the documentation.
  • [x] My changes generate no errors/warnings/merge conflicts.

MyDrift-user avatar Jul 09 '24 05:07 MyDrift-user

@MyDrift-user love the idea of putting it in the tray as the GUI can be hard to update while the console is doing the tweaks. Updating the icon tray would be more responsive and a brilliant idea.

ChrisTitusTech avatar Jul 11 '24 16:07 ChrisTitusTech

May meeds changes after the for pr, but I qm currently not at home..

MyDrift-user avatar Jul 25 '24 21:07 MyDrift-user