app-visualizer: cleanup testing code

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-02-12 13:52:18 +01:00
parent 4449136abd
commit 4b43482f9e
-37
View File
@@ -31,45 +31,9 @@ const appVisualizerPage = PageBlueprint.make({
path: '/visualizer',
routeRef: rootRouteRef,
title: 'Visualizer',
// loader: async () => <div>The root page</div>,
},
});
const appVisualizerPage2 = PageBlueprint.make({
name: '2',
params: {
path: '/visualizer/something-else',
routeRef: createRouteRef(),
title: 'something else',
loader: async () => <div>The root sdsd</div>,
},
});
/*
// inputs:
// pages: [explicitly subrouteref as a data type + element + path]
const rootPage = TabbedPageBlueprint.make({
params: {
path: '/visualizer',
routeRef: rootRouteRef,
actions: [
]
subpages: [
]
}
})
const treePageThing = PluginContentTopBarNavigableContentBlueprint.make({
attachTo: {
}
params: {
routeRef: treeSubRouteRef,
loader: () => null,
}
})
*/
const treeRouteRef = createRouteRef();
const detailedRouteRef = createRouteRef();
const textRouteRef = createRouteRef();
@@ -138,7 +102,6 @@ export const visualizerPlugin = createFrontendPlugin({
info: { packageJson: () => import('../package.json') },
extensions: [
appVisualizerPage,
appVisualizerPage2,
appVisualizerTreePage,
appVisualizerDetailedPage,
appVisualizerTextPage,