Skip to content

Conversation

@SachaProbo
Copy link
Contributor

@SachaProbo SachaProbo commented Jan 5, 2026

Summary by cubic

Improved task display to show description, owner, time estimate, and deadline. Simplified assignment by handling it through updateTask with assignedToId.

  • Bug Fixes

    • Show task description, measure link, owner, time estimate, and deadline in TasksCard.
    • Always show the “Assigned to” field in the task form and send null to unassign.
    • Added formatDuration to render time estimates cleanly.
  • Migration

    • Removed assignTask and unassignTask mutations; use updateTask with assignedToId.
      • Assign: updateTask { taskId, assignedToId: PeopleID }
      • Unassign: updateTask { taskId, assignedToId: null }

Written for commit 6ab5ace. Summary will update on new commits.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 18 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="packages/helpers/src/date.ts">

<violation number="1" location="packages/helpers/src/date.ts:33">
P1: ISO 8601 duration parsing conflates Month and Minute. In ISO 8601, `M` means Month when before `T` (e.g., `P1M`) but Minute when after `T` (e.g., `PT1M`). The current regex `/PT?(\d+)([MDWH])/` makes `T` optional, so `P1M` (1 month) would incorrectly be formatted as &quot;1 Minute&quot;.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

@SachaProbo SachaProbo force-pushed the display-description-on-task branch 3 times, most recently from 979ff44 to 5ff31b3 Compare January 5, 2026 12:52
@SachaProbo SachaProbo requested review from codenem and gearnode January 5, 2026 12:57
@gearnode gearnode mentioned this pull request Jan 5, 2026
Copy link
Contributor

@gearnode gearnode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

);
}

export function formatDuration(duration?: string | null, __?: (s: string) => string): string | null {
Copy link
Contributor

@codenem codenem Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@codenem codenem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok if we do it like this for now for the duration but we should progressively migrate to the Intl and Temporal JS APIs

Signed-off-by: Sacha Al Himdani <[email protected]>
@SachaProbo SachaProbo force-pushed the display-description-on-task branch from 5ff31b3 to 6ab5ace Compare January 9, 2026 14:47
@SachaProbo SachaProbo merged commit 6ab5ace into main Jan 9, 2026
9 checks passed
@SachaProbo SachaProbo deleted the display-description-on-task branch January 9, 2026 14:54
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.

4 participants