adjust navigation menu visibility logic and related UI text

This commit is contained in:
pa
2026-03-23 19:24:30 +09:00
parent a05a17879c
commit 387d38a496
3 changed files with 4 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
<template>
<Sidebar side="left" variant="sidebar" collapsible="icon">
<SidebarHeader v-if="showNewDashboardButton && !hasDashboards" class="px-2 py-2">
<SidebarHeader v-if="showNewDashboardButton" class="px-2 py-2">
<SidebarMenu>
<SidebarMenuItem>
<SidebarMenuButton
@@ -279,7 +279,6 @@
const collapsedDropdownOpenId = ref(null);
const customNavDialogVisible = ref(false);
const hasDashboards = computed(() => dashboards.value.length > 0);
const hasNotifications = computed(() => notifiedMenus.value.length > 0);
const version = computed(() => appVersion.value?.split('VRCX ')?.[1] || '-');
const vrcxLogo = new URL('../../../images/VRCX.png', import.meta.url).href;

View File

@@ -146,7 +146,7 @@
"instance_not_in_game": "Not in game",
"time_ago": "{time} ago"
},
"first_save_tip": "You can create more dashboards. Right-click the Navigation Menu or use the Customize Navigation dialog to add new ones.",
"first_save_tip": "You can hide the New Dashboard button in Settings > Interface > Navigation.",
"confirmations": {
"delete_title": "Delete Dashboard",
"delete_description": "Are you sure you want to delete this dashboard? This action cannot be undone."
@@ -708,7 +708,7 @@
"interface": {
"navigation": {
"header": "Navigation",
"show_new_dashboard_button": "Show \"New Dashboard\" Button"
"show_new_dashboard_button": "Show New Dashboard Button"
},
"lists_tables": {
"header": "Lists & Tables"

View File

@@ -333,15 +333,7 @@
</template>
<script setup>
import {
Select,
SelectContent,
SelectGroup,
SelectItem,
SelectSeparator,
SelectTrigger,
SelectValue
} from '@/components/ui/select';
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
import {
DropdownMenu,
DropdownMenuCheckboxItem,