fix(rdata): use outputPaths instead of tabs for single sub-nav bar
Replaced dual-bar layout (subnav + tabbar) with standard outputPaths so rData views (Content Tree, Cloud, Analytics) render in the unified subnav pill bar like all other modules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2b33479f7b
commit
219fd45ad7
|
|
@ -268,9 +268,6 @@ function renderDataPage(space: string, activeTab: string, isSubdomain: boolean)
|
|||
body,
|
||||
scripts,
|
||||
styles: `<link rel="stylesheet" href="/modules/rdata/data.css">`,
|
||||
tabs: [...DATA_TABS],
|
||||
activeTab,
|
||||
tabBasePath: isSubdomain ? `/rdata` : `/${space}/rdata`,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -321,9 +318,10 @@ export const dataModule: RSpaceModule = {
|
|||
description: "Real-time active visitor counts",
|
||||
},
|
||||
],
|
||||
acceptsFeeds: ["data", "economic"],
|
||||
outputPaths: [
|
||||
{ path: "datasets", name: "Datasets", icon: "📊", description: "Collected analytics datasets" },
|
||||
{ path: "dashboards", name: "Dashboards", icon: "📈", description: "Analytics dashboards and reports" },
|
||||
{ path: "tree", name: "Content Tree", icon: "🌳", description: "Hierarchical view of all CRDT documents" },
|
||||
{ path: "cloud", name: "Cloud", icon: "☁️", description: "Tag cloud visualization of content" },
|
||||
{ path: "analytics", name: "Analytics", icon: "📊", description: "Usage metrics and engagement data" },
|
||||
],
|
||||
acceptsFeeds: ["data", "economic"],
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue