Add someday task support and improve task creation UX#6
Open
jski21 wants to merge 1 commit into
Open
Conversation
Replaces the inline 'Add a task (no date)' quick-add on the Lists page with the same TaskForm modal Dashboard/Calendar use. The form now supports an empty date — if you leave it blank the task is created as 'someday' (lives in the list only, never on Today/Calendar). TaskForm: - date is no longer required; a 'clear' affordance on the Date label empties the field - when the date is empty: time + recurring are disabled, recurrence builder is hidden, and a hint explains it'll land under Someday - initialDate='' (empty string) means 'intentionally blank' so the Lists page can open the form pre-cleared; undefined still defaults to today for Dashboard/Calendar - initialListId pre-selects the active list SomedaySection loses its inline quick-add input — the modal handles all creation now. The list-of-someday-tasks display + rename/schedule/ delete actions stay.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
This PR adds support for "someday" tasks (tasks without dates) and improves the task creation experience by allowing users to create tasks directly from the Lists page with pre-selected list context.
Key Changes
Someday task support: Tasks can now be created without a date by clearing the date field. These tasks appear in a "Someday" section within their list and don't appear on Today or Calendar views.
is_somedayfield to task creation payloadrequired)Enhanced TaskForm component:
initialListIdprop to pre-select a list when opening from the Lists pageuseEffecthook to auto-disable recurring when date is clearedLists page improvements:
initialDate=""to create someday tasks by defaultRemoved quick-add from SomedaySection:
Implementation Details
undefined→ defaults to today""→ intentionally blank (someday task)https://claude.ai/code/session_01K9mt37i3VVxitgUjEpqSts