improvement: sorts and filters updated for tasks feature.
This commit is contained in:
@@ -9,6 +9,7 @@ alwaysApply: false
|
||||
- **Default sort:** newest `labCase.sentAt` first; `stepOrder` asc within prosthesis group (backend `buildOrderBy`).
|
||||
- **Grouping:** only when `sortBy=date`; flat list + hint for other sorts.
|
||||
- **Prosthesis colors:** `PROSTHESIS_TYPE_COLORS` + `prosthesisTypeBadgeStyleFromCatalog` — never row index.
|
||||
- **Step completed filter:** `stepCompleted` query param; groups where that step is `COMPLETED`; with `IN_PROGRESS` status shows remaining open tasks only.
|
||||
- **Important only:** server-side `important=true` (not client per-page).
|
||||
- **Show in case:** `GET /tasks/locate-page` finds page in full list; highlight + scroll.
|
||||
|
||||
Full map: `.cursor/skills/lab-tasks/SKILL.md`
|
||||
|
||||
Reference in New Issue
Block a user