Avatar name and bio link length

This commit is contained in:
Natsumi
2026-02-18 13:48:49 +11:00
committed by pa
parent 4db9cd0392
commit e7114fa1b6
5 changed files with 7 additions and 7 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
<template> <template>
<div @click="confirm" class="cursor-pointer w-fit align-top flex items-center"> <div @click="confirm" class="cursor-pointer w-fit align-top flex items-center">
<span class="flex items-center mr-1" <span v-if="avatarName" class="flex items-center mr-1"
>{{ avatarName }} <Lock v-if="avatarType && avatarType === '(own)'" class="h-4 w-4 ml-1" >{{ avatarName }} <Lock v-if="avatarType && avatarType === '(own)'" class="h-4 w-4 ml-1"
/></span> /></span>
<span v-else class="text-muted-foreground">Unknown Avatar</span>
<TooltipWrapper v-if="avatarTags"> <TooltipWrapper v-if="avatarTags">
<template #content> <template #content>
<span class="truncate">{{ avatarTags }}</span> <span class="truncate">{{ avatarTags }}</span>
@@ -18,7 +18,7 @@
v-for="(link, index) in bioDialog.bioLinks" v-for="(link, index) in bioDialog.bioLinks"
:key="index" :key="index"
v-model="bioDialog.bioLinks[index]" v-model="bioDialog.bioLinks[index]"
:maxlength="64" :maxlength="1000"
show-count show-count
size="sm" size="sm"
style="margin-top: 5px"> style="margin-top: 5px">
@@ -4,10 +4,10 @@
<TooltipWrapper <TooltipWrapper
v-if="userDialog.isFavorite" v-if="userDialog.isFavorite"
side="top" side="top"
:content="t('dialog.user.actions.unfavorite_tooltip')"> :content="t('dialog.user.actions.favorites_tooltip')">
<Button class="rounded-full" size="icon-lg" @click="userDialogCommand('Add Favorite')"><Star /></Button> <Button class="rounded-full" size="icon-lg" @click="userDialogCommand('Add Favorite')"><Star /></Button>
</TooltipWrapper> </TooltipWrapper>
<TooltipWrapper v-else side="top" :content="t('dialog.user.actions.favorite_tooltip')"> <TooltipWrapper v-else side="top" :content="t('dialog.user.actions.favorites_tooltip')">
<Button class="rounded-full" size="icon-lg" variant="outline" @click="userDialogCommand('Add Favorite')" <Button class="rounded-full" size="icon-lg" variant="outline" @click="userDialogCommand('Add Favorite')"
><Star ><Star
/></Button> /></Button>
@@ -146,7 +146,7 @@
v-if="userDialog.ref.profilePicOverride && !userDialog.ref.currentAvatarImageUrl" v-if="userDialog.ref.profilePicOverride && !userDialog.ref.currentAvatarImageUrl"
side="top" side="top"
:content="t('dialog.user.info.vrcplus_hides_avatar')"> :content="t('dialog.user.info.vrcplus_hides_avatar')">
<Info /> <Info class="inline-block" />
</TooltipWrapper> </TooltipWrapper>
</span> </span>
<div class="extra"> <div class="extra">
+1 -2
View File
@@ -1005,8 +1005,7 @@
"showcased": "Showcased" "showcased": "Showcased"
}, },
"actions": { "actions": {
"favorite_tooltip": "Add to favorites", "favorites_tooltip": "Favorites",
"unfavorite_tooltip": "Remove from favorites",
"refresh": "Refresh", "refresh": "Refresh",
"share": "Share", "share": "Share",
"invite": "Invite", "invite": "Invite",