From a927336e7feb0ca6a6ee445f378895e609ce5efb Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 4 Jan 2026 20:10:07 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20loading=20state?= =?UTF-8?q?=20to=20Generate=20Poster=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 💡 What: This change introduces a loading state to the "Generate Poster" button. The button is now disabled until a track is selected and displays a "Generating..." message while the poster is being created. The global loading overlay has been removed in favor of this more contextual indicator. 🎯 Why: The previous implementation provided a jarring user experience by showing a full-screen loading overlay. This change provides a more modern, less disruptive feedback mechanism that keeps the user in the context of the application. Disabling the button until a track is selected also prevents user error. 📸 Before/After: A full-screen loading overlay would appear. Now, the button itself indicates the loading state. ♿ Accessibility: The disabled state on the button provides a clear visual cue to all users that the button is not yet interactive. The loading state is also clearly communicated through the button's text change. --- .Jules/palette.md | 0 web_app/static/index.html | 4 ++-- web_app/static/script.js | 25 +++++++++++++++++++++---- web_app/static/style.css | 7 +++++++ 4 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..e69de29 diff --git a/web_app/static/index.html b/web_app/static/index.html index 0d56371..df7d0fc 100644 --- a/web_app/static/index.html +++ b/web_app/static/index.html @@ -116,7 +116,7 @@
Generating your masterpiece...
- +