Skip to content

feat: start pages from templates and capture quick notes - #45

Merged
AmrMsCLL merged 1 commit into
mainfrom
feat/note-templates
Oct 5, 2026
Merged

AmrMsCLL merged 1 commit into
mainfrom
feat/note-templates

Conversation

@AmrMsCLL

@AmrMsCLL AmrMsCLL commented Oct 5, 2026

Copy link
Copy Markdown
Member

Stacked on #44.

What changes

  • New pages can start from four built-in templates (meeting notes, journal, project brief, recipe), or from any page in the space marked "Use as a template". Template pages are listed separately on the space's pages view.
  • New Quick note dashboard widget (capture): saves the text as a page or saves its first line as a task, in any space you can edit.
  • The search palette gains a Create group: "New page" (in your personal space, then opens it) and "New task".
  • POST /spaces/:id/notes accepts template, fromNoteId or text; the server builds the starting document and search text at creation. PATCH /notes/:id accepts template.

Migration

20261005060000_note_templates:

ALTER TABLE "notes" ADD COLUMN "template" BOOLEAN NOT NULL DEFAULT false;

Contract

  • Dashboard widget types gain capture (server DTO and frontend registry in this PR).

Verification

  • Frontend: test/notes.spec.tsx, test/dashboard.spec.tsx, test/search.spec.tsx (15 passed).
  • Server integration: test/integration/notes.spec.ts, test/integration/dashboards.spec.ts (7 passed).
  • Lint and build pass.

@github-actions github-actions Bot added the size/l 201-600 changed lines, excluding lockfiles label Oct 5, 2026
Base automatically changed from feat/note-links to main October 5, 2026 19:04
@AmrMsCLL
AmrMsCLL force-pushed the feat/note-templates branch from b25b216 to 3405f2e Compare October 5, 2026 19:04
@AmrMsCLL
AmrMsCLL merged commit 6115a25 into main Oct 5, 2026
6 checks passed
@AmrMsCLL
AmrMsCLL deleted the feat/note-templates branch October 5, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/l 201-600 changed lines, excluding lockfiles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant