merge: integrate project settings plugin workspace
# Conflicts: # src/components/layout/MainLayout.tsx # src/pages/ProjectConfiguration/index.tsx
This commit is contained in:
10
src/App.tsx
10
src/App.tsx
@@ -26,14 +26,17 @@ import { subscribeHostEvent } from '@/lib/host-events';
|
||||
import { reportDesktopActivity, type DesktopActivityModule } from '@/lib/host-api';
|
||||
import { installRendererPerformanceDiagnostics } from '@/lib/performance-diagnostics';
|
||||
import { resolveSupportedLanguage } from '../shared/language';
|
||||
import { LegacyPluginRedirect } from './pages/Plugins/legacy-plugin-redirect';
|
||||
import {
|
||||
LegacyPluginRedirect,
|
||||
PluginWorkspaceRedirect,
|
||||
PROJECT_SETTINGS_PLUGINS_PATH,
|
||||
} from './pages/Plugins/legacy-plugin-redirect';
|
||||
|
||||
const Models = lazy(() => import('./pages/Models').then(({ Models: component }) => ({ default: component })));
|
||||
const Chat = lazy(() => import('./pages/Chat').then(({ Chat: component }) => ({ default: component })));
|
||||
const Home = lazy(() => import('./pages/Home').then(({ Home: component }) => ({ default: component })));
|
||||
const PreviewScene = lazy(() => import('./pages/Makelore').then(({ PreviewScene: component }) => ({ default: component })));
|
||||
const ProjectConfiguration = lazy(() => import('./pages/ProjectConfiguration').then(({ ProjectConfiguration: component }) => ({ default: component })));
|
||||
const Plugins = lazy(() => import('./pages/Plugins').then(({ Plugins: component }) => ({ default: component })));
|
||||
const Workbench = lazy(() => import('./pages/Workbench').then(({ Workbench: component }) => ({ default: component })));
|
||||
const ImageCanvas = lazy(() => import('./pages/ImageCanvas').then(({ ImageCanvas: component }) => ({ default: component })));
|
||||
const ImagePromptMuseum = lazy(() => import('./pages/ImagePromptMuseum').then(({ ImagePromptMuseum: component }) => ({ default: component })));
|
||||
@@ -442,7 +445,8 @@ function App() {
|
||||
)}
|
||||
>
|
||||
<Route path="/project-config" element={<ProjectConfiguration />} />
|
||||
<Route path="/plugins" element={<Plugins />} />
|
||||
<Route path={PROJECT_SETTINGS_PLUGINS_PATH} element={<ProjectConfiguration />} />
|
||||
<Route path="/plugins" element={<PluginWorkspaceRedirect />} />
|
||||
<Route path="/plugin-marketplace" element={<LegacyPluginRedirect from="/plugin-marketplace" />} />
|
||||
<Route path="/my-plugins" element={<LegacyPluginRedirect from="/my-plugins" />} />
|
||||
<Route path="/project-plugins" element={<LegacyPluginRedirect from="/project-plugins" />} />
|
||||
|
||||
Reference in New Issue
Block a user