Repository navigation
feat(notes): templates, and a copy of any note - #509
Merged
Merged
Conversation
Notes inside a namespace's Templates note are templates. New note from a template… on
the Notes page and in Jump to lists them (type to find, Enter takes the first) and
starts a note with the template's title, text, drawings, files, filing and view; with
none yet it makes the Templates note. The tree's menu makes a copy of any note beside it.
GET/POST /notes/templates and POST /notes/{pid}/copy.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RrY2byt5BHVeBXJUyfwWpb
This was referenced Oct 17, 2026
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.
Requested by Adeel · project thread
Description
Before: every note started blank, and there was no way to copy a note.
After: notes inside a namespace's Templates note are templates. New note from a template… on the Notes page and in Jump to lists them (type to find, Enter takes the first) and starts a note with the template's title, text, drawings, files, filing and view. With no templates yet, it makes the Templates note and opens it. Any note's menu in the tree can Make a copy, which lands beside it and opens.
How:
notebook.templates_root/templates/copyin the domain,GET/POST /notes/templatesandPOST /notes/{id}/copyin the API, andcomponents/notes/templates.tsxin the web app. The README's built list anddocs/requirements.mdnow name the checks for templates and for the Markdown download merged in #419 (which leaves In progress).Motivation and Context
Adeel: "notes ui is very bad and is missing tons of things". Templates and copies are the next gaps from the audit against other notes apps, after the tree menu (#412), pins (#414), today's note (#416) and Markdown export (#419).
Steps to reproduce (if appropriate):
Types of changes
!in the title)Checklist:
make hookschecks it on commit).docs/accordingly.## UnreleasedinCHANGELOG.md.Done questions (AGENTS.md)
GET/POST /notes/templatesandPOST /notes/{id}/copyin the API..envedit or manual step.docs/requirements.mdname the checks.make openapi).Local CI (
ci/local-ci.sh): backend (embedded and server SurrealDB), Next.js, pre-commit and title pass.Generated by Claude Code