Archived
三面拆分⑨:台账动态位入运营,数据域瘦身为纯定义面
设计侧只见结构(列/主键),运营侧按域列行数与行浏览 —— 改 schema 与查行数据 是两种心智,摞一屏行数会把结构挤到看不见。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KeDBx2PHLavbURXB8LJJ7m
This commit is contained in:
@@ -16,7 +16,6 @@ import type { Session } from '@contracts';
|
||||
import { logoutRoute, sessionRoute } from '@contracts';
|
||||
import { call } from '@web-shared/typed-fetch.ts';
|
||||
import { Ico } from '@web-shared/Ico.tsx';
|
||||
import { Note } from '@web-shared/gov/primitives.tsx';
|
||||
import { TABS, ZM, ZONES, routeLabel } from '@web-shared/gov/gov-route.ts';
|
||||
import type { GovZone, Nav, Route } from '@web-shared/gov/gov-route.ts';
|
||||
import { SURFACE_META, SURFACE_ZONES, canSeeSurface } from '@web-shared/gov/surfaces.ts';
|
||||
@@ -30,7 +29,7 @@ import { EdgesPage, PkgPage, WorkflowsHome } from '@features/gov-process';
|
||||
import { TriggerPage } from '@features/gov-trigger';
|
||||
import { ActPage, LibraryHome } from '@features/gov-activity';
|
||||
import { ToolPage, ToolsHome } from '@features/gov-tool';
|
||||
import { DataHome, ObjPage } from '@features/gov-data';
|
||||
import { DataHome, LedgersHome, ObjPage } from '@features/gov-data';
|
||||
import { CockpitHome, KnowledgeHome, MemPage } from '@features/gov-memory';
|
||||
import { ChanPage, LlmPage, SystemHome } from '@features/gov-system';
|
||||
|
||||
@@ -318,11 +317,6 @@ function LedgerRail({
|
||||
);
|
||||
}
|
||||
|
||||
/** 台账 —— Task 10 接真;导航项已随数据域长出来了,内容随后 */
|
||||
function LedgersPlaceholder() {
|
||||
return <Note>这里将按域列出全部台账对象、行数据与版本。域的结构在设计中心 · 数据域维护。</Note>;
|
||||
}
|
||||
|
||||
function ZoneHome({ zone, tab, nav }: { zone: GovZone; tab: string; nav: Nav }) {
|
||||
const P = {
|
||||
// 设计中心
|
||||
@@ -335,7 +329,7 @@ function ZoneHome({ zone, tab, nav }: { zone: GovZone; tab: string; nav: Nav })
|
||||
cockpit: CockpitHome,
|
||||
tasks: TasksHome,
|
||||
people: PeopleHome,
|
||||
ledgers: LedgersPlaceholder,
|
||||
ledgers: LedgersHome,
|
||||
knowledge: KnowledgeHome,
|
||||
system: SystemHome,
|
||||
}[zone];
|
||||
|
||||
Reference in New Issue
Block a user