From f3eeb4f8a641b52be2e6b4b1c2944bda2e70766a Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Thu, 8 Jan 2026 20:13:30 +0000
Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20loading=20state?=
=?UTF-8?q?=20to=20Generate=20button?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
💡 What: Replaced the full-screen loading overlay with a spinner inside the "Generate Poster" button. The button is now disabled during poster generation.
🎯 Why: The previous full-screen overlay was disruptive and obscured the UI. This change provides a more subtle and contextual loading indicator, improving the user experience by giving feedback directly at the point of interaction without interrupting the user's flow.
♿ Accessibility: The button is now programmatically disabled during the loading state, which prevents multiple clicks and provides a clear state for assistive technologies.
---
web_app/static/index.html | 5 ++++-
web_app/static/script.js | 24 ++++++++++++++++++------
web_app/static/style.css | 31 ++++++++++++++++++++++++++++++-
3 files changed, 52 insertions(+), 8 deletions(-)
diff --git a/web_app/static/index.html b/web_app/static/index.html
index 0d56371..802e1f3 100644
--- a/web_app/static/index.html
+++ b/web_app/static/index.html
@@ -116,7 +116,10 @@