From a439428ab8febbf817afb050d655e6aec1c1810d Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Mon, 2 Dec 2024 10:14:28 -0600 Subject: [PATCH] fix: Improve UX for new households/userrs (#4653) Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com> --- frontend/lang/messages/en-US.json | 3 +- .../pages/admin/manage/households/index.vue | 51 ++++++++++++------- frontend/pages/admin/manage/users/create.vue | 5 +- 3 files changed, 39 insertions(+), 20 deletions(-) diff --git a/frontend/lang/messages/en-US.json b/frontend/lang/messages/en-US.json index b40fcc94e..cd229d3fa 100644 --- a/frontend/lang/messages/en-US.json +++ b/frontend/lang/messages/en-US.json @@ -276,7 +276,8 @@ "admin-group-management": "Admin Group Management", "admin-group-management-text": "Changes to this group will be reflected immediately.", "group-id-value": "Group Id: {0}", - "total-households": "Total Households" + "total-households": "Total Households", + "you-must-select-a-group-before-selecting-a-household": "You must select a group before selecting a household" }, "household": { "household": "Household", diff --git a/frontend/pages/admin/manage/households/index.vue b/frontend/pages/admin/manage/households/index.vue index 98426310f..e14f84e3a 100644 --- a/frontend/pages/admin/manage/households/index.vue +++ b/frontend/pages/admin/manage/households/index.vue @@ -4,25 +4,29 @@ v-model="createDialog" :title="$t('household.create-household')" :icon="$globals.icons.household" - @submit="createHousehold(createHouseholdForm.data)" > - - + + + + +