mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 14:28:51 +08:00
feat(core): add candidates popover in ai chat-panel (#11178)
Close [BS-2853](https://linear.app/affine-design/issue/BS-2853).
This commit is contained in:
@@ -88,6 +88,9 @@ export const EditorChatPanel = forwardRef(function EditorChatPanel(
|
||||
return docDisplayMetaService.icon$(docId, { type: 'lit' }).value;
|
||||
},
|
||||
getTitle: (docId: string) => {
|
||||
return docDisplayMetaService.title$(docId).value;
|
||||
},
|
||||
getTitleSignal: (docId: string) => {
|
||||
const title$ = docDisplayMetaService.title$(docId);
|
||||
return createSignalFromObservable(title$, '');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user