-
-
Notifications
You must be signed in to change notification settings - Fork 453
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
w.i.p. daily limit counter #680
Conversation
…67-daily-limit
Codecov Report
@@ Coverage Diff @@
## master #680 +/- ##
==========================================
+ Coverage 85.81% 86.18% +0.36%
==========================================
Files 12 12
Lines 275 275
==========================================
+ Hits 236 237 +1
+ Misses 39 38 -1
Continue to review full report at Codecov.
|
Hey @mwoz123 , we should first talk about feature before writing any code. How do you imagine this should work? |
Daily limit should have same/similar rule set as micro- and break. Popup should appear after (default) e.g. 6 or 8h, and can be postpone or skipped. Once breaks are paused, or rested - daily limit counter should also be paused/rested. I created "skip to daily limit" - it doesnt' have much logic sense - it's temp function to simplify development, so don't be confused by that;) Did I miss something? |
To be honest, I am not sure about this. I don't like the idea of adding features that other apps have, Workrave in this case. I would prefer Stretchly to be different. Stretchly is break time reminder app. This feature looks like a timer to finish ones shift. There are hundreds of apps for counting time or timers. I would prefer to keep Stretchly simple, as every extra features make it harder to maintain and to add core features. This feature seems to be as it should be separate application. |
(From developer point of view) I totally agree.
Here I disagree. How about creating array that will contain number of break timers (and their configuraiton) and if someone will want to have 10 time's up reminders (instead 2 - but I belive most users will want at most 3) can be easily set in configuration. If some wants 1 will change the configuration to 1, and so on..
Btw I was wondering why it's not marked with "RSI" or "prevent "Repetitive strain injury" (RSI) in tags or description. Anyway is there a chance such feature will be accepted? I thought so from your anser #667 (comment) |
I will need to think more. Because much more people request that I will add "custom working times", which goes in similar direction but it would be then close to impossible to have both. Maybe a combination where people can define working hours and be notified at the end? |
"moving" conversation to #667 |
@hovancik I replied in issue : What you think? |
Issue: #667
Requirements
node
version specified inpackage.json
was used (ie using nvm).npm install --no-save
).npm run lint
reports no offenses.npm run test
is error-free.Description of the Change
Help adapting lines:
https://github.com/hovancik/stretchly/pull/680/files#diff-0a3ec7d7c0484270905e25a072b4f0c8L74
apprecaited. I don't quite follow the logic here (L74-L102) :/
Daily limit counter - informs when it's time to stop working with computer
Verification Process
Other information