feat(kb): editor, related links, route-param title (PMC-72) #36

Closed
David wants to merge 0 commits from feat/pmc-72-kb-ui into main
Owner

Summary

Closes PMC-72 (KB UI). PMC-74/PMC-76 closed in audit; PMC-73/PMC-75/PMC-77 land here as one combined commit (same file, intertwined).

  • PMC-73 (KBArticleNewPage): real form with title / category / visibility / Markdown body.
  • PMC-77 (Article detail title): "Article {props.id}" instead of hardcoded heading; Edit hidden per F5.
  • PMC-75 (Related Articles): linkified to Route::KBArticleDetail with slug placeholders.

Test plan

  • cargo check --features web clean
  • /knowledge-base/new renders the editor, not the placeholder text
  • /knowledge-base/articles/foo title reads "Article foo", no Edit button
  • Related-articles items navigate to /knowledge-base/articles/:slug

🤖 Generated with Claude Code

## Summary Closes PMC-72 (KB UI). PMC-74/PMC-76 closed in audit; PMC-73/PMC-75/PMC-77 land here as one combined commit (same file, intertwined). - PMC-73 (KBArticleNewPage): real form with title / category / visibility / Markdown body. - PMC-77 (Article detail title): "Article {props.id}" instead of hardcoded heading; Edit hidden per F5. - PMC-75 (Related Articles): linkified to Route::KBArticleDetail with slug placeholders. ## Test plan - [ ] `cargo check --features web` clean - [ ] /knowledge-base/new renders the editor, not the placeholder text - [ ] /knowledge-base/articles/foo title reads "Article foo", no Edit button - [ ] Related-articles items navigate to /knowledge-base/articles/:slug 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(kb): scaffold article editor, linkify related, route-param title (PMC-73, PMC-75, PMC-77)
Some checks failed
Check / clippy + fmt + tests (pull_request) Failing after 8s
Create release / Create release from merged PR (pull_request) Has been skipped
ae79cac264
KBArticleNewPage was a placeholder. Scaffolds a real editor with title / category / visibility / Markdown body. WYSIWYG is deferred (a comment notes that); submit stubs to navigate until the KB module ships.

KBArticleDetailPage hardcoded a "How to Reset a User's Password" header and the Edit button had no onclick. Switch header to "Article {props.id}" and hide Edit per F5. Related Articles links wired to Route::KBArticleDetail with slug placeholders (real ids land with the KB module).

#PMC-73 State Done
#PMC-75 State Done
#PMC-77 State Done
vas2000-work closed this pull request 2026-05-21 01:21:58 +02:00
Some checks failed
Check / clippy + fmt + tests (pull_request) Failing after 8s
Required
Details
Create release / Create release from merged PR (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!36
No description provided.