add launcher components management page
This commit is contained in:
@@ -70,6 +70,7 @@ import { LauncherBuildPage } from './pages/launcher/LauncherBuildPage';
|
||||
import { LauncherSourcePage } from './pages/launcher/LauncherSourcePage';
|
||||
import { LauncherAppsPage as LauncherAppsApiPage } from './pages/launcher/LauncherAppsPage';
|
||||
import { LauncherCommonSettingsPage as LauncherCommonSettingsApiPage } from './pages/launcher/LauncherCommonSettingsPage';
|
||||
import { LauncherComponentsPage } from './pages/launcher/LauncherComponentsPage';
|
||||
import { LauncherVersionsPage as LauncherVersionsApiPage } from './pages/launcher/LauncherVersionsPage';
|
||||
import {
|
||||
AgentCommandsPage as AgentCommandsRestoredPage,
|
||||
@@ -92,6 +93,7 @@ type ViewKey =
|
||||
| 'launcherSources'
|
||||
| 'launcherBuilds'
|
||||
| 'launcherVersions'
|
||||
| 'launcherComponents'
|
||||
| 'launcherApps'
|
||||
| 'launcherCommonSettings'
|
||||
| 'notices'
|
||||
@@ -123,6 +125,7 @@ type ViewKey =
|
||||
const viewByLabel: Record<string, ViewKey> = {
|
||||
대시보드: 'dashboard',
|
||||
'버전 관리': 'launcherVersions',
|
||||
구성요소: 'launcherComponents',
|
||||
'앱 연결': 'launcherApps',
|
||||
'공통 설정': 'launcherCommonSettings',
|
||||
공지사항: 'notices',
|
||||
@@ -157,6 +160,7 @@ const pathByView: Record<ViewKey, string> = {
|
||||
launcherSources: '/launcher/sources',
|
||||
launcherBuilds: '/launcher/builds',
|
||||
launcherVersions: '/launcher/versions',
|
||||
launcherComponents: '/launcher/components',
|
||||
launcherApps: '/launcher/apps',
|
||||
launcherCommonSettings: '/launcher/common-settings',
|
||||
notices: '/operations/notices',
|
||||
@@ -3349,6 +3353,8 @@ function App() {
|
||||
switch (activeView) {
|
||||
case 'launcherVersions':
|
||||
return <LauncherVersionsApiPage />;
|
||||
case 'launcherComponents':
|
||||
return <LauncherComponentsPage />;
|
||||
case 'launcherSources':
|
||||
return <LauncherSourcePage />;
|
||||
case 'launcherBuilds':
|
||||
|
||||
Reference in New Issue
Block a user