feat: add board to NoteType — foundation for kanban unification #201

Merged
forgejo_admin merged 1 commit from 195-add-board-note-type into main 2026-03-24 17:12:27 +00:00

Summary

Add "board" as a valid note_type with statuses ["active", "archived"]. This is the foundational 1-point change that enables boards to be represented as notes, unifying the kanban data model with the existing note system.

Changes

  • src/pal_e_docs/schemas.py — Added "board" to the NoteType Literal (now 17 types)
  • src/pal_e_docs/routes/notes.py — Added "board": ["active", "archived"] to VALID_STATUSES dict
  • tests/test_note_type_enum.py — Added "board" to NEW_TYPES list (covers create + update parametrized tests) and added test_board_valid_status for status validation

Test Plan

  • All 30 note type enum tests pass (including 2 new board-specific tests)
  • Full suite: 639/639 tests pass
  • ruff format and ruff check clean
  • Forgejo issue: #195
## Summary Add "board" as a valid `note_type` with statuses `["active", "archived"]`. This is the foundational 1-point change that enables boards to be represented as notes, unifying the kanban data model with the existing note system. ## Changes - `src/pal_e_docs/schemas.py` — Added `"board"` to the `NoteType` Literal (now 17 types) - `src/pal_e_docs/routes/notes.py` — Added `"board": ["active", "archived"]` to `VALID_STATUSES` dict - `tests/test_note_type_enum.py` — Added `"board"` to `NEW_TYPES` list (covers create + update parametrized tests) and added `test_board_valid_status` for status validation ## Test Plan - All 30 note type enum tests pass (including 2 new board-specific tests) - Full suite: 639/639 tests pass - `ruff format` and `ruff check` clean ## Related - Forgejo issue: #195
feat: add board to NoteType — foundation for kanban unification
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
f27e8944f1
Add "board" as a valid note_type with statuses ["active", "archived"].
This enables boards to be represented as notes, unifying the data model
for kanban boards with the existing note system.

Closes #195

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
forgejo_admin deleted branch 195-add-board-note-type 2026-03-24 17:12:27 +00:00
Sign in to join this conversation.
No description provided.