From 4a3055cab87ac57fadb2caa34260084183e52d0a Mon Sep 17 00:00:00 2001 From: Ross Date: Tue, 28 Oct 2025 17:45:41 +0000 Subject: [PATCH] Enhance category search form with loading indicator and improved HTMX integration --- atlas/templates/atlas/categories_list.html | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/atlas/templates/atlas/categories_list.html b/atlas/templates/atlas/categories_list.html index f3e4cabb..e7839b4d 100644 --- a/atlas/templates/atlas/categories_list.html +++ b/atlas/templates/atlas/categories_list.html @@ -13,14 +13,28 @@
-
+ {# HTMX loading indicator styles: hide by default, show when HTMX adds the .htmx-request class #} + + + - + hx-include="#category-search-input" + hx-indicator="#category-search-loading" /> + + {# Spinner shown while HTMX request is in-flight (selector matched by hx-indicator) #} + + +