Commit Graph

5 Commits

Author SHA1 Message Date
9883e643e6 Convert tasks list and task view to Remote Function queries. 2025-10-10 11:31:27 -05:00
b13cee614e Task editing proof of concept.
This method uses url query params to detect when the page should be in
edit mode. There are two issues with the current approach:

1. The url query param is actually a pretty unintuitive pattern. It's
   disorienting to hit the back button and have it take you from edit
   mode to view mode rather than returning to the main task list.
2. The submit button does return the user to view mode, but caching
   results in the need for a refresh to see the updated task record.
   This can be solved.
2025-10-03 22:41:27 -05:00
f63f5ccc5a Rework data fetching and error handling.
Added server-side error handling for obvious total failure cases. If
a task is missing or has unexpected duplicates, SveltKit with now throw
a built in http error.

Added support for parent and child task fetching. Serverside, the raw
response object is passed to the client. The client is now able to
handle the parent and child response objects.
2025-10-01 23:04:04 -05:00
9c219054d3 Implement changes from TaskService. 2025-09-29 22:42:42 -05:00
e41f651e00 Add route to view a single task. 2025-09-29 00:33:04 -05:00