Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions manifest.webapp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@
"description": "Required by the cozy-bar to display the avatar",
"type": "io.cozy.contacts",
"verbs": ["GET"]
},
"chatConversations": {
"description": "Required by the cozy Assistant",
"type": "io.cozy.ai.chat.conversations",
"verbs": ["GET", "POST"]
},
"chatEvents": {
"description": "Required by the cozy Assistant",
"type": "io.cozy.ai.chat.events",
"verbs": ["GET"]
}
},
"mobile": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/AppLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { BarComponent } from 'cozy-bar'
const AppLayout = () => {
return (
<>
<BarComponent searchOptions={{ enabled: false }} />
<BarComponent />
<Outlet />
</>
)
Expand Down
3 changes: 3 additions & 0 deletions src/components/AppRouter.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from 'react'
import { HashRouter, Routes, Route, Outlet } from 'react-router-dom'

import { BarRoutes } from 'cozy-bar'

import App from '@/components/App'
import AppLayout from '@/components/AppLayout'

Expand All @@ -17,6 +19,7 @@ const AppRouter = () => {
<Routes>
<Route element={<AppLayout />}>
<Route path="/" element={<OutletWrapper Component={App} />}>
{BarRoutes.map(BarRoute => BarRoute)}
<Route path="bridge/*" />
</Route>
</Route>
Expand Down
Loading