go-htmx-gsd #1

Merged
arthur merged 558 commits from go-htmx-gsd into main 2026-05-23 15:16:44 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit e2ee4349f8 - Show all commits

View file

@ -586,12 +586,12 @@ func TaskReorderHandler(deps TasksDeps) http.HandlerFunc {
}
}
}
tasks, _, _, filter, ok := loadTasksTabData(w, r, deps.Queries, tablo)
tasks, etapes, _, filter, ok := loadTasksTabData(w, r, deps.Queries, tablo)
if !ok {
return
}
w.Header().Set("Content-Type", "text/html; charset=utf-8")
_ = templates.KanbanBoard(tablo.ID, csrf.Token(r), tasks, filter).Render(ctx, w)
_ = templates.KanbanBoard(tablo.ID, csrf.Token(r), tasks, filter, etapes).Render(ctx, w)
return
}
}
@ -636,12 +636,12 @@ func TaskReorderHandler(deps TasksDeps) http.HandlerFunc {
}
}
tasks, _, _, filter, ok := loadTasksTabData(w, r, deps.Queries, tablo)
tasks, etapes, _, filter, ok := loadTasksTabData(w, r, deps.Queries, tablo)
if !ok {
return
}
w.Header().Set("Content-Type", "text/html; charset=utf-8")
_ = templates.KanbanBoard(tablo.ID, csrf.Token(r), tasks, filter).Render(ctx, w)
_ = templates.KanbanBoard(tablo.ID, csrf.Token(r), tasks, filter, etapes).Render(ctx, w)
}
}

View file

@ -428,7 +428,7 @@ templ TabloOverviewTabFragment(tablo sqlc.Tablo, csrfToken string) {
// Lives in tablos.templ (tablo-level concern) per plan D-07.
templ TasksTabFragment(tablo sqlc.Tablo, tasks []sqlc.Task, etapes []sqlc.Etape, counts EtapeTaskCounts, filter EtapeFilter, csrfToken string) {
<div id="tasks-tab">
@KanbanBoard(tablo.ID, csrfToken, tasks, filter)
@KanbanBoard(tablo.ID, csrfToken, tasks, filter, etapes)
</div>
}