Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
appview: add spinners to all buttons master
how it works: - hx-indicator adds the htmx-request class to the target of choice - with tailwind, we can use `group-[.class]` to check if a parent element has a certain class, and style things conditionally - by applying `group-[.htmx-request]`, we can detect when a request is in progress, and show/hide a lucide loader - the loader is a static icon made to spin using the `animate-spin` class
Author oppiliappan Committer Tangled Date (May 13, 2025, 10:19 AM UTC) Commit 16b0cc4b 16b0cc4b22e154bde3240d04e1ffca2fe9fb316a Parent 83a64370 83a64370145b830f8589a5b551c139949238f66f