latest changes

This commit is contained in:
Joren de Graaf
2026-08-13 16:59:18 +02:00
parent d76f982a03
commit cc158f15b8
4 changed files with 67 additions and 10 deletions
+23 -5
View File
@@ -12,7 +12,9 @@
hx-post="{{ path('app_braindump_dump') }}"
hx-target="#tasks-result"
hx-swap="innerHTML"
>
hx-indicator="#thinking"
hx-disabled-elt="this"
>
<input
type="hidden"
@@ -34,12 +36,28 @@
></textarea>
</div>
<button type="submit">
✨ Suggest tasks
</button>
<button type="submit">
<span class="material-symbols-outlined">robot_2</span>
Suggest tasks
</button>
</form>
<span
id="thinking"
class="htmx-indicator"
aria-live="polite"
>
<span class="material-symbols-outlined spinner">progress_activity</span>
Thinking…
</span> <span
id="request-failed"
class="request-failed"
aria-live="assertive"
hidden
>
<span class="material-symbols-outlined">error</span>
Something went wrong
</span>
<div id="tasks-result" class="task-result">
{# HTMX will put the proposed tasks here #}
</div>