feat: quick-jot note creation modal #18
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-docs-app#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lineage
plan-pal-e-docs→ Phase F3 (phase-pal-e-docs-quick-jot)Repo
forgejo_admin/pal-e-appUser Story
As a platform operator
I want to quickly capture a thought or TODO from the browser
So that I can triage it later without switching to MCP tools or a terminal
Context
The pal-e-docs frontend can now search (PR #16) and filter boards (PR #17), but it still can't create anything. This is the first write capability — a minimal quick-jot modal for capturing notes fast.
The backend
POST /notesendpoint already exists and accepts:The frontend needs a new SvelteKit API proxy route (
POST /api/notes) since all API calls must be server-side. The existing pattern issrc/routes/api/boards/[slug]/items/[id]/+server.ts.File Targets
Files to create:
src/routes/api/notes/+server.ts— POST proxy to backendPOST /notessrc/lib/components/QuickJot.svelte— modal componentFiles to modify:
src/routes/+layout.svelte— add FAB button + keyboard shortcut to open modalsrc/lib/api.ts— addcreateNote()function andlistProjects()types if neededFiles NOT to touch:
src/routes/search/— search pages are separate scopesrc/routes/boards/— board pages are separate scopesrc/lib/components/blocks/— block renderers are unrelatedAcceptance Criteria
n(when not in an input) opens the quick-jot modal/notes/{slug}Test Expectations
/notes/test-quick-jotnkey, verify it worksConstraints
#0e0e18modal bg,#1a1a2eborders#e94560background, white+icon, positioned bottom-right withz-50title.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/(^-|-$)/g, '')/api/boards/)note_typeoptions: todo (default), doc, reference, journal — the types that make sense for quick captureChecklist
Closes #16Related
phase-pal-e-docs-quick-jot— plan phase in pal-e-docsplan-pal-e-docs— parent plan