Show which file is currently backuped in the GUI


#21

You read me like a poem :wink:

This would be cool :slight_smile: Especially because the path may be too long for the top bar, then if it is and you need more than the last 20-40 characters of the path then you can see it by expanding the job details.


#22

We should be carefull for how most people will interprete this…
==> Hey, why is my file xxx being processed? It didn’t change since 3 months!


#23

Yes, this could be confusing for users who don’t know exactly how the mechanism works. Some other thoughts:

  • As long as nothing is added to an upload volume, a text like “Scanning files” or “Analyzing files” could be displayed. If a file is changed since the last backup, this text could be replaced with “Processing X:\Folder\Filename.ext” while adding changed blocks to the upload volume. Backdraw is that 99.99% of the time the “Scanning files” text is displayed and a fraction of a second a changed file appears. This would hardly be an improvement, because you don’t have the time to read which file is processed and have no clue which files and folders have been processed and which not.
  • As far as I know, there is no particular order files and folders are being processed. The first folder that is listed by the OS is the first folder that is processed by Duplicati. There is no indication how far the backup is completed.
  • The status bar should be kept as clean as possible. Originally, only the number of files and MB’s were displayed in the status bar. Adding upload speed sounds useful, so that info is added. Adding the current file that is processed is also interesting, but what if others would like to see the total amount of uploaded data, the time that the backup is running etc.? The status bar will become more and more stuffed with info, it’s not what it’s intended for. I think it’s better to wait for a detailed status window. As far as I know it’s a planned feature.

#24

It’s the wild west, I think almost any feature is technically a planned feature. It’s just about getting there :slight_smile:

I’m wondering what we’d have to do to get some UI/UX folk hooked and contributing their skills. I don’t dislike the current UI, but I have this vague feeling that we could improve it a lot with some smaller changes to it.

Edit: I should add. I do think we should be careful about not bloating the UI with too much information in the wrong places, but it’s always that balance :slight_smile:


#25

It sounds from @kees-z like there is an overall design esthetic to be attempted, which is great!

And while I do like some of the designs presented in the “detailed status window” linked topic from above, I again say I’d rather see the feature in a “Current file” line of the job menu sooner than as part of a full-fledged status window later…

It kind of sounded like the “Current file” wrapable line was being favored, so assuming we haven’t scared @dbddhkpde off yet I’d say go for that! :slight_smile:

It should be that much easier to move the info to the more full featured status window when comes along down the line. :smiley:

(Side benefit - as its own line it might be possible to include more detail like whether the file is being “scanned for changes” vs. flat out being “backed up”.)


#26

Thanks for all the comments. I agree, that the progress bar should be kept clean!
I will than go for the backup job summary adding the current activity: backing up, processing file, uploading… all the states that the last page event comes up with.

How about this one (screenshot):

If the file processing is done the current action info will hide again. Only the progress bar will indicate what’s going on until it finishes…

Bad thing about this: :flushed: I did the “small” progress bar with inline html/css. Need to figure out how to integrate this into the correct places. AND some translation tags need to be created too…


#27

Cool! :grinning:
Any chance that this could be combined with changing the icons for running and queued backups?


#28

Ahhh, the joys of scope creep. :smiley:


#29

If there is no scope creep then people aren’t really passionate :wink:


#30

Tried to get things done :grinning:.
I will try to make a pull request today to upload my modifications.
The features so far:

  • add details to the job summary, not the main progress bar
  • added a mini progress bar for file processing
  • active / stopped jobs are indicated by different icons (thx to @kees-z, I modified them slightly…)
  • details only visible while processing files. While deleting, upload and backend-action ect. these details are hidden

And a screenshot too:

Some cosmetic / html modification is required (help needed…) but I think maybe we can start with this one?..

ToDo: integrate translation of the new infos: current action, progress, current file


More job icon states please :-)
#31

