Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Progress bar indicator in tray #1558

Open
4 tasks done
dkaszews opened this issue Feb 9, 2025 · 0 comments
Open
4 tasks done

[Feature request]: Progress bar indicator in tray #1558

dkaszews opened this issue Feb 9, 2025 · 0 comments

Comments

@dkaszews
Copy link

dkaszews commented Feb 9, 2025

Version

  • I'm using version 1.17.2

Existing requests

  • I've checked Existing requests

Advanced Preferences

  • I've checked Advanced Preferences

What operating system are you using?

Other (specify below)

Operating System Version

Windows 11 Version 22H2 (OS Build 19045.4651)

Problem description

I would like to be able to tell at a glance what is the remaining time till next short and long break. The existing setting to show a number in tray icon does not satisfy me, as it only shows one of those, plus I do not find it particularly readable at small size.

Possible solution

I think the best solution would be to show two circular progress bars, one for short and one for long break. E.g. if there is 4/5 minutes left to short break and 5/50 minutes to long break, they should show 20% and 90% respectively (time elapsed = 1 - time remaining).

It could also be used to show remaining pause time, though if I recall correctly the app currently does not remember how long the pause was, only how long much longer will it take.

Alternative solutions

Some consideration should be taken for particular designs to make both readable at tray icon size:

  • Should they be one within another like Apple Watch fitness trackers?
  • Or maybe partially overlap to make them both bigger?
  • Maybe something more like a clock, with smaller and bigger hands?
  • Or make the long break a circular progress bar, with remaining circle in the middle filling from bottom to top as short break progresses?
  • Or maybe use horizontal/vertical bars instead?

Additional information

If the used framework does not play well with generating progress bars on the fly, pre-generating icons with all the possible combinations at some step size can be used instead, either at compile time or whenever changing settings.

E.g. With 5 minute short breaks and 50 minute long breaks, at 1-minute resolution, we have 50 possible icons. The short break break length does not really play into the number here, but it may affect chosen resolution so that it is always a whole number of steps (so for 6 minute short breaks, we could have chosen 2-minute resolution instead).

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant