add tooltip to notification

This commit is contained in:
pa
2026-01-20 22:27:43 +09:00
committed by Natsumi
parent 0fa6e48fd7
commit ded6b0ccf0
5 changed files with 42 additions and 21 deletions
+2 -2
View File
@@ -194,7 +194,7 @@ export const useAvatarStore = defineStore('Avatar', () => {
userStore.userDialog.visible = false;
worldStore.worldDialog.visible = false;
groupStore.groupDialog.visible = false;
D.visible = true;
D.loading = true;
D.id = avatarId;
D.inCache = false;
@@ -222,7 +222,6 @@ export const useAvatarStore = defineStore('Avatar', () => {
if (typeof ref2 !== 'undefined') {
D.ref = ref2;
uiStore.setDialogCrumbLabel('avatar', D.id, D.ref?.name || D.id);
updateVRChatAvatarCache();
if (
ref2.releaseStatus !== 'public' &&
ref2.authorId !== userStore.currentUser.id
@@ -242,6 +241,7 @@ export const useAvatarStore = defineStore('Avatar', () => {
D.ref?.name || D.id
);
getAvatarGallery(avatarId);
D.visible = true;
updateVRChatAvatarCache();
if (/quest/.test(ref.tags)) {
D.isQuestFallback = true;
+1 -1
View File
@@ -149,7 +149,6 @@ export const useGroupStore = defineStore('Group', () => {
worldStore.worldDialog.visible = false;
avatarStore.avatarDialog.visible = false;
const D = groupDialog.value;
D.visible = true;
D.loading = true;
D.id = groupId;
D.inGroup = false;
@@ -188,6 +187,7 @@ export const useGroupStore = defineStore('Group', () => {
);
D.inGroup = args.ref.membershipStatus === 'member';
D.ownerDisplayName = args.ref.ownerId;
D.visible = true;
userRequest
.getCachedUser({
userId: args.ref.ownerId
+4 -4
View File
@@ -1,4 +1,4 @@
import { computed, reactive, ref, shallowReactive, watch } from 'vue';
import { computed, nextTick, reactive, ref, shallowReactive, watch } from 'vue';
import { defineStore } from 'pinia';
import { toast } from 'vue-sonner';
import { useI18n } from 'vue-i18n';
@@ -799,7 +799,7 @@ export const useUserStore = defineStore('User', () => {
}
}
});
D.visible = true;
D.loading = true;
D.avatars = [];
D.worlds = [];
@@ -900,8 +900,6 @@ export const useUserStore = defineStore('User', () => {
} else if (D.ref.friendRequestStatus === 'outgoing') {
D.outgoingRequest = true;
}
applyUserDialogLocation(true);
userRequest.getUser(args.params);
let inCurrentWorld = false;
if (
@@ -1018,6 +1016,8 @@ export const useUserStore = defineStore('User', () => {
groupStore.handleGroupRepresented(args1);
});
D.loading = false;
D.visible = true;
applyUserDialogLocation(true);
});
}
});
+1 -1
View File
@@ -103,7 +103,6 @@ export const useWorldStore = defineStore('World', () => {
D.treeData = {};
D.bundleSizes = [];
D.lastUpdated = '';
D.visible = false;
D.loading = true;
D.inCache = false;
D.cacheSize = '';
@@ -166,6 +165,7 @@ export const useWorldStore = defineStore('World', () => {
D.id,
D.ref?.name || D.id
);
D.visible = true;
D.isFavorite = favoriteStore.getCachedFavoritesByObjectId(
D.id
);