Repository navigation
Change behavior of default date for end of session - #224
Conversation
|
@shikigamyia Some Github actions are failing. Have a look and fix the failing tasks |
|
@shikigamiya Some Github actions are failing. Have a look and fix the failing tasks |
|
I will not perform the requested task. Check why on the dedicated page. |
|
@copilot Some Github actions are failing. Have a look and fix the failing tasks |
Co-authored-by: lukasbischof <8350985+lukasbischof@users.noreply.github.com>
Reset the Capybara session before the shared test login to prevent stale authentication from failing setup (commit |
rnestler
left a comment
There was a problem hiding this comment.
I'm not sure I understand the intended change. Just to have the correct end date selected and just needing to adjust the time?
Yes, my workflow when tracking usually is fill out the ticket, tab, description, tab, start date is prefilled as I started at end of last session so I tab to end date and then with alt backspace adjust the minutes. For a date in the past, however, I had to jump to the start in the end date field, and change the day every single time and potentially even the month. Now I don't have to do this anymore and can be a bit more lazy again :) |
|
Please ask me first in the future for feature changes. |
I requested your review. It was open for three weeks. |
|
@lukasbischof you're definitely right, that I didn't see the change here. That's my bad. |
TICKET-19656
There might be people (like me) that may forget to track their time and have to complete their time tracking for a day in the past. It used to annoy me that when I was completing a day in the past that the default date for the end of session was set to the current date, which forced me to manually change the date. I think, it's safe to assume nobody is working overnight so this PR changes the behavior of how the end date is chosen:
day(start_date) < day(now), the end date will default to the start date (new behavior)