mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-14 11:37:31 +08:00
Wiki page classification was only profile-aware in the main ingest pipeline. Transformation outputs hard-coded "synthesis", agent-created pages were left untyped, and the frontend hard-coded the built-in ten types for ordering, colouring and labels — so custom/synthesis types sank to the bottom, rendered grey and showed raw keys. Backend: - Add nullable target_page_type column to mate_wiki_transformation (V142, mysql + h2) plus the entity field and CRUD normalization (blank = use profile fallbackType; membership validated at save time, not edit time). - Route transformation single-run + KB-aggregate page saves through WikiPageTypeProfileService.normalizePageType so output joins the KB classification; agent wiki_create_page now lands on the profile fallbackType instead of an untyped page. Frontend: - Load + parse the KB pageType profile into the wiki store (order, labels, fallbackType) on KB select / refresh. - New useWikiPageType composable: profile-driven label (3-tier fallback) and colour (built-in fixed + deterministic hash palette for custom types). - Sidebar grouping order, graph colouring, node panel, graph filter and the page header badge now follow the profile; transformation editor gains a target-type dropdown sourced from the profile when output target is a page. Refs #292 |
||
|---|---|---|
| .. | ||
| CitationDrawer.vue | ||
| HotCachePanel.vue | ||
| ImageLightbox.vue | ||
| JobStageBar.vue | ||
| PageHeader.vue | ||
| RawMaterialPanel.vue | ||
| RelatedPagesPanel.vue | ||
| TransformationsPanel.vue | ||
| WikiAdvancedPanel.vue | ||
| WikiBrokenLinksBanner.vue | ||
| WikiBrokenLinksPanel.vue | ||
| WikiConfig.vue | ||
| WikiConfigModels.vue | ||
| WikiConfigRules.vue | ||
| WikiGraphNodePanel.vue | ||
| WikiGraphToolbar.vue | ||
| WikiGraphView.vue | ||
| WikiKBCard.vue | ||
| WikiLibrary.vue | ||
| WikiModelPicker.vue | ||
| WikiPageSidebar.vue | ||
| WikiPageViewer.vue | ||
| WikiSearchPreview.vue | ||
| WikiWorkspace.vue | ||
| WikiWorkspaceHeader.vue | ||