Add the optional Immich integration and manual gallery push
Immich connections stay server-side with an encrypted API key, albums can be imported, and photos are only sent back when an event's push button is pressed: originals upload once, edited photos re-render, and edits hashes plus checksums skip anything already in Immich. This also lands the accompanying editor, cloud and administration work that was still uncommitted. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
@@ -15,6 +15,8 @@ interface Props {
|
||||
onBulkRate: (rating: number) => void;
|
||||
onBulkFlag: (flag: Flag) => void;
|
||||
onBulkColor: (color: ColorLabel) => void;
|
||||
onSendToImmich?: () => void;
|
||||
immichBusy?: boolean;
|
||||
onDelete: () => void;
|
||||
onExport: () => void;
|
||||
onCompare: () => void;
|
||||
@@ -51,6 +53,8 @@ export default function LibraryGrid({
|
||||
onBulkRate,
|
||||
onBulkFlag,
|
||||
onBulkColor,
|
||||
onSendToImmich,
|
||||
immichBusy = false,
|
||||
onDelete,
|
||||
onExport,
|
||||
onCompare,
|
||||
@@ -277,6 +281,16 @@ export default function LibraryGrid({
|
||||
<button className="btn ghost small" onClick={onMerge} disabled={selected.length < 2}>
|
||||
Merge
|
||||
</button>
|
||||
{onSendToImmich && (
|
||||
<button
|
||||
className="btn ghost small"
|
||||
onClick={onSendToImmich}
|
||||
disabled={immichBusy}
|
||||
title="Send rendered edits for this selection to Immich"
|
||||
>
|
||||
Send to Immich
|
||||
</button>
|
||||
)}
|
||||
<button className="btn ghost small" onClick={onExport}>
|
||||
Export
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user