BACK-473/474/477 - Wiki web UI with file tree navigation, wiki install command#647
Open
kuwork wants to merge 12 commits into
Open
BACK-473/474/477 - Wiki web UI with file tree navigation, wiki install command#647kuwork wants to merge 12 commits into
kuwork wants to merge 12 commits into
Conversation
(cherry picked from commit e1ea342)
Contributor
Author
|
Closing to recreate with clean description |
6477e7d to
d666c6e
Compare
…ted-Word-content (cherry picked from commit c92e3b3)
(cherry picked from commit cdf34a9318650ab731ec0e2755158bd24fc7e914)
(cherry picked from commit 144d9e9)
- Add .codex/skills/llm-wiki-for-backlog/ as the canonical skill source directory (SKILL.md, usermanual-writing-guide.md, merge.py) - Add CRITICAL wikilink format rules: index.md tables must use [[path/to/file]] instead of standard Markdown links [text](path.md) - Include wrong/correct examples for internal wiki page links - Update AGENTS.md wiki guidelines with the same wikilink constraints - Regenerate src/skills/embedded/llm-wiki-for-backlog.ts (3 files embedded)
…elated sections (cherry picked from commit be8994d4715c77ad1f089bfae901de72ecd006c0)
…ning files display the file count on the right.
3ed5d64 to
2693e35
Compare
…based-page-creation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BACK-473 — Add wiki section to web UI with file tree navigation:
eadWikiPage() (secure path resolution with containment check + frontmatter parsing)
BACK-474 — Add backlog wiki install CLI command:
esolveAgent, installWikiSkill, dry-run, force overwrite, symlink handling, and result formatting
BACK-477 — Add wiki online editing, file change monitoring, folder-based page creation, and labels support:
src/file-system/operations.ts: addsaveWikiPage()(writes content/title/labels frontmatter, setsupdated_date),createWikiPage()(creates files withtitle,created_date, optionallabels),createWikiFolder()(pure empty folders),renameWikiItem()(file/folder rename with path traversal checks)src/core/content-store.ts: addcreateWikiWatcher()— recursivefs.watch()onbacklog/wiki/, broadcasts"tasks"notification → WebSocket"tasks-updated"→ live UI refreshsrc/server/index.ts: addPUT /api/wiki/*(update page),POST /api/wiki(create page/folder),PATCH /api/wiki/*(rename item)src/web/lib/api.ts: addupdateWikiPage(),createWikiPage(),createWikiFolder(),renameWikiItem()client methodssrc/web/App.tsx: integratewikiTreeinto global state;loadAllData()fetches wiki tree in parallel with tasks/docs/decisionssrc/web/components/WikiDetail.tsx: inline editing with Edit/Save/Cancel lifecycle; large title input +PasteAwareMDEditor;hasChangestracking (content / title / labels); labels displayed as badges in view mode, editable viaChipInputin edit modesrc/web/components/SideNavigation.tsx: props-driven wiki tree; hover-revealWikiActionDropdownon folders/files/root header; "Create file", "Create folder", "Rename" actions; folder file count; auto-navigation after create/renametitle+created_dateon creation,updated_dateon every save;labelsarray replaces singletypefield for flexible categorization (consistent with task labels)Test plan