Calendar events support multiple reminder offsets with presets and per-user defaults. Lists index adds inline task entry and list property editing. Generic entity comments on list detail. New bangs.stats dashboard widget. Closes Gitea #28, #29, #30, #31. Migrations 0022 and 0023.
40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
# 91 — Comments on lists and tasks
|
|
|
|
## Goal
|
|
|
|
Household members can comment on lists and individual list items using a reusable comment component.
|
|
|
|
## What we decided
|
|
|
|
- Generic `comments` table in `_core` keyed by `(entity_type, entity_id)`.
|
|
- Reusable `EntityComments` client component in `src/components/comments/`.
|
|
- Wired on list detail: list-level thread + per-item expandable comments.
|
|
- Entity-generic design so notes/other modules can adopt later without schema changes.
|
|
|
|
## Depends on
|
|
|
|
- 11 (lists module)
|
|
|
|
## Scope
|
|
|
|
- Migration: `comments` table.
|
|
- `_core/comments.ts`: list, add, delete (author-only).
|
|
- `EntityComments` UI.
|
|
- Lists detail page integration for `lists.list` and `lists.item`.
|
|
|
|
## Out of scope
|
|
|
|
- Comments on notes/calendar (future adoption of same component).
|
|
- Rich-text comments (plain text only).
|
|
|
|
## Acceptance criteria
|
|
|
|
- [x] Comment on a list
|
|
- [x] Comment on a task/item
|
|
- [x] Household members see each other's comments
|
|
- [x] Component is entity-generic (documented in brief)
|
|
|
|
## Notes
|
|
|
|
- Gitea: [ginnoir/famapp#30](https://gitea.ginnoir.com/ginnoir/famapp/issues/30)
|