Skip to content

Issue-142 : added time estimation and bandwidth indicator to the systray - #1717

Merged
dark-eye merged 18 commits into
owncloud:masterfrom
dark-eye:master
Jun 17, 2014
Merged

dark-eye merged 18 commits into
owncloud:masterfrom
dark-eye:master

Conversation

@dark-eye

Copy link
Copy Markdown
Contributor

added time estimation and bandwidth indicator to the systray and active download in the account settings tab

@ocontant

Copy link
Copy Markdown

+1

…tion.

Changed the account settings estimation to display both current file and overwhole estimation.
Decresed the progress font size to fit the added information
@dark-eye dark-eye changed the title Issue-142 : added time estimation and bandwidth indicator to the systray... Issue-142 : added time estimation and bandwidth indicator to the systray Apr 26, 2014
Comment thread src/mirall/accountsettings.cpp Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please just add arguments to arg like arg(..., ...., ..., ..., ..., ...) instead of arg(...).arg(...).arg(...) Because the file name might contains '%'

@ogoffart

Copy link
Copy Markdown
Contributor

Check identation (we ident with 4 spaces).
Could you upload a screenshot we we can see the result?

..Also increased the height of folder progress bar alittle in order to accommodate the added estimation data
@dark-eye

Copy link
Copy Markdown
Contributor Author

images attached ...

accountsettings
systray

@danimo

danimo commented Apr 28, 2014

Copy link
Copy Markdown
Contributor

@dark-eye you can't rely on '\n' to work in menus.

@jancborchardt

Copy link
Copy Markdown
Contributor

Awesome! :)

Some design feedback:

  • only use one line, and not that much detailed info please (no kb/s directly in the menu for example)
  • the time does not need to be that specific – when it’s in the scale of hours, no need to show seconds. Only show something like »1:30 hours« (do not use the word »ETA«!)
  • it doesn’t matter what has been synced already, only what’s left. Hence no need to show the »3 of 20« info either

Specifically, say it like this:
»Syncing 230 MB (1:47 hours left)«
Then after a while:
»Syncing 50 MB (26 minutes left)«
Then:
»Syncing 2 MB (32 seconds left)«

Thanks!

@jancborchardt

Copy link
Copy Markdown
Contributor

Also you can cc me on design issues like these. :)

@dark-eye

Copy link
Copy Markdown
Contributor Author

I`m changing it to say "Syncing 2 of 5 (5MB of 15MB), 12 minutes left" in the system tray context menu.
As i don't want to remove existing information that might be useful to the user.

Is that ok?

new_estimate

… limit to the estimate to prevents starting estimation jittering
@jancborchardt

Copy link
Copy Markdown
Contributor

As you see it takes up way too much space and makes the menu really wide. The menu is not there to hold all info, but to be concise. The full info can be in the Settings dialog (and mostly is already). Please change the menu entry to what I proposed above. Thanks! :)

… syncronization actually has size changed the descriptive time logic to be more generic
@dark-eye

Copy link
Copy Markdown
Contributor Author

will do i`ll upload the fixes tonight (GMT) or tomorrow as i kinda swamp at work right now

dark-eye added 2 commits May 14, 2014 10:55
… update estimation (ie.. deletion), made the estimation more responsive at start and less jittery after some time
@dark-eye

Copy link
Copy Markdown
Contributor Author

This is how it looks now :
new_estimate

@enoch85

enoch85 commented May 28, 2014

Copy link
Copy Markdown

@dark-eye So how does this look now?

@jancborchardt OK to merge?

@dark-eye

Copy link
Copy Markdown
Contributor Author

The new look :
new_estimate

I noticed the the context menu is a bit cryptic, so i reverted just the context menu and i think it looks better (not committed just a proposal..) :
new_estimate1

What do you think?

@enoch85

enoch85 commented May 28, 2014

Copy link
Copy Markdown

@jancborchardt have to decide which one is the best alternative.

I still think that both minutes and seconds should be visible like I did in my mockup. For example: "19m 1s left" instead of "19 minutes". It´s equally long text and dosen´t make the menu so much wider. At the same time you understand as a user what "m" and "s" stands for.

