Should Start Time Set by Client or Server? #196
Labels
discuss
Share your constructive thoughts on how to make progress with this issue
help wanted
If you can help make progress with this issue, please comment!
question
A question needs to be answered before progress can be made on this issue
technical
A technical issue that requires understanding of the code, infrastructure or dependencies
In our MVP we were setting the
timer.start_time
on the client asDate.now()
This is fine for an MVP because the whole point is to start testing the product ASAP with real people.
However if we are going to use this tool "for real" we need "integrity" of the start_time
to avoid people (trivially) setting it to a time in the past to "clock" more time against a task.
I think the only way we can do this is by defining the start_time on the server
(preferably automatically in the database layer with a reference to the Time Zone the client/device is in so we know if there needs to be an "offset")
Unless we want to give people the ability to define the
start_time
for their taske.g: in the
case
where someone forgets to start the timer when they begin a task...?Personally I think it opens up more issues than it resolves,
and if a person "forgets" to start the timer for a task
they are unlikely to "forget" more than a couple of times.
Also, our goal is to make the action of starting a timer automatic rather than manual;
e.g: a person drags a task "card" from the "Todo" to the "Doing" column or applies an
in-progress
labels will automatically start the timer on the task without requiring an additional click.@iteles thoughts?
The text was updated successfully, but these errors were encountered: