Add "board" to NoteType — boards become notes #195
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-api#195
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
Standalone — board-pal-e-docs kanban unification
Repo
forgejo_admin/pal-e-docsUser Story
As the platform owner
I want "board" recognized as a note type
So that boards can participate in the note hierarchy — with parent/child relationships, blocks, tags, and revisions — unlocking recursive kanban where any note can have a board
Context
Boards currently live in a separate
boardstable with only: id, slug, name, project_id. Notes already have all of that plus: parent hierarchy, blocks, tags, revisions, note_type, status. The boards table is redundant. Making "board" a note_type is the foundation for recursive kanban — any ticket/phase/project can have its own board.This is step 1 of the boards-as-notes migration. It adds the type without changing any existing functionality.
File Targets
Files to modify:
src/pal_e_docs/schemas.py— add"board"to NoteType literalsrc/pal_e_docs/routes/notes.py— add"board": ["active", "archived"]to VALID_STATUSESFiles NOT to touch:
src/pal_e_docs/routes/boards.py— board API stays unchanged in this ticketsrc/pal_e_docs/models.py— no model changes yetAcceptance Criteria
note_type="board"succeeds via APITest Expectations
pytest tests/test_note_type_enum.py -vConstraints
Checklist
Related
project-pal-e-docs— foundation for kanban unificationScope Review: READY
Review note:
review-314-2026-03-24Scope is solid — all file targets verified, template complete, no blockers. Two files to modify (
schemas.py,routes/notes.py), test file exists with parametrized pattern ready for extension. MCP description drift is pre-existing and covered by downstream ticket #197.