One thing I noticed though:
e9f71b3c-e6a5-11e3-8dce-3977413db6d2

@enoch85

enoch85 commented May 28, 2014

Copy link
Copy Markdown

And also, just a suggestion: Take away the "time left" after (1.7 of 6 MB) because it´s already visible at the side to the right.

Only have: (XX MB of XX MB) [BANDWIDTH CALCULATION]

Much cleaner!

@dark-eye

Copy link
Copy Markdown
Contributor Author

you're right, The detailed shorthand looks better then the "XX minutes" thing I changed it to look like this :
new_estimate

As for what you noticed, the bottom line shows the time to finish the current file and the one on the right show the total synchronization estimate i changed the text to be more clear about their roles (as shown in the image above)

@enoch85

enoch85 commented May 28, 2014

Copy link
Copy Markdown

PERFECT! 👍

Now I also understand why you have both time and bandwidth calculation after the (XX MB of XX MB) Makes sense.

So @jancborchardt what do you think? I´m satisfied anyway. 😄

@jancborchardt

Copy link
Copy Markdown
Contributor

@enoch85 yeah, good call on always showing seconds – that way you always see the progress in counting down. @dark-eye great work! :)

Good collaboration here between you two – you should join the #owcnloud-dev IRC channel, and our developer mailing list: http://mailman.owncloud.org/mailman/listinfo/devel
And if you’re interested in design, also be welcome our #owncloud-design IRC channel. :)

@dragotin @danimo this get’s a design-wise 👍 from me. What about you?

@dark-eye

dark-eye commented Jun 2, 2014

Copy link
Copy Markdown
Contributor Author

Bummer... do i need to do anything for this to be included in 1.7?

@dragotin

dragotin commented Jun 3, 2014

Copy link
Copy Markdown
Contributor

@dark-eye it's a great contribution, thanks! But before we merge, we have to ask you to sign our contributor agreement which you can find at http://owncloud.org/about/contributor-agreement/

Please get back to @karlitschek or @jospoortvliet or me if you have questions. Thanks!

@jancborchardt

Copy link
Copy Markdown
Contributor

@dark-eye can you sign the contributor agreement? Alternatively it’s ok to declare that the changes are MIT-licensed.

@dark-eye

dark-eye commented Jun 6, 2014

Copy link
Copy Markdown
Contributor Author

Sorry for the late response have been playing too mach star citizen :)
I'll do it later today, but yes it can be declered MIT licensed if it will be easier :)

@jancborchardt

Copy link
Copy Markdown
Contributor

Haha, nice! Ok – you only need to rebase this then. :)

(Do you have a steam username? ;)

@enoch85

enoch85 commented Jun 6, 2014

Copy link
Copy Markdown

@dark-eye haha :)

@dark-eye

dark-eye commented Jun 6, 2014

Copy link
Copy Markdown
Contributor Author

Its zeroket ;)
Regarding the rebase what do I need to do? I think I made something wrong as it seems It doesn't have anything to do when I run 'git rebase master' on my repo....
should i rebase it against the original repo?

@dark-eye

Copy link
Copy Markdown
Contributor Author

Should i merge the original owncloud repo master in to my repo master?

@jancborchardt

Copy link
Copy Markdown
Contributor

Best do a git rebase master in your branch. Probably you need to fix some errors.

@dark-eye

Copy link
Copy Markdown
Contributor Author

It says i can "Merge the pull" automatically now...
But should I? I mean I thought only a few can actually touch ( and witness the greatness of... ) the master branch :)

should i press the button ? :)

dark-eye added a commit that referenced this pull request Jun 17, 2014
Issue-142 : added time estimation and bandwidth indicator to the systray
@dark-eye
dark-eye merged commit afea881 into owncloud:master Jun 17, 2014
@dark-eye

Copy link
Copy Markdown
Contributor Author

Pressed It :)

@dragotin

Copy link
Copy Markdown
Contributor

@dark-eye thank you very much for your dedicated and patient work!

@enoch85

enoch85 commented Jun 17, 2014

Copy link
Copy Markdown

@dark-eye Thanks man!

@jancborchardt

Copy link
Copy Markdown
Contributor

Wohoo, thank you all! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants