fix: Show active tasks list on Dashboard when day is in progress#129
Merged
Conversation
Replaces the "N tasks tracked today" count card with a full TaskItem list so users can see task details, active status, and duration without navigating to the Tasks page. The "Add Task" button still routes to /tasks where the NewTaskForm lives. https://claude.ai/code/session_01Az2638DrX4j3RrixD4yz6Y
When a day is started but no tasks have been added, the Dashboard now renders the NewTaskForm (defaultOpen) inline so the user can start their first task immediately without clicking through to the Tasks page. https://claude.ai/code/session_01Az2638DrX4j3RrixD4yz6Y
Deploying timetrackerpro with
|
| Latest commit: |
ae790e9
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0832272b.timetrackerpro.pages.dev |
| Branch Preview URL: | https://claude-show-active-tasks-das.timetrackerpro.pages.dev |
Removed the navigate("/tasks") call from handleStartDayWithDateTime so
the user remains on the Dashboard where the NewTaskForm is rendered
inline when no tasks exist yet.
https://claude.ai/code/session_01Az2638DrX4j3RrixD4yz6Y
The "Add Task" button in the Day In Progress card now toggles a showAddTaskForm flag, rendering NewTaskForm inline below the card. After submission the form is dismissed. The form also auto-opens when no tasks exist yet (existing behaviour). https://claude.ai/code/session_01Az2638DrX4j3RrixD4yz6Y
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the "N tasks tracked today" count card with a full TaskItem
list so users can see task details, active status, and duration without
navigating to the Tasks page. The "Add Task" button still routes to
/tasks where the NewTaskForm lives.
https://claude.ai/code/session_01Az2638DrX4j3RrixD4yz6Y