From 05f9c3053d8cc73094a812bfa0a580f83be206e3 Mon Sep 17 00:00:00 2001 From: Pranav Date: Thu, 18 Dec 2025 12:59:45 -0800 Subject: [PATCH] SuperAdmin --- .../components/playground/Header.vue | 42 ++-- .../views/dashboard/Index.vue | 103 +++++--- .../views/playground/Index.vue | 54 ++-- app/views/fields/belongs_to/_form.html.erb | 9 +- .../fields/belongs_to_search/_form.html.erb | 10 + app/views/fields/boolean/_form.html.erb | 7 + app/views/fields/email/_form.html.erb | 8 + app/views/fields/number/_form.html.erb | 8 + app/views/fields/password/_form.html.erb | 7 + app/views/fields/select/_form.html.erb | 9 + app/views/fields/string/_form.html.erb | 8 + app/views/fields/text/_form.html.erb | 9 + .../layouts/super_admin/application.html.erb | 2 +- .../accounts/_reset_cache.html.erb | 14 +- .../super_admin/accounts/_seed_data.html.erb | 21 +- app/views/super_admin/accounts/show.html.erb | 223 +++++++++++------ .../super_admin/app_configs/show.html.erb | 138 ++++++----- .../application/_collection.html.erb | 144 +++++------ .../super_admin/application/_filters.html.erb | 36 ++- .../application/_nav_item.html.erb | 12 +- .../application/_navigation.html.erb | 22 +- .../super_admin/application/_search.html.erb | 20 +- .../application/_settings_menu.html.erb | 24 +- .../super_admin/application/index.html.erb | 97 +++++--- .../super_admin/application/show.html.erb | 118 ++++++--- .../instance_statuses/show.html.erb | 62 +++-- app/views/super_admin/settings/show.html.erb | 233 +++++++++--------- .../shared/_account_user_form.html.erb | 42 +--- .../super_admin/users/_collection.html.erb | 144 +++++------ app/views/super_admin/users/_impersonate.erb | 14 +- app/views/super_admin/users/show.html.erb | 179 +++++++++++--- 31 files changed, 1100 insertions(+), 719 deletions(-) create mode 100644 app/views/fields/belongs_to_search/_form.html.erb create mode 100644 app/views/fields/boolean/_form.html.erb create mode 100644 app/views/fields/email/_form.html.erb create mode 100644 app/views/fields/number/_form.html.erb create mode 100644 app/views/fields/password/_form.html.erb create mode 100644 app/views/fields/select/_form.html.erb create mode 100644 app/views/fields/string/_form.html.erb create mode 100644 app/views/fields/text/_form.html.erb diff --git a/app/javascript/superadmin_pages/components/playground/Header.vue b/app/javascript/superadmin_pages/components/playground/Header.vue index 23c6061d7..848bcbc12 100644 --- a/app/javascript/superadmin_pages/components/playground/Header.vue +++ b/app/javascript/superadmin_pages/components/playground/Header.vue @@ -13,28 +13,30 @@ defineProps({ diff --git a/app/javascript/superadmin_pages/views/dashboard/Index.vue b/app/javascript/superadmin_pages/views/dashboard/Index.vue index f85ebea7f..0c03a846c 100644 --- a/app/javascript/superadmin_pages/views/dashboard/Index.vue +++ b/app/javascript/superadmin_pages/views/dashboard/Index.vue @@ -38,38 +38,77 @@ const { accountsCount, usersCount, inboxesCount, conversationsCount } = diff --git a/app/javascript/superadmin_pages/views/playground/Index.vue b/app/javascript/superadmin_pages/views/playground/Index.vue index 911640834..aa1fe6dbf 100644 --- a/app/javascript/superadmin_pages/views/playground/Index.vue +++ b/app/javascript/superadmin_pages/views/playground/Index.vue @@ -99,37 +99,41 @@ export default {