mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
Add alpha UI routes for marketplace, peers, and channels
- Import MarketplaceView, PeersView, and ChannelsView components - Add routes for /marketplace, /peers, and /channels - Update sidebar navigation to point to correct routes - Add Peers and Channels menu items to sidebar
This commit is contained in:
@@ -50,6 +50,9 @@ import ExtensionsView, { ExtensionsViewOptions } from './components/extensions/E
|
||||
import { Recipe } from './recipe';
|
||||
import RecipesView from './components/recipes/RecipesView';
|
||||
import RecipeEditor from './components/recipes/RecipeEditor';
|
||||
import MarketplaceView from './components/marketplace/MarketplaceView';
|
||||
import PeersView from './components/peers/PeersView';
|
||||
import ChannelsView from './components/channels/ChannelsView';
|
||||
// import BuildView from './components/build/BuildView';
|
||||
// import { CleanFeedView } from './components/feed/CleanFeedView';
|
||||
// import { TestFeed } from './components/feed/TestFeed';
|
||||
@@ -1527,6 +1530,30 @@ export default function App() {
|
||||
</ProviderGuard>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="marketplace"
|
||||
element={
|
||||
<ProviderGuard>
|
||||
<MarketplaceView />
|
||||
</ProviderGuard>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="peers"
|
||||
element={
|
||||
<ProviderGuard>
|
||||
<PeersView />
|
||||
</ProviderGuard>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="channels"
|
||||
element={
|
||||
<ProviderGuard>
|
||||
<ChannelsView />
|
||||
</ProviderGuard>
|
||||
}
|
||||
/>
|
||||
{/* <Route
|
||||
path="build"
|
||||
element={
|
||||
|
||||
@@ -72,11 +72,25 @@ const menuItems: NavigationEntry[] = [
|
||||
},
|
||||
{
|
||||
type: 'item',
|
||||
path: '/schedules',
|
||||
path: '/marketplace',
|
||||
label: 'Marketplace',
|
||||
icon: Clock,
|
||||
tooltip: 'Browse marketplace',
|
||||
},
|
||||
{
|
||||
type: 'item',
|
||||
path: '/peers',
|
||||
label: 'Peers',
|
||||
icon: History,
|
||||
tooltip: 'Connect with peers',
|
||||
},
|
||||
{
|
||||
type: 'item',
|
||||
path: '/channels',
|
||||
label: 'Channels',
|
||||
icon: FileText,
|
||||
tooltip: 'Browse channels',
|
||||
},
|
||||
{
|
||||
type: 'item',
|
||||
path: '/extensions',
|
||||
|
||||
Reference in New Issue
Block a user