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

Session level persistence #3

Open
4TT1L4 opened this issue Nov 28, 2012 · 8 comments
Open

Session level persistence #3

4TT1L4 opened this issue Nov 28, 2012 · 8 comments

Comments

@4TT1L4
Copy link

4TT1L4 commented Nov 28, 2012

I am planning to implement something like "session level persistence". Have you planned it or anything like that (maybe already done it)?

@cforce
Copy link

cforce commented Nov 28, 2012

can u explain ur feature "session level persistence" more?
Does it mean beyond tab closed or beyond browser closed
Does it mean to define working hours in between time logging is possible, or at least running timer will end with last working minute?

@4TT1L4
Copy link
Author

4TT1L4 commented Nov 28, 2012

I am planning it to implement using localStorage. It preserves it's contents even if the browser is closed.

It is going to work like this:

First you have no time set, so you start your timer.
It starts measuring time.
You can close the tab, even if your browser it will continue measuring time.
If you reopen the browser and go to the time entry page you will see the
time spent since you clicked on the start button.
Of course it measures time only if you clicked on the Start button. Otherwise it just stands still and saves it contents.

In a later version I plan to also implement to remember to different Issues. So you can switch between issues and still have your time saved, even without logging to the database by clicking the submit button.

@cforce
Copy link

cforce commented Nov 28, 2012

Sounds good.

The feature "meausing time for several issues a the same time (cocurrent)" is another feature.

See #4

@cforce
Copy link

cforce commented Nov 28, 2012

@behigh
Copy link
Owner

behigh commented Dec 3, 2012

Unfortunately, none of these timers not working. So I wrote this simple script. I'm almost done save the timer in a localStorage, will soon be updated.

@4TT1L4
Copy link
Author

4TT1L4 commented Dec 3, 2012

Hi!

Behigh: I have already implemented this function. Sorry for not telling you in time. I am going to upload it to my fork so you can see my solution.

Thank you for making this script. This was just what I needed!

@cforce
Copy link

cforce commented Dec 21, 2012

TotalBrutal; Your fork has conflicts with behigh's, please try to sync the timer.js file.

@4TT1L4
Copy link
Author

4TT1L4 commented Dec 21, 2012

Thanks for noticing. I shall, but I am very busy doing something else in the next couple weeks.

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

3 participants