From 4f1a5747db287d5640b9ef60b42256ffba23b304 Mon Sep 17 00:00:00 2001 From: juancwu Date: Fri, 6 Feb 2026 22:02:23 +0000 Subject: [PATCH] fix: change "Dashboard" to "Overview" in space overview page --- internal/ui/pages/app_space_dashboard.templ | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/internal/ui/pages/app_space_dashboard.templ b/internal/ui/pages/app_space_dashboard.templ index e7b65cf..abf66c2 100644 --- a/internal/ui/pages/app_space_dashboard.templ +++ b/internal/ui/pages/app_space_dashboard.templ @@ -10,11 +10,11 @@ import ( ) templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags []*model.Tag) { - @layouts.Space("Dashboard", space) { + @layouts.Space("Overview", space) {

Welcome to { space.Name }!

- @dialog.Dialog(dialog.Props{ ID: "invite-member-dialog" }) { + @dialog.Dialog(dialog.Props{ID: "invite-member-dialog"}) { @dialog.Trigger() { @button.Button() { Invite Member @@ -22,7 +22,9 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [ } @dialog.Content() { @dialog.Header() { - @dialog.Title() { Invite Member } + @dialog.Title() { + Invite Member + } @dialog.Description() { Send an invitation email to add a new member to this space. } @@ -36,14 +38,14 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [
@input.Input(input.Props{ - Name: "email", - ID: "email", - Type: "email", + Name: "email", + ID: "email", + Type: "email", Attributes: templ.Attributes{"required": "true"}, })
- @button.Button(button.Props{ Type: button.TypeSubmit }) { + @button.Button(button.Props{Type: button.TypeSubmit}) { Send Invitation }
@@ -51,7 +53,6 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [ } }
-
// Shopping Lists section
@@ -82,4 +83,5 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [
} -} \ No newline at end of file +} +