Edit photos by describing the change, on your own GPU. A free, open-source alternative to Nano Banana and ChatGPT image editing: photos stay on your computer, no daily limit. One installer for Windows, Mac and Linux sets up the best open model (Qwen-Image 2.1). MCP server for AI agents.
TypeScript ai-photo-editorcomfyui-alternativegenerative-fillimage-editingimage-generationinpaintinglinuxlocal-aimacosmcpmcp-servernano-banana-alternativeofflinephoto-editorprivacyqwen-imageqwen-image-2-1stable-diffusion-cppvulkanwindows
ui: Settings at the foot of the sidebar, private mode next to the status
Gabriele Lozupone3ec8606bab6b
diff --git a/src/App.tsx b/src/App.tsxindex ed2f124..4812deb 100644--- a/src/App.tsx+++ b/src/App.tsx@@ -389,14 +389,17 @@ export default function App() {<div className="toolbar" data-tauri-drag-region>{!needsSetup && <HistoryButtons />}<UpdatePill />- {!needsSetup && <PrivateToggle />}<StatusIndicator />+ {!needsSetup && <PrivateToggle />}<IconButton title="Shortcuts (?)" onClick={() => setState({ overlay: "shortcuts" })}><CircleHelp size={18} /></IconButton>- <IconButton title="Settings" onClick={() => setState({ overlay: "settings" })}>- <Settings size={18} />- </IconButton>+ {/* Settings lives at the foot of the sidebar; here only while the sidebar is hidden. */}+ {(!sidebar || needsSetup) && (+ <IconButton title="Settings" onClick={() => setState({ overlay: "settings" })}>+ <Settings size={18} />+ </IconButton>+ )}</div><WindowControls /></div>diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsxindex 11140e2..62cbd78 100644--- a/src/components/Sidebar.tsx+++ b/src/components/Sidebar.tsx@@ -1,4 +1,4 @@-import { Check, Images, PanelLeftClose, Pencil, SquarePen, Trash2, X } from "lucide-react";+import { Check, Images, PanelLeftClose, Pencil, Settings, SquarePen, Trash2, X } from "lucide-react";import { useEffect, useState } from "react";import { urls } from "../lib/api";import { timeAgo } from "../lib/logic";@@ -178,6 +178,11 @@ export function Sidebar() {</IconButton></div>)}+ <div className="side-foot">+ <button className={`side-item settings ${overlay === "settings" ? "on" : ""}`} onClick={() => setState({ overlay: "settings" })}>+ <Settings size={18} /> Settings+ </button>+ </div></aside>);}diff --git a/src/styles.css b/src/styles.cssindex 0302500..e2231d3 100644--- a/src/styles.css+++ b/src/styles.css@@ -926,3 +926,7 @@ kbd { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; display.controls .pill .chev, .mode-switch .lbl { display: none; }.controls { gap: 3px; }}++/* Settings, fixed at the foot of the sidebar */+.side-foot { flex: none; padding: 8px 8px 12px; border-top: 1px solid var(--border); }+.side-item.settings { width: 100%; height: 42px; font-size: 14.5px; gap: 11px; }