android-app icon indicating copy to clipboard operation
android-app copied to clipboard

add sum of estimated total reading time

Open anarcat opened this issue 4 years ago • 2 comments

Hi!

It would be great to have an idea of how many articles there are left to read in the app, and especially how long it will take to read them. There could be a little widget like there is in AntennaPod, a podcast client for Android, for example:

AntennaPod screenshot

In the above, notice the line on top of the queue that says "4 episodes, 9 hours and 42 minutes". That's pretty neat! It gives me a clear idea of how much "listening" i have queued up so if I leave for a long train ride or car ride, I know if I will have enough to pass the time (or not).

I keep thinking the Wallabag android app should do the same, so i figured I would bring it up here.

Thank you for this great program!

anarcat avatar Jan 26 '20 18:01 anarcat

Thanks for the suggestion!

For anyone willing to implement it, this should be fairly simple:

  1. Select all unread articles and sum the reading time (using SQL). I hope greendao won't create too much trouble with using aggregate functions.
  2. Adjust to reading speed using the same math as in other places reading time is used.
  3. Display it somewhere. At the bottom of the main screen maybe (the top already has a lot of elements)? Make it optional? In the menu near "last update" time?

di72nn avatar Jan 27 '20 08:01 di72nn

Display it somewhere. At the bottom of the main screen maybe (the top already has a lot of elements)? Make it optional? In the menu near "last update" time?

I think it's fine on top if it's a fine line, but maybe it would be better at the bottom, as a sticky status bar. One of the annoyances I find with the AntennaPod layout is that you need to scroll all the way back up to see the numbers. If the status bar would "stick" in place when you scroll, you wouldn't have this problem (at the cost of some small screen real estate).

I wouldn't have a problem with having it as a menu item either, which would especially make sense if the computation is expensive (then it could be done on the fly).

anarcat avatar Jan 27 '20 14:01 anarcat