Well done!
A few suggestions/ideas:

  • The new icon looks very nice!
    Is there also an icon that indicates that a job is scheduled (little clock symbol?) or will run after the current backup operation is completed (little pause symbol?)?
    If a backup job is waiting for completion of another job that’s currently running, the text for “Next scheduled run” could be replaced by “When is completed”. The user can then identify in which order the next scheduled backups will be executed.
  • Can the double outline in the little progress bar be removed? image
    In the main progress bar, the bar itself is filled up with a background color, this looks more clean. image
  • For very long paths, the path string can be shortened to make it fit on one line, so E:\!duplicati test\Long-Subfolder-1\even-longer-foldername\final-folder-name-verly-long-too\testdumpfile7 could be replaced by something like E:\!duplicati test\Long-Subfolder-1\ ... \testdumpfile7.
    I assume that when switching between 1 or 2 (or even more) lines in a running backup job frequently results in all jackup jobs below it moving up and down. Making the path fit on one line will prevent this.

#32

I saw your icons for scheduled jobs, but it’s not implemented yet. My requirements focused on the current file, its progress AND the full path.

The possible moving up/down with long paths with this implementation is an issue! Maybe some toggle option / limitation? Not sure what is best and I am not that familiar with CSS/HTML to get this done…

Progress bar color: the jobs details are all gray text and light blue links, headline is light blue too. A light green progress bar looks more clean? Not sure about that! I will give it a try


#33

I guess I was not clear about that. What I tried to point out is that in your screenshot there is a rectangle inside a rectangle in the small progress bar. This is different from the main progress bar at the top of the screen, there is just one rectangle that fills up from left to right. For me, the blue color is ok.


#34

:face_with_hand_over_mouth: ok, got it!


#35

Pull Request is on its way… :slight_smile:


#36

Looking good on my machine :slight_smile:

I would consider making the progress % always centered, since right now it moves inside the progress bar, although that might just be preference.

Also, the current file line seems to stay on the same like as Current file: when it’s short enough, but otherwise jump to a new line. It may make sense to force it to always appear on the new line to avoid it jumping back and forth :slight_smile:

Overall, I really like how it’s turned out. It really adds transparency to the backup process and the run/pause icon is icing on the cake :slight_smile:


#37

That’s right - you just ignore mean old @kees-z’s scope creep requests and get that AWESOME work of yours out the door! :wink:

Of course those suggestions are actually pretty good so as soon as that PR gets to the trunk we can swing back around and start fine tuning. :smiley:

And I’ll add some more of my own suggestions which you probably already know, but just in case… when tweaking UI (like the “Current file” display wrapping vs. internal “…” elipses) consider how it will look on a mobile device (so resize your test browser window down to a mobile width) as well as what might happen with long worded languages (which I suspect you’ve already considered).


#38

Congrats on the code getting merged in, I just saw :smile:

Hopefully not the last time we see some awesome contributions from you :slight_smile:

When you decide to pick up the figurative pen again I can recommend reading up on branches to make it easier to work on multiple changes and keep the change history clean.
Create a new branch with git and manage branches · Kunena/Kunena-Forum Wiki · GitHub

Additionally, it can be very useful to reset the master branch to the current state of the Duplicati master before making a new branch. That way it’s easier to merge new changes.


#39

Thanks a lot!

It was a mess figuring out how to fork on GitHub, clone, pull, merge, SSL-keygen… finally i merged my small modifications over the web-ui :face_with_hand_over_mouth: but don’t tell anybody…

Wanted to use Git Extensions (used it before at work) but got many error messages due to … well, I don’t know exactly, but will keep on trying :v:.
The branch feature was something I was looking at too. Will check your stackoverflow-link and become a tiny little bit more experienced to keep on contributing.

Should I close this issue / topic or mark as done / solved here in any way?


#40

Using git gets easier with time, but I still use the web-ui for merge requests :wink:

Branches are wicked cool and useful once you get used to them, but there may be better articles than what I linked. It was just the first I could find that seemed to describe the process in practice :slight_smile: