Closed speedy32129 closed 9 years ago
Agreed. What should be the problem? How can I manually add a time entry to the db temporarly?
Not sure I completely understand what you are asking. This has nothing to do with adding time. The time_logger is logging time and saving time.
This particular issue has to do with status transitions. So if an issue has a status of "new" and you setup a transition from "new" to "in progress" when you start an issue with a "new" status" it will change to "in progress". You can still do that manually in the issue.
Yes, I know that, sorry for the inconvenience.
Sorry, I didn't saw this issue before opening #7
I guess the problem is:
:url =>
key in the link_to
helper on https://github.com/speedy32129/time_logger/blob/master/app/views/time_loggers/_status_transition_list.html.erb#L69. It just has to be the hash, without the :url =>
key.:with
and :complete
. :complete
can easily be replaced with data-replace
, and the :with
option need to be replaced with a custom data-with
option, that injects the params into ajax calls for links with data-with
, like you already did with data-replace
in https://github.com/speedy32129/time_logger/blob/master/app/views/time_loggers/_update_menu.html.erb#L39-L47Maybe I'll find some time tomorrow to fix this.
Thanks again for your work on this plugin.
Currently in the configuration of time_logger when you add a transition it's not saving.