From cb5990e9933fb27d8d1d4398596a45c3d6a0ba32 Mon Sep 17 00:00:00 2001
From: "google-labs-jules[bot]"
<161369871+google-labs-jules[bot]@users.noreply.github.com>
Date: Tue, 20 Jan 2026 20:37:39 +0000
Subject: [PATCH] feat(ui): Add loading spinner to Generate Poster button
Replaces the full-screen loading overlay with a less intrusive, inline spinner within the "Generate Poster" button.
This provides a more modern and responsive user experience by giving immediate, contextual feedback without blocking the entire UI.
- Modified `index.html` to add elements for the spinner.
- Updated `style.css` with styles for the loading state and a new `btn-spin` animation.
- Refactored `script.js` to manage the button's loading state.
---
web_app/static/index.html | 5 +++-
web_app/static/script.js | 18 ++++++++++----
web_app/static/style.css | 51 ++++++++++++++++++++++++++++++++++++++-
3 files changed, 67 insertions(+), 7 deletions(-)
diff --git a/web_app/static/index.html b/web_app/static/index.html
index 0d56371..6ad94e8 100644
--- a/web_app/static/index.html
+++ b/web_app/static/index.html
@@ -116,7 +116,10 @@