23 lines
767 B
Markdown
23 lines
767 B
Markdown
# Enhancement specification (example)
|
|
|
|
## context
|
|
- existing app: TaskFlow Pro v1.3 (Next.js 14, Node.js API, Postgres 14)
|
|
- request: add task dependencies and Gantt-style timeline view
|
|
|
|
## goals
|
|
- represent finish-to-start dependencies between tasks
|
|
- show project timeline with critical path basics
|
|
|
|
## constraints
|
|
- no breaking changes to existing task API
|
|
- incremental rollout behind feature flag `task_dependencies`
|
|
|
|
## acceptance criteria
|
|
- create/read/update/delete dependencies via versioned endpoints (v2)
|
|
- timeline view loads in < 400ms P95 for 1k tasks
|
|
- migration scripts support roll-forward and rollback
|
|
|
|
## risks
|
|
- query performance on large projects → add indexes, pagination, caching
|
|
- UI complexity → progressive disclosure and virtualization
|