mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-23 08:43:50 +02:00
Last updated dropdown
This commit is contained in:
@@ -54,9 +54,9 @@
|
||||
>{{ avatarDialog.platformInfo.pc.performanceRating }}</span
|
||||
>
|
||||
<span
|
||||
v-if="avatarDialog.bundleSizes['standalonewindows']"
|
||||
v-if="avatarDialog.fileAnalysis.standalonewindows?._fileSize"
|
||||
:class="['x-grey', 'x-tag-platform-pc', 'x-tag-border-left']"
|
||||
>{{ avatarDialog.bundleSizes['standalonewindows'].fileSize }}</span
|
||||
>{{ avatarDialog.fileAnalysis.standalonewindows._fileSize }}</span
|
||||
>
|
||||
</Badge>
|
||||
</TooltipWrapper>
|
||||
@@ -72,9 +72,9 @@
|
||||
>{{ avatarDialog.platformInfo.android.performanceRating }}</span
|
||||
>
|
||||
<span
|
||||
v-if="avatarDialog.bundleSizes['android']"
|
||||
v-if="avatarDialog.fileAnalysis.android?._fileSize"
|
||||
:class="['x-grey', 'x-tag-platform-quest', 'x-tag-border-left']"
|
||||
>{{ avatarDialog.bundleSizes['android'].fileSize }}</span
|
||||
>{{ avatarDialog.fileAnalysis.android._fileSize }}</span
|
||||
>
|
||||
</Badge>
|
||||
</TooltipWrapper>
|
||||
@@ -90,9 +90,9 @@
|
||||
>{{ avatarDialog.platformInfo.ios.performanceRating }}</span
|
||||
>
|
||||
<span
|
||||
v-if="avatarDialog.bundleSizes['ios']"
|
||||
v-if="avatarDialog.fileAnalysis.ios?._fileSize"
|
||||
:class="['x-grey', 'x-tag-border-left', 'text-[#8e8e93]', 'border-[#8e8e93]']"
|
||||
>{{ avatarDialog.bundleSizes['ios'].fileSize }}</span
|
||||
>{{ avatarDialog.fileAnalysis.ios._fileSize }}</span
|
||||
>
|
||||
</Badge>
|
||||
</TooltipWrapper>
|
||||
@@ -447,13 +447,24 @@
|
||||
</div>
|
||||
<div class="x-friend-item" style="cursor: default">
|
||||
<div class="detail">
|
||||
<span class="name">{{ t('dialog.avatar.info.last_updated') }}</span>
|
||||
<span v-if="avatarDialog.lastUpdated" class="extra">{{
|
||||
formatDateFilter(avatarDialog.lastUpdated, 'long')
|
||||
}}</span>
|
||||
<span v-else class="extra">{{
|
||||
formatDateFilter(avatarDialog.ref.updated_at, 'long')
|
||||
<span class="name" style="display: inline">{{
|
||||
t('dialog.avatar.info.last_updated')
|
||||
}}</span>
|
||||
<TooltipWrapper
|
||||
v-if="Object.keys(avatarDialog.fileAnalysis).length"
|
||||
side="top"
|
||||
style="margin-left: 5px">
|
||||
<template #content>
|
||||
<template v-for="(data, platform) in avatarDialog.fileAnalysis" :key="platform">
|
||||
<div class="flex justify-between w-full">
|
||||
<span class="mr-1">{{ platform }}:</span>
|
||||
<span>{{ formatDateFilter(data.created_at, 'long') }}</span>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
<ChevronDown class="inline-block" />
|
||||
</TooltipWrapper>
|
||||
<span class="extra">{{ formatDateFilter(avatarDialog.ref.updated_at, 'long') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x-friend-item" style="cursor: default">
|
||||
@@ -506,7 +517,7 @@
|
||||
show-icon />
|
||||
<br />
|
||||
<vue-json-pretty
|
||||
v-if="Object.keys(avatarDialog.fileAnalysis).length > 0"
|
||||
v-if="Object.keys(avatarDialog.fileAnalysis).length"
|
||||
:data="avatarDialog.fileAnalysis"
|
||||
:deep="2"
|
||||
:theme="isDarkMode ? 'dark' : 'light'"
|
||||
@@ -529,6 +540,7 @@
|
||||
Apple,
|
||||
Check,
|
||||
CheckCircle,
|
||||
ChevronDown,
|
||||
Copy,
|
||||
Download,
|
||||
Ellipsis,
|
||||
|
||||
@@ -60,9 +60,9 @@
|
||||
style="margin-right: 5px; margin-top: 5px">
|
||||
<Monitor class="h-4 w-4 x-tag-platform-pc" />
|
||||
<span
|
||||
v-if="worldDialog.bundleSizes['standalonewindows']"
|
||||
v-if="worldDialog.fileAnalysis.standalonewindows?._fileSize"
|
||||
:class="['x-grey', 'x-tag-platform-pc', 'x-tag-border-left']">
|
||||
{{ worldDialog.bundleSizes['standalonewindows'].fileSize }}
|
||||
{{ worldDialog.fileAnalysis.standalonewindows._fileSize }}
|
||||
</span>
|
||||
</Badge>
|
||||
</TooltipWrapper>
|
||||
@@ -74,9 +74,9 @@
|
||||
style="margin-right: 5px; margin-top: 5px">
|
||||
<Smartphone class="h-4 w-4 x-tag-platform-quest" />
|
||||
<span
|
||||
v-if="worldDialog.bundleSizes['android']"
|
||||
v-if="worldDialog.fileAnalysis.android?._fileSize"
|
||||
:class="['x-grey', 'x-tag-platform-quest', 'x-tag-border-left']">
|
||||
{{ worldDialog.bundleSizes['android'].fileSize }}
|
||||
{{ worldDialog.fileAnalysis.android._fileSize }}
|
||||
</span>
|
||||
</Badge>
|
||||
</TooltipWrapper>
|
||||
@@ -88,9 +88,9 @@
|
||||
style="margin-right: 5px; margin-top: 5px">
|
||||
<Apple class="h-4 w-4 text-[#8e8e93]" />
|
||||
<span
|
||||
v-if="worldDialog.bundleSizes['ios']"
|
||||
v-if="worldDialog.fileAnalysis.ios?._fileSize"
|
||||
:class="['x-grey', 'x-tag-border-left', 'text-[#8e8e93]', 'border-[#8e8e93]']">
|
||||
{{ worldDialog.bundleSizes['ios'].fileSize }}
|
||||
{{ worldDialog.fileAnalysis.ios._fileSize }}
|
||||
</span>
|
||||
</Badge>
|
||||
</TooltipWrapper>
|
||||
@@ -566,13 +566,24 @@
|
||||
</div>
|
||||
<div class="x-friend-item" style="cursor: default">
|
||||
<div class="detail">
|
||||
<span class="name">
|
||||
<span class="name" style="display: inline">
|
||||
{{ t('dialog.world.info.last_updated') }}
|
||||
</span>
|
||||
<span v-if="worldDialog.lastUpdated" class="extra">
|
||||
{{ formatDateFilter(worldDialog.lastUpdated, 'long') }}
|
||||
</span>
|
||||
<span v-else class="extra">
|
||||
<TooltipWrapper
|
||||
v-if="Object.keys(worldDialog.fileAnalysis).length"
|
||||
side="top"
|
||||
style="margin-left: 5px">
|
||||
<template #content>
|
||||
<template v-for="(data, platform) in worldDialog.fileAnalysis" :key="platform">
|
||||
<div class="flex justify-between w-full">
|
||||
<span class="mr-1">{{ platform }}:</span>
|
||||
<span>{{ formatDateFilter(data.created_at, 'long') }}</span>
|
||||
</div>
|
||||
</template>
|
||||
</template>
|
||||
<ChevronDown class="inline-block" />
|
||||
</TooltipWrapper>
|
||||
<span class="extra">
|
||||
{{ formatDateFilter(worldDialog.ref.updated_at, 'long') }}
|
||||
</span>
|
||||
</div>
|
||||
@@ -712,7 +723,7 @@
|
||||
show-icon />
|
||||
<br />
|
||||
<vue-json-pretty
|
||||
v-if="Object.keys(worldDialog.fileAnalysis).length > 0"
|
||||
v-if="Object.keys(worldDialog.fileAnalysis).length"
|
||||
:data="worldDialog.fileAnalysis"
|
||||
:deep="2"
|
||||
:theme="isDarkMode ? 'dark' : 'light'"
|
||||
|
||||
Reference in New Issue
Block a user