feat(share): allow creating share links from media view with quick share dialog (#548)

* feat(share): allow creating share links from media view with quick share dialog

* fix(share): prevent horizontal overflow in quick share dialog
This commit is contained in:
Yiling-J
2026-11-24 19:39:06 +08:00
committed by GitHub
parent dc9adcf9ac
commit 9c8eb16259
24 changed files with 1457 additions and 266 deletions
+5 -1
View File
@@ -1,5 +1,5 @@
import { create } from 'zustand'
import type { AncestorFolder } from '@shumai/dtos'
import type { AncestorFolder, ShareLinkInfo } from '@shumai/dtos'
export interface TopNavProjectState {
teamId: string
@@ -46,6 +46,10 @@ export interface TopNavProjectState {
onDelete?: () => void
onArchive?: () => void
onRestoreArchive?: () => void
shareLinks?: ShareLinkInfo[]
onCreateShareLink?: () => void
onAddToShareLink?: (shareId: string) => void
isShareActionPending?: boolean
isRightSidebarCollapsed?: boolean
onRightSidebarToggle?: () => void
// Compare Versions