Added extensive add to in context menu

This commit is contained in:
patben8 committed 2026-09-25 10:32:01 +02:00
1 parent 07e85cfdc9
commit 5909c704f4
6 files changed
+181 -181

No files matched your search

+9
View File
@@ -2,6 +2,8 @@ interface Props {
showing: number
total: number
sourceName: string
/** Rows currently selected; shown only when non-zero. */
selected?: number
loading?: boolean
collectionName?: string | null
onChangeCollection?: () => void
@@ -11,6 +13,7 @@ export function StatusBar({
showing,
total,
sourceName,
selected = 0,
loading,
collectionName,
onChangeCollection,
@@ -32,6 +35,12 @@ export function StatusBar({
)}
</span>
)}
{selected > 0 && (
<>
<span className="text-faint">·</span>
<span className="tabular-nums text-accent">{selected.toLocaleString()} selected</span>
</>
)}
{collectionName && (
<button
onClick={onChangeCollection}