Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

address review (codex): block Generate while a headshot upload is pending

[._.]/ Adam Eivy24329b1fec98
diff --git a/client/src/pages/Authors.jsx b/client/src/pages/Authors.jsx
index 2069653550..e1711acb77 100644
--- a/client/src/pages/Authors.jsx
+++ b/client/src/pages/Authors.jsx
@@ -105,7 +105,7 @@ export default function Authors() {
}, [genJobId, gen.status, gen.filename, gen.path, gen.error]);
const handleGenerateHeadshot = async () => {
- if (isGenerating) return;
+ if (isGenerating || uploadingHeadshot) return;
if (!form.physicalDescription.trim() && !form.headshotStyle.trim()) {
toast.error('Add a physical description or headshot style to generate from');
return;
@@ -392,7 +392,7 @@ export default function Authors() {
<button
type="button"
onClick={handleGenerateHeadshot}
- disabled={isGenerating || !canGenerate}
+ disabled={isGenerating || uploadingHeadshot || !canGenerate}
title={canGenerate
? 'Generate a headshot from the description + style'
: 'Add a physical description or headshot style first'}