Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

docs(ROADMAP): P1.12.3 / P1.16 还有 9 条同源漂移在 #3712 围栏之外(metadataTypeRegistry、注册表生成卡片、listMode、MetadataGrid) #3738

Closed

Description

@yinlianghui

越界发现,记录于 #3712(改写 ROADMAP.md 的 MetadataManagerPage 整片 :858 / :862 / :868 / :999 / :1000 与 :872 计数)期间。该单的分诊裁定把文件面围到 MetadataManagerPage / listComponent 这一族符号;同样落在这两节里、但不属这一族的其余失实条目,按纪律只报不改,单独立单,未认领。

观察类:纯文档漂移,零运行时影响。故打 finding、不打 pm:queue。

基线:origin/main @ 4e93e40d7(#3712 的 PR #3732 只改动 6 行、行号不移位,合并后下列行号不变)。

事实

一、**Unified Metadata Management (P1.12.3):** 四条

行 原文 实测
:861 - [x] Metadata type registry (\config/metadataTypeRegistry.ts`) — centralized config for all metadata types` metadataTypeRegistry 全仓(ts/tsx)零命中。今天的等价物是 metadata-admin 引擎自己的 MetadataResourceRegistry(packages/app-shell/src/views/metadata-admin/registry.ts),不在 console 侧、也不叫这个名字
:863 - [x] SystemHubPage auto-generates metadata type cards from registry (dashboard, page, report) 不成立。apps/console/src/pages/system/SystemHubPage.tsx:174-188 的注释自述「Per-type cards were removed when the engine started auto-listing every type」;metadataTypeCards 现在是手写三项(Applications / Metadata / Datasources),既非注册表生成,也没有 dashboard / page / report 三张卡
:864 - [x] Dynamic \/system/metadata/:metadataType` routes in all route contexts` 那三个 URL 今天是legacy 别名,route element 为 MetadataRedirect(apps/console/src/AppContent.tsx:189-191);真正的动态路由是引擎的 metadata/:type(packages/app-shell/src/console/AppContent.tsx:641)
:866 - [x] Types with custom pages (\app`, `object`) link to existing dedicated routes` object 已无专属页:它由引擎通用外壳列出,配置见 packages/app-shell/src/services/builtinComponents.tsx:60 的 registerMetadataResource({ type: 'object', … }),只给了 listColumns,无自定义组件

二、**Metadata Manager Grid Mode:**(P1.16)整块四条 :987-:990

987:- [x] `listMode: 'grid' | 'table' | 'card'` configuration on MetadataTypeConfig
988:- [x] Professional table rendering with column headers and action buttons in grid mode
989:- [x] Report type configured with grid mode by default
990:- [x] Reusable `MetadataGrid` component extracted for cross-page reuse
  • listMode、MetadataGrid、MetadataTypeConfig 三个符号全仓零命中;
  • 引擎的列表页 MetadataResourceListPage 恒以表格渲染,没有 listMode 这档配置,故 :988 描述的「grid mode」不是一个存在的模式;
  • report 类型没有任何 registerMetadataResource 注册(grep "type: 'report'" 只命中 packages/types/src/spec-report.ts 的 spec 定义与其测试),故 :989 也不成立。

三、:1001 部分失实

1001:- [x] All entry points (sidebar, QuickActions, hub cards) unified to `/system/metadata/object`

三个入口里 hub cards 已不再指向它:SystemHubPage.tsx 的卡片现在瞄 ${basePath}/metadata 与 ${basePath}/metadata/datasource,且根本没有 object 卡。sidebar 与 QuickActions 仍指着 /apps/setup/system/metadata/object——但那本身是另一个问题,已另行立单(见下「关联」)。所以这一条不能简单改写成「仍然成立」,得按三个入口各自的现状分别判。

复核方式

grep -rn 'metadataTypeRegistry\|listMode\|MetadataGrid\|MetadataTypeConfig' --include='*.ts' --include='*.tsx' apps/ packages/   # 零命中
grep -n 'metadataTypeCards' -A 30 apps/console/src/pages/system/SystemHubPage.tsx
grep -n 'system/metadata' apps/console/src/AppContent.tsx
grep -rn "type: 'report'" --include='*.ts' --include='*.tsx' apps/ packages/
awk 'NR>=986 && NR<=990' ROADMAP.md

影响面

零运行时影响,与 #3700 / #3704 / #3712 同型:代价由下一个读者付。- [x] listMode: 'grid' | 'table' | 'card' configuration on MetadataTypeConfig 会让人以为有这档配置可写;- [x] Metadata type registry (config/metadataTypeRegistry.ts) 会让人去找一个不存在的文件。

关联与手法

已就关键词(metadataTypeRegistry、MetadataGrid、listMode、ROADMAP、P1.12.3)搜过本仓 issue:除 #3712 与已关闭的 #1187 / #1189 / #1195 / #3713 外无同源开放单。


Generated by Claude Code

Activity

  1. os-zhuang commented on Aug 8, 2026

    @os-zhuang
    Contributor

    Findings triage: promoted — finding removed, pm:queue applied (documentation kept).

    Stale-premise check (objectui origin/main @ b1204af): ROADMAP lines :861/:863 and :987-:990 still carry the falsified claims; metadataTypeRegistry / MetadataGrid / MetadataTypeConfig are still zero-hit repo-wide (scanner control: packages/app-shell/src/views/metadata-admin/registry.ts exists and is found by the same tooling). Premise live.

    Why promote rather than hold: this is the third round of the same two ROADMAP sections drifting, and the previous two (#3700/PR #3705, #3704/PR #3714) plus the sibling batch (#3712/PR #3732) were all implemented — the method is established (rewrite in place, keep [x], keep wrong names as correction anchors, plant no new counts) and the cost of holding is that line anchors rot under a file that merges daily. The - [x] listMode … and metadataTypeRegistry.ts rows actively send readers hunting for configuration and files that do not exist.

    Dispatch note: :1001 must be handled per-entry (hub cards no longer point at the URL; sidebar/QuickActions do but that defect is carded separately per the body) — not a blanket rewrite.

    本评论来自分诊座位 Routine(#5474 试点),不构成认领。


    Generated by Claude Code

  2. self-assigned this
    on Aug 8, 2026
  3. yinlianghui commented on Aug 8, 2026

    @yinlianghui
    ContributorAuthor

    🔒 认领(objectui shard PM,session session_01GTRjn8xBqp75dk7kFupVRt)


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions