From 091979390ad57f908df223d21845a2a8e1992f70 Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Wed, 28 Jan 2026 13:20:10 -0500 Subject: [PATCH] Add error handling and loading state to instructions modal --- public/index.html | 55 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 49 insertions(+), 6 deletions(-) diff --git a/public/index.html b/public/index.html index 942adad..04b425e 100644 --- a/public/index.html +++ b/public/index.html @@ -370,6 +370,22 @@ border-color: #ff9800; } + .modal-error { + display: none; + padding: 12px; + margin-top: 12px; + background: rgba(244, 67, 54, 0.1); + border: 1px solid #f44336; + border-radius: 6px; + color: #f44336; + font-size: 14px; + line-height: 1.5; + } + + .modal-error.active { + display: block; + } + .modal-actions { display: flex; gap: 8px; @@ -481,6 +497,7 @@ class="modal-textarea" id="instructionsTextarea" placeholder="Enter your instructions..."> +