-
Notifications
You must be signed in to change notification settings - Fork 43
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
Prepopulation of time spent when timer is stopped #31
Comments
Spent time should be populated with the elapse time under your scenario. What browser did you use? Works fine with IE and chrome. This is the whole point of the time logger. Yes and your better being reviewed. |
Tested both FF and Chrome, and same results. I start a timer and get automatic state transitions on the ticket (according to setup) and timer starts counting. To stop, I click the "stop square" in the top right corner. I then get the ticket opened in edit mode and no time populated in the "Spent time" field, plus the timer stops and I can't see how much time has been spent at this point. Not sure what might be the cause. One thought is if it has to do with country dependent decimal point? In my country, we use "," as decimal point with "." as thousand seperator. Palli |
ok that helped ... What is your default country and I'll test it? Thanks so much! |
Sorry for the delay. My default country would be Iceland I presume. Palli |
Hey no problem. Icelandic is not an option under language. That was my bad. Can you tell me what's under "My account" for language? |
Hello, |
Hi, I experience the same issue. Here's my setup (Language: English):
I'm using FF and Chrome, it doesn't work on either of them
Kind Regards |
sorry for the delay vikingmedia! What is the language? I think those that are using a comma in the time separator is the issue but no one has given me a valid language under their preferences. |
oh sorry tested under firefox 49.0.1 and it's fine using english |
hi speedy, thanks for your reply. What language setting do you mean? I am using English: but even when i switch to German (a language some of my colleagues use) it is still a dot as the decimal separator. So apparently the language setting doesn't have any effect on the decimal separator of the time tracker. |
Hi @speedy32129 , I've investigated further and found out, that the URL to preset the time to log is urlencoded twice, leading to a request that looks like this:
urldecoded it looks like
when in fact it should look like
when I enter the URL
in the browser it works! So this doesn't seem to be a problem based on locale settings.It is probably a different problem @pallibj experienced. Greets, Erik |
Hi. I have the same problem here. Can anybody help? |
Hi. I found a solution. In file time_logger/app/controllers/time_loggers_controller.rb comment line: |
Hi @luizrenault, I can confirm that this fixed the issue for me as well. Thank you very much for your solution! |
When you stop a timer or tracker, you are automatically brought to the Edit of the item you are tracking. At that point, the spent time field is blank.
It would be a nice enhancement that the timetracking would enter that same edit page with the spent time field populated with the timer value as a default suggestion.
Even better, keep the timer/tracker running while entering comments and add a button to the Edit form which would stop the timer and paste current timer value into the Spent time field. This would enable you to enter the edit form, add your comments and then stop the timer without having to enter the hours and without having to account for the time spent entering comments.
Palli
The text was updated successfully, but these errors were encountered: