You've already forked AstralRinth
fix: servers misc fixes (#5475)
* fix: tags in project settings to have icons and ordered correctly * fix copy in project list layout settings * fix tag item in header navigation * adjust ping ranges * add handle click tag * fix: dont show offline in project page for draft status * move tags above creators in app * preload server project page on load and optimize queries * add server project card to organization page * fix minecraft_java_server label * pnpm prepr * have user option in project create modal be circle * feat: implement better mobile project page view * disable summary line clamp for servers * fix: unlink instance doesnt update instance * increase icon upload size * small fix on button size * improve how server ping info loads * remove unnecessary pings for instance page * fix order of computing dependency diff * remove linked_project_id from world, use name+address to match for managed world instead * pnpm prepr * hide duplicate worlds with same domain name in worlds list * add install content warning for server instance * increase summary max width * add handling for server projects for bulk editing links * implement include user unlisted projects in published modpack select * pnpm prepr * filter to only user unlisted status * add bad link warnings * fix modpack tags appearing in server * cargo fmt
This commit is contained in:
@@ -21,7 +21,7 @@ defineProps<{
|
||||
}>()
|
||||
</script>
|
||||
<template>
|
||||
<div class="empty:hidden flex items-center gap-2">
|
||||
<div class="empty:hidden flex items-center gap-2 flex-wrap gap-y-1">
|
||||
<ServerOnlinePlayers
|
||||
v-if="onlinePlayers !== undefined"
|
||||
:online="onlinePlayers"
|
||||
@@ -33,8 +33,8 @@ defineProps<{
|
||||
:recent-plays="recentPlays"
|
||||
:hide-label="hideRecentPlaysLabel"
|
||||
/>
|
||||
<ServerRegion v-if="region" :region="region" />
|
||||
<ServerPing v-if="ping && statusOnline" :ping="ping" />
|
||||
<ServerRegion v-if="region" :region="region" />
|
||||
<ServerModpackContent
|
||||
v-if="modpackContent"
|
||||
:name="modpackContent.name"
|
||||
|
||||
@@ -21,7 +21,7 @@ const pingClass = computed(() => {
|
||||
if (props.ping === undefined) {
|
||||
return 'border-brand bg-highlight-green text-brand'
|
||||
}
|
||||
if (props.ping < 100) {
|
||||
if (props.ping < 150) {
|
||||
return 'border-brand bg-highlight-green text-brand'
|
||||
}
|
||||
if (props.ping < 250) {
|
||||
|
||||
@@ -21,5 +21,5 @@ const regionNames: Record<string, string> = {
|
||||
const regionName = computed(() => regionNames[region] ?? region)
|
||||
</script>
|
||||
<template>
|
||||
<TagItem>{{ regionName }}</TagItem>
|
||||
<TagItem v-tooltip="`Server hosted in ${regionName}`">{{ regionName }}</TagItem>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user