gstack/design
Garry Tan 8825332d04
fix: null-safe DOM selectors for post-submit and regenerating states
The user's layout restructure renamed .regenerate-bar → .regen-column,
.submit-bar → .submit-column, and .overall-section → .bottom-section.
The JS still referenced the old class names, causing querySelector to
return null and showPostSubmitState() / showRegeneratingState() to
silently crash. This meant Submit and Regenerate buttons appeared to
work (DOM elements updated, HTTP POST succeeded) but the visual
feedback (disabled inputs, spinner, success message) never appeared.

Fix: use fallback selectors that check both old and new class names,
with null guards so a missing element doesn't crash the function.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 09:59:50 -06:00
..
src fix: null-safe DOM selectors for post-submit and regenerating states 2026-03-27 09:59:50 -06:00
test fix: write ALL feedback to disk so agent can poll in background mode 2026-03-27 09:52:46 -06:00
prototype.ts feat: design tools prototype validation — GPT Image API works 2026-03-26 21:52:12 -06:00