Skip to content

Add support for time-plan-only inbox task creation mode#175

Open
horia141 wants to merge 2 commits into
developfrom
claude/intelligent-rubin-nzv05a
Open

Add support for time-plan-only inbox task creation mode#175
horia141 wants to merge 2 commits into
developfrom
claude/intelligent-rubin-nzv05a

Conversation

@horia141

Copy link
Copy Markdown
Collaborator

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

  • Query Schema Update: Extended timePlanReason to accept both "for-time-plan" and "for-time-plan-only" values
  • Loader Logic: Updated condition to handle both time plan reason types when fetching associated time plan data
  • Action Handler:
    • Fixed logic for setting time_plan_ref_id (now correctly checks for "for-time-plan" instead of "standard")
    • Added redirect case for "for-time-plan-only" that returns to the time plan view instead of the activity view
  • UI Updates:
    • Dynamic return location based on time plan reason (returns to time plan for "for-time-plan-only" mode)
    • Updated default date field logic to apply time plan dates for both "for-time-plan" and "for-time-plan-only" modes
  • Navigation: Added new "New Inbox Task (Plan Only)" menu option in time plan activity view that uses the new mode

Implementation Details

The key distinction between the two modes:

  • "for-time-plan": Creates inbox task linked to a specific time plan activity (requires parentTimePlanActivityRefId)
  • "for-time-plan-only": Creates inbox task linked to a time plan but not to a specific activity (only requires 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

…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
@horia141 horia141 deployed to claude/intelligent-rubin-nzv05a - jupiter-webapi-db PR #175 June 24, 2026 15:16 — with Render Active
@mike-bestcat mike-bestcat temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-mcp PR #175 June 24, 2026 15:16 — with Render Destroyed
@horia141 horia141 temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-published PR #175 June 24, 2026 15:16 — with Render Destroyed
@mike-bestcat mike-bestcat temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-api PR #175 June 24, 2026 15:16 — with Render Destroyed
@horia141 horia141 temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-webapi-srv PR #175 June 24, 2026 15:16 — with Render Destroyed
@mike-bestcat mike-bestcat temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-webui PR #175 June 24, 2026 15:16 — with Render Destroyed
@horia141 horia141 temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-webapi-srv PR #175 June 24, 2026 15:16 — with Render Destroyed
@horia141 horia141 temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-docs PR #175 June 24, 2026 15:16 — with Render Destroyed
@horia141 horia141 temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-webapi-srv PR #175 June 24, 2026 15:16 — with Render Destroyed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XX6Mk5MM1hs3HKzK5JPeeg
@horia141 horia141 temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-webapi-srv PR #175 June 24, 2026 15:17 — with Render Destroyed
@horia141 horia141 temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-published PR #175 June 24, 2026 15:17 — with Render Destroyed
@mike-bestcat mike-bestcat temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-webui PR #175 June 24, 2026 15:17 — with Render Destroyed
@mike-bestcat mike-bestcat temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-mcp PR #175 June 24, 2026 15:17 — with Render Destroyed
@mike-bestcat mike-bestcat temporarily deployed to claude/intelligent-rubin-nzv05a - jupiter-api PR #175 June 24, 2026 15:17 — with Render Destroyed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants