Hi Glide Community,
I’m building an app where users can log time against tasks. I have three tables: Tasks, Users, and Time Tracking. Users should be able to start and stop time tracking on a task from the Tasks view. The time tracking entries are stored in a separate Time Tracking table.
Here’s what I’m trying to achieve:
-
Start Tracking: When a user starts tracking time, a new row is added to the Time Tracking table with the task_id, user_id, and start_time. (This can be done with an Action on the button easily)
-
Stop Tracking: When the user stops tracking time, the corresponding row in the Time Tracking table should be updated to include the end_time.
The challenge I’m facing is that in the Tasks view, I can’t directly set columns in the Time Tracking table. I’ve tried using relations and various workarounds, but still can’t get this working.
Does anyone have any suggestions or best practices for handling this kind of time tracking scenario in Glide? Any help or pointers would be greatly appreciated