diff --git a/src/components/NavMenu.vue b/src/components/NavMenu.vue index ab84768a..984364fb 100644 --- a/src/components/NavMenu.vue +++ b/src/components/NavMenu.vue @@ -42,6 +42,51 @@ + + + + + + :width="200" + :hide-after="0"> @@ -129,7 +179,7 @@ const navItems = [ { index: 'feed', icon: 'ri-rss-line', tooltip: 'nav_tooltip.feed' }, - { index: 'friend-location', icon: 'ri-map-pin-user-line', tooltip: 'nav_tooltip.friend_location' }, + { index: 'friend-location', icon: 'ri-user-location-line', tooltip: 'nav_tooltip.friend_location' }, { index: 'game-log', icon: 'ri-history-line', tooltip: 'nav_tooltip.game_log' }, { index: 'player-list', icon: 'ri-group-3-line', tooltip: 'nav_tooltip.player_list' }, { index: 'search', icon: 'ri-search-line', tooltip: 'nav_tooltip.search' }, @@ -145,7 +195,7 @@ const VRCXUpdaterStore = useVRCXUpdaterStore(); const { pendingVRCXUpdate, pendingVRCXInstall, updateInProgress, updateProgress, branch, appVersion } = storeToRefs(VRCXUpdaterStore); - const { showVRCXUpdateDialog, updateProgressText } = VRCXUpdaterStore; + const { showVRCXUpdateDialog, updateProgressText, showChangeLogDialog } = VRCXUpdaterStore; const uiStore = useUiStore(); const { notifiedMenus } = storeToRefs(uiStore); const { directAccessPaste } = useSearchStore(); @@ -157,6 +207,7 @@ const settingsMenuVisible = ref(false); const themeMenuVisible = ref(false); + const supportMenuVisible = ref(false); const version = computed(() => appVersion.value?.split('VRCX ')?.[1] || '-'); const vrcxLogo = new URL('../../images/VRCX.png', import.meta.url).href; @@ -167,6 +218,7 @@ const handleSettingsClick = () => { themeMenuVisible.value = false; + supportMenuVisible.value = false; settingsMenuVisible.value = false; router.push({ name: 'settings' }); }; @@ -187,11 +239,33 @@ }; watch(settingsMenuVisible, (visible) => { - if (!visible) { + if (visible) { + supportMenuVisible.value = false; + } else { themeMenuVisible.value = false; } }); + watch(supportMenuVisible, (visible) => { + if (visible) { + settingsMenuVisible.value = false; + } + }); + + const supportLinks = { + wiki: 'https://github.com/vrcx-team/VRCX/wiki', + github: 'https://github.com/vrcx-team/VRCX', + discord: 'https://vrcx.app/discord' + }; + + const handleSupportLink = (id) => { + supportMenuVisible.value = false; + const target = supportLinks[id]; + if (target) { + openExternalLink(target); + } + }; + onMounted(() => { if (!sentryErrorReporting.value) return; const feedback = Sentry.getFeedback(); @@ -200,6 +274,9 @@