Giter Club home page Giter Club logo

Comments (8)

cforce avatar cforce commented on August 10, 2024

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?

from redmine_timelog_timer.

4TT1L4 avatar 4TT1L4 commented on August 10, 2024

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.

from redmine_timelog_timer.

cforce avatar cforce commented on August 10, 2024

Sounds good.

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

See #4

from redmine_timelog_timer.

cforce avatar cforce commented on August 10, 2024

Btw. check similar plugins.

https://github.com/cforce/redmine_spent_time
https://github.com/sharpyfox/linked_time_entries

https://github.com/hicknhack-software/redmine_time_tracker !! This one can do all ur features.

from redmine_timelog_timer.

behigh avatar behigh commented on August 10, 2024

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.

from redmine_timelog_timer.

4TT1L4 avatar 4TT1L4 commented on August 10, 2024

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!

from redmine_timelog_timer.

cforce avatar cforce commented on August 10, 2024

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

from redmine_timelog_timer.

4TT1L4 avatar 4TT1L4 commented on August 10, 2024

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

from redmine_timelog_timer.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.