Skip to content

Feat/my notes inbox redesign - #5

Merged
hechi merged 3 commits into
mainfrom
feat/my-notes-inbox-redesign
Oct 20, 2026
Merged

hechi merged 3 commits into
mainfrom
feat/my-notes-inbox-redesign

Conversation

@hechi

@hechi hechi commented Oct 20, 2026

Copy link
Copy Markdown
Owner

Reworks the "My Notes" experience from a capture-only list into a triage inbox, and makes self-assigned quick notes convertible into real, trackable TODOs. Adds #tag support, inline editing, and a traceable link from a converted TODO back to its originating note. Spans three commits (redesign → backlink + My Notes editing → manager-inbox edit parity).

Motivation

A quick note was a dead end — you could capture a thought but not act on it. Research on manager note-taking tools converges on capture fast, triage in one click, and never leave an action item without an owner and due date. This change closes that loop: a mid-meeting note becomes a dated action item that surfaces on the dashboard.

What's included

Tagging

Optional tag (≤30 chars) on quick notes, with a tag filter (GET /api/v1/quick-notes?tag=…) and inline tag chips in both inboxes.

Convert to TODO

POST /api/v1/quick-notes/{id}/convert now takes an optional personId and optional dueDate. Omitting personId creates a person-less (manager's own) TODO.
The created action item keeps an originatingQuickNoteId backlink to the note it came from.

Person-less action items (end-to-end)

ActionItem.personId is now nullable. New user-scoped endpoints GET/POST complete/POST cancel/DELETE /api/v1/action-items/{id}.
Person-less overdue/due-soon items surface on the dashboard (with no person name). Person-oriented features (follow-up notifications, triage queue) intentionally skip them.

Editing & inbox UX

Inline edit of a note's text and tag on both the My Notes page and the manager Quick Notes inbox (PUT /api/v1/quick-notes/{id}).
My Notes is now a triage inbox: tag chips, tag filter, convert-to-TODO with an optional due date, archive, delete.

Schema changes (Flyway, additive)

V20251020120000 — add quick_notes.tag
V20251020120001 — make action_items.person_id nullable
V20251020120002 — add action_items.originating_quick_note_id (FK, ON DELETE SET NULL)

Security

Every new query/endpoint is scoped by userId; cross-user access returns 404 (integration-tested).

Testing

Backend: full suite green — 1634 tests, 0 failures (TDD; new domain/service/integration tests for tags, person-less items, convert with due date + backlink, and cross-user isolation).
Frontend: 125 suites / 1346 tests pass (tag input, convert, inline edit, tag filter)

hechi added 3 commits October 20, 2026 22:59
…TODOs

Turn the capture-only My Notes page into a triage inbox and let
self-assigned quick notes convert into a manager's own (person-less)
action items end-to-end.

- QuickNote: optional tag (<=30 chars) on create/update/list filter
- Convert: optional personId + dueDate; omitting personId yields a
  person-less MANAGER action item, preserving the self-assigned invariant
- ActionItem.personId is now nullable; add user-scoped finders and
  /api/v1/action-items/{id} get/complete/cancel/delete endpoints
- Dashboard surfaces person-less overdue/due-soon items (nullable person)
- Notifications and triage queue skip person-less items
- Frontend: tag chips, tag filter, inline convert-to-TODO with due date
- Migrations: add quick_notes.tag; make action_items.person_id nullable

Backend: 1634 tests pass. Frontend: 1334 tests pass.
…diting notes

- ActionItem gains originatingQuickNoteId; convert stamps the source note id
- Expose originatingQuickNoteId on ActionItemResponse; migration adds the
  nullable FK column (ON DELETE SET NULL) + partial index
- My Notes card: inline edit of a note's text and tag (PUT quick-notes/{id})

Backend: 1634 tests pass. Frontend: 1338 tests pass.
Bring the /quick-notes manager inbox to parity with My Notes:
- QuickNoteCard renders a tag chip and gains an inline edit mode
  (text + tag) via a new optional onEdit callback
- QuickNoteList threads onEdit; the page wires it to PUT quick-notes/{id}

Frontend-only (the update endpoint already supported text + tag).
Frontend: 1346 tests pass.
@hechi
hechi merged commit 881f5cb into main Oct 20, 2026
9 checks passed
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.

1 participant