mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
feat: enhance ComposerAction with file upload functionality and replace Popover with DropdownMenu for improved user experience
This commit is contained in:
parent
4cca366e11
commit
904c5d8807
2 changed files with 53 additions and 34 deletions
|
|
@ -177,7 +177,7 @@ export function DocumentsSidebar({ open, onOpenChange, isDocked = false, onDocke
|
|||
<span className="sr-only">{tSidebar("close") || "Close"}</span>
|
||||
</Button>
|
||||
)}
|
||||
<h2 className="text-lg font-semibold">{t("title") || "Documents"}</h2>
|
||||
<h2 className="select-none text-lg font-semibold">{t("title") || "Documents"}</h2>
|
||||
</div>
|
||||
<div className="flex items-center gap-1">
|
||||
{!isMobile && onDockedChange && (
|
||||
|
|
@ -214,7 +214,7 @@ export function DocumentsSidebar({ open, onOpenChange, isDocked = false, onDocke
|
|||
</div>
|
||||
|
||||
{/* Connected tools strip */}
|
||||
<div className="shrink-0 mx-4 mb-3 flex items-center gap-2 rounded-lg border bg-muted/50 px-3 py-2">
|
||||
<div className="shrink-0 mx-4 mb-3 flex select-none items-center gap-2 rounded-lg border bg-muted/50 px-3 py-2">
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setConnectorDialogOpen(true)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue