Port: note detail page from playground #71
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#71
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?
Type
Feature
Lineage
Depends on #68 (CSS + sidebar foundation). Part of SvelteKit port pipeline.
Repo
forgejo_admin/pal-e-appUser Story
As a reader, I want rich note rendering with all block types, so I can read documentation with proper formatting.
Context
Port
~/pal-e-docs-playground/note.htmltosrc/routes/notes/[slug]/+page.svelte. This is the kitchen-sink renderer — headings, code blocks, tables, lists, mermaid diagrams. The existingNoteLayout.sveltecomponent handles block rendering and type-colored styling. Data fetching uses client-sideonMount, not SvelteKit load functions. The existing+page.tsin this route is SSR config only (ssr = false), not a data fetcher.File Targets
src/routes/notes/[slug]/+page.svelte— note detail matching playground note.html layoutsrc/lib/components/NoteLayout.svelte— existing layout component (may need restyle)Acceptance Criteria
/boards/[slug])Test Expectations
cd ~/pal-e-app && npm run buildConstraints
Checklist
Related
forgejo_admin/pal-e-app#68— foundation (dependency)board-pal-e-docs— project boardScope Review: NEEDS_REFINEMENT
Review note:
review-473-2026-03-27Three issues found:
src/routes/notes/[slug]/+page.tsdoes not exist — app uses client-side fetching viaonMount. Remove from file targets.NoteLayout.svelteat$lib/components/NoteLayout.sveltewith block components in$lib/components/blocks/. "BlockRenderer" does not exist.note_type === 'board'redirect to/boards/{slug}.Issue body updated per scope review corrections.