Repository navigation
Feat/my notes inbox redesign - #5
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)