diff --git a/apps/x/apps/renderer/src/components/editor-toolbar.tsx b/apps/x/apps/renderer/src/components/editor-toolbar.tsx index fff46297..b7397376 100644 --- a/apps/x/apps/renderer/src/components/editor-toolbar.tsx +++ b/apps/x/apps/renderer/src/components/editor-toolbar.tsx @@ -89,6 +89,21 @@ function GoogleDocsIcon({ className }: { className?: string }) { ) } +function GoogleDriveIcon({ className }: { className?: string }) { + return ( + + ) +} + export function EditorToolbar({ editor, onSelectionHighlight, @@ -456,7 +471,7 @@ export function EditorToolbar({ - + Open Google Doc diff --git a/apps/x/apps/renderer/src/components/knowledge-view.tsx b/apps/x/apps/renderer/src/components/knowledge-view.tsx index f4123528..1bc2ceae 100644 --- a/apps/x/apps/renderer/src/components/knowledge-view.tsx +++ b/apps/x/apps/renderer/src/components/knowledge-view.tsx @@ -105,6 +105,21 @@ function latestMtime(node: TreeNode): number { return max } +function GoogleDriveIcon({ className }: { className?: string }) { + return ( + + ) +} + function sortNodes(nodes: TreeNode[]): TreeNode[] { return [...nodes].sort((a, b) => { if (a.kind !== b.kind) return a.kind === 'dir' ? -1 : 1 @@ -208,7 +223,7 @@ export function KnowledgeView({ onClick={() => actions.addGoogleDoc(currentFolder?.path)} className="inline-flex items-center gap-1.5 rounded-lg border border-border bg-background px-3 py-1.5 text-sm text-foreground transition-colors hover:bg-accent" > - + Add Google Doc @@ -774,7 +789,7 @@ function RowContextMenu({ New Note actions.addGoogleDoc(node.path)}> - + Add Google Doc void actions.createFolder(node.path)}>