From 05aaca36005588663dd4e7ab2ead60f60d408a06 Mon Sep 17 00:00:00 2001 From: juancwu Date: Sat, 7 Feb 2026 15:09:35 +0000 Subject: [PATCH] fix: rename space dashboard page to space overview page --- internal/handler/space.go | 2 +- .../{app_space_dashboard.templ => app_space_overview.templ} | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) rename internal/ui/pages/{app_space_dashboard.templ => app_space_overview.templ} (96%) diff --git a/internal/handler/space.go b/internal/handler/space.go index a40c178..3ad7593 100644 --- a/internal/handler/space.go +++ b/internal/handler/space.go @@ -99,7 +99,7 @@ func (h *SpaceHandler) DashboardPage(w http.ResponseWriter, r *http.Request) { return } - ui.Render(w, r, pages.SpaceDashboardPage(space, lists, tags)) + ui.Render(w, r, pages.SpaceOverviewPage(space, lists, tags)) } func (h *SpaceHandler) ListsPage(w http.ResponseWriter, r *http.Request) { diff --git a/internal/ui/pages/app_space_dashboard.templ b/internal/ui/pages/app_space_overview.templ similarity index 96% rename from internal/ui/pages/app_space_dashboard.templ rename to internal/ui/pages/app_space_overview.templ index b785e66..a53fd51 100644 --- a/internal/ui/pages/app_space_dashboard.templ +++ b/internal/ui/pages/app_space_overview.templ @@ -9,7 +9,7 @@ import ( "git.juancwu.dev/juancwu/budgit/internal/ui/layouts" ) -templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags []*model.Tag) { +templ SpaceOverviewPage(space *model.Space, lists []*model.ShoppingList, tags []*model.Tag) { @layouts.Space("Overview", space) {
@@ -91,4 +91,3 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [
} } -