feat: render board note html_content above kanban columns #104
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-app#104
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
Discovered while setting up
board-gdocs-daily-mcp-remote. Thetemplate-boardconvention defines User Stories, Architecture, and Acceptance Criteria sections as board note content rendered above the kanban. The app doesn't implement this — board notehtml_contentis completely ignored.Repo
forgejo_admin/pal-e-appUser Story
As a project owner
I want to see the board's user stories, architecture references, and acceptance criteria rendered above the kanban columns
So that the board is a self-contained project hub — context and execution in one view
Context
The
template-boardin pal-e-docs defines sections (User Stories, Architecture, Acceptance Criteria) that live in the board note'shtml_content. Currently:notes/[slug]/+page.svelte:40-42detectsnote_type === 'board'and redirects to/boards/{slug}boards/[slug]/+page.sveltecallsgetBoardWithItems()which fetches board metadata + itemsBoardOutschema (pal_e_docs/schemas.py:274) hasnote_idbut nohtml_contentBoard notes are created with
html_content=""by default (boards.py:254), but the content CAN be populated viaupdate_note. The template-board structure is valid; the app just doesn't fetch or render it.File Targets
Files the agent should modify:
src/pal_e_docs/schemas.py— addhtml_content: str | None = NonetoBoardOutsrc/pal_e_docs/routes/boards.py— populatehtml_contentin_board_to_out()from the board's linked notesrc/lib/api-client.ts(pal-e-app) — addhtml_contenttoBoardinterface, pass throughBoardDetailsrc/routes/boards/[slug]/+page.svelte(pal-e-app) — renderhtml_contentabove the kanban columns using existing NoteContent/block rendererFiles the agent should NOT touch:
src/routes/notes/[slug]/+page.svelte— the board redirect is correct behaviorAcceptance Criteria
html_content, it renders above the kanban columns on/boards/{slug}html_content, the board page looks the same as today (no empty section)Test Expectations
board-gdocs-daily-mcp-remote, verify User Stories + Architecture sections render above kanbanboard-pal-e-platform(empty content), verify no visual regressionConstraints
Checklist
Related
template-board— the spec that defines board note content structureboard-gdocs-daily-mcp-remote— first board with populated content (the test case)project-pal-e-docs— pal-e-docs API changesproject-gdocs-daily-mcp-remote— discovered during this project's setup