[improvement][headless-fe] Revamped the interaction for semantic modeling routing and successfully implemented the switching between dimension and dataset management.

This commit is contained in:
tristanliu
2024-11-30 17:55:50 +08:00
parent b4669cf110
commit 66ed711416
24 changed files with 1106 additions and 541 deletions

View File

@@ -95,6 +95,12 @@ const ROUTES = [
path: '/model/dataset/:domainId/:datasetId',
component: './SemanticModel/View/components/Detail',
envEnableList: [ENV_KEY.SEMANTIC],
routes: [
{
path: '/model/dataset/:domainId/:datasetId/:menuKey',
component: './SemanticModel/View/components/Detail',
},
],
},
{
path: '/model/metric/:domainId/:modelId/:metricId',
@@ -107,6 +113,17 @@ const ROUTES = [
// },
// ],
},
{
path: '/model/dimension/:domainId/:modelId/:dimensionId',
component: './SemanticModel/Dimension/Detail',
envEnableList: [ENV_KEY.SEMANTIC],
// routes: [
// {
// path: '/model/manager/:domainId/:modelId/:menuKey',
// component: './SemanticModel/ModelManager',
// },
// ],
},
],
},