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:
@@ -12,6 +12,7 @@ interface Props {
|
||||
onLogout: () => void;
|
||||
onSync: () => void;
|
||||
onAdmin: () => void;
|
||||
onImmich: () => void;
|
||||
onClose: () => void;
|
||||
}
|
||||
|
||||
@@ -32,6 +33,7 @@ export default function CloudPanel({
|
||||
onLogout,
|
||||
onSync,
|
||||
onAdmin,
|
||||
onImmich,
|
||||
onClose,
|
||||
}: Props) {
|
||||
const [mode, setMode] = useState<'signin' | 'signup'>('signin');
|
||||
@@ -121,6 +123,14 @@ export default function CloudPanel({
|
||||
Administration
|
||||
</button>
|
||||
)}
|
||||
<button
|
||||
className="btn ghost"
|
||||
onClick={onImmich}
|
||||
disabled={busy}
|
||||
title="Optional: sync albums with your own Immich server"
|
||||
>
|
||||
Immich sync
|
||||
</button>
|
||||
</div>
|
||||
{note && <div className="banner ok">{note}</div>}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user