mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
adjust navigation menu visibility logic and related UI text
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user