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

clarify preferences panel with columns and long-break specific timer #190

Closed
anarcat opened this issue Oct 2, 2017 · 9 comments
Closed

Comments

@anarcat
Copy link
Contributor

anarcat commented Oct 2, 2017

the safeeyes preferences are somewhat lacking compared to workrave. example:

Workrave vs safeeyes

Above, you can see the Workrave preferences window and below, safeeyes. The use of tabs is commendable, but the first tab is really hard to read. I'm not sure what's going on there, but it does seem like a reaaally long list that could be broken into columns or something to improve readability. Having hour/minute/seconds breakdowns would also improve the usability significantly.

But there's also a rather difficult configuration aspect in safeeyes: the correlation between short and long breaks. In workrave, both are configured independently. But to figure out how to configure the interval i want between long breaks in safeeyes, i need to multiple the number of short breaks period... It's really hard to figure that out. It would be much easier to just say "N minutes between long breaks" instead of "X short breaks between long breaks"...

so i think this could be a huge improvement to the usability of safe eyes, at the cost of a little work in glade. ;)

@anarcat anarcat mentioned this issue Oct 2, 2017
@slgobinath
Copy link
Owner

Hi @anarcat,
Your suggestions make sense and I will improve the GUI before releasing 2.0.0.

May I know how workrave handles clashing short and long breaks?
Suppose I set short breaks every 15 minutes and long breaks every 1 hour, what will I get after an hour? The fourth short break or the first long break?

I hope it should be long break.

Further, if I set short breaks every 14 minutes and long breaks every 57 minutes, will I get a long break(at 57th minute) after a 1-minute delay from fourth short break (at 56th minute)?

@anarcat
Copy link
Contributor Author

anarcat commented Oct 2, 2017

i don't exactly know what it does: i would assume the long break as well.

i wouldn't worry about weird setups like 56ths vs 57th minute either: if the user configures something weird like that, they deserve what they're getting. :p

@slgobinath
Copy link
Owner

:-D
Those were the concerns I had when I developed Safe Eyes. Further I didn't wont to have two timers running in background. Anyhow I will change the way we handle long breaks now.

@anarcat
Copy link
Contributor Author

anarcat commented Oct 2, 2017 via email

@slgobinath
Copy link
Owner

:-) Makes sense.
I will fix it soon.

@slgobinath
Copy link
Owner

Hi,
I have changed the settings dialog as shown below. The long break interval can be defined only in multiples of short break interval. This way we can let users define the long break interval in time without further confusion.

I avoided splitting time units into HH:MM:SS format because:

  1. It makes hard to define UI level constraints
  2. UI becomes more complex
  3. Some controls do not need all three. For example, time to prepare for a break do not need Hour and a break interval do not need Second. Having HH:MM in one place and MM:SS in another place will make the UI inconsistent.
    Therefore I -1 that implementation.
    WDYT?
    screenshot from 2017-10-04 12-26-56

@anarcat
Copy link
Contributor Author

anarcat commented Oct 4, 2017

I have changed the settings dialog as shown below. The long break interval can be defined only in multiples of short break interval. This way we can let users define the long break interval in time without further confusion.

Okay, that's fine, even if this may lead to more questions. A tooltip or some way to discover that logic may be useful...

I avoided splitting time units into HH:MM:SS format because:

  1. It makes hard to define UI level constraints
  2. UI becomes more complex
  3. Some controls do not need all three. For example, time to prepare for a break do not need Hour and a break interval do not need Second. Having HH:MM in one place and MM:SS in another place will make the UI inconsistent.
    Therefore I -1 that implementation.

Okay, makes sense. :)

WDYT?

One more comment, if I may...

The "postpone duration (in minutes)" field could be grouped, or at least after the "allow postponing breaks" toggle. That way it would be clear they are related.

Thanks for doing this!

@slgobinath
Copy link
Owner

With the commit e04f463, an info message will be shown when a user updates either the short break interval or the long break interval for the first time. If the user closes it, it will not appear again in that settings session.
screenshot from 2017-10-04 19-31-31

@anarcat
Copy link
Contributor Author

anarcat commented Oct 5, 2017

excellent. i like the new ordering as well - thanks!

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

2 participants