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:
Jeff Emmett 2026-04-15 11:46:19 -04:00
parent 2b33479f7b
commit 219fd45ad7
1 changed files with 4 additions and 6 deletions

View File

@ -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"],
};