Skip to content

Commit 04e9d63

Browse files
committed
chore: wip
1 parent e588d9d commit 04e9d63

File tree

6 files changed

+774
-191
lines changed

6 files changed

+774
-191
lines changed

storage/framework/defaults/components/Dashboard/Sidebar.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const calculateTransform = (section: string) => {
4646
const sections = useLocalStorage<Sections>('sidebar-sections', {
4747
library: true,
4848
app: true,
49-
models: true,
49+
data: true,
5050
management: true
5151
})
5252
@@ -57,7 +57,7 @@ const expandedItems = useLocalStorage<Record<string, boolean>>('sidebar-expanded
5757
})
5858
5959
// Create an ordered array of sections that we can reorder
60-
const sectionOrder = useLocalStorage<string[]>('sidebar-section-order', ['library', 'app', 'models', 'management'])
60+
const sectionOrder = useLocalStorage<string[]>('sidebar-section-order', ['library', 'app', 'data', 'management'])
6161
6262
// Toggle function for sections
6363
const toggleSection = (section: string) => {
@@ -168,9 +168,9 @@ const sectionContent: Record<string, SectionContent> = {
168168
{ to: '/notifications', icon: 'i-hugeicons-notification-square', text: 'Notifications' }
169169
]
170170
},
171-
models: {
171+
data: {
172172
items: [
173-
{ to: '/models', icon: 'i-hugeicons-dashboard-speed-02', text: 'Overview' },
173+
{ to: '/models', icon: 'i-hugeicons-dashboard-speed-02', text: 'General' },
174174
{ to: '/models/users', letter: 'U', text: 'Users' },
175175
{ to: '/models/teams', letter: 'T', text: 'Teams' },
176176
{ to: '/models/subscribers', letter: 'S', text: 'Subscribers' }
@@ -185,7 +185,6 @@ const sectionContent: Record<string, SectionContent> = {
185185
children: [
186186
{ to: '/servers', icon: 'i-hugeicons-cloud-server', text: 'Servers' },
187187
{ to: '/serverless', icon: 'i-hugeicons-cloud-angled-zap', text: 'Serverless' },
188-
{ to: '/workers', icon: 'i-hugeicons-labor', text: 'Workers' },
189188
]
190189
},
191190
{ to: '/dns', icon: 'i-hugeicons-global-search', text: 'DNS' },

storage/framework/defaults/views/dashboard/cloud/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ watch(() => Object.values(cloudConfig.value.servers), (servers) => {
784784
<div class="p-6">
785785
<div class="flex items-center justify-between mb-4">
786786
<div class="flex items-center gap-2">
787-
<h4 class="text-base font-medium text-gray-900 dark:text-gray-100">Infrastructure Diagram</h4>
787+
<h4 class="text-base font-medium text-gray-900 dark:text-gray-100">Cloud Diagram</h4>
788788
<!-- AWS Icon -->
789789
<div class="flex items-center justify-center w-8 h-8 text-[#FF9900]">
790790
<div class="i-hugeicons-amazon w-6 h-6"></div>

storage/framework/defaults/views/dashboard/models/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,10 +524,10 @@ onUnmounted(() => {
524524
<div class="i-hugeicons-dashboard-speed-02 w-8 h-8 text-blue-500" />
525525
<div>
526526
<h3 class="text-base text-gray-900 dark:text-gray-100 font-semibold leading-6">
527-
Models Overview
527+
Data Visualization
528528
</h3>
529529
<p class="mt-2 text-sm text-gray-700 dark:text-gray-400">
530-
Visualize your application's models and their relationships.
530+
Visualize your application's data models.
531531
</p>
532532
</div>
533533
</div>

0 commit comments

Comments
 (0)