Skip to content

Backend: support ~estimate in the quick-add capture grammar (e.g. ~90m, ~1.5h) #12

@ali-maher-m

Description

@ali-maher-m

What

The Slack-style quick-add grammar parses @assignee, #label, !priority, and ^date, but not the ~estimate token shown in our marketing (e.g. ~90m, ~1.5h, ~2h30m). Add parsing for ~estimate and map it to the item's estimate.

Where

  • apps/api/src/modules/work-items/domain/quick-add.parser.ts (and its co-located *.spec.ts).

How to verify

Add unit tests for ~90m, ~1.5h, and an invalid case, then pnpm --filter @rytask/api test.

Notes

This one is very self-contained and high-value — it makes the capture demo actually match the docs.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions