Add support for time-plan-only inbox task creation mode#175
Open
horia141 wants to merge 2 commits into
Open
Conversation
…y view Adds a new button in the big plan activity detail view within a time plan that creates an inbox task linked to the big plan but without adding it as a time plan activity. The new.tsx form supports a 'for-time-plan-only' reason that uses the time plan's dates for defaults, skips activity creation, and returns to the time plan view on success. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XX6Mk5MM1hs3HKzK5JPeeg
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XX6Mk5MM1hs3HKzK5JPeeg
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 a new "for-time-plan-only" mode for creating inbox tasks from time plans. This mode allows users to create inbox tasks that are associated with a time plan without creating a parent-child relationship with a specific time plan activity.
Key Changes
timePlanReasonto accept both "for-time-plan" and "for-time-plan-only" valuestime_plan_ref_id(now correctly checks for "for-time-plan" instead of "standard")Implementation Details
The key distinction between the two modes:
parentTimePlanActivityRefId)timePlanRefId)Both modes inherit the time plan's start and end dates as default actionable and due dates for the new inbox task.
https://claude.ai/code/session_01XX6Mk5MM1hs3HKzK5JPeeg