feat(panel): Beta sweep — multi-game coherence, honesty, UX fixes
Multi-game rebrand (no more Rust-only leftovers): game-neutral setup wizard + deploy/store defaults; player-id labels driven by game profile (Steam ID only for Rust); blueprint wipe type + verify-plugins gated to uMod games; oxide command examples + Rust-only plugin pages (AutoDoors/FurnaceSplitter/BetterChat) guarded behind mods==='umod' with empty-states for other games. Honesty: webstore checkout shows coming-soon (backend now 503s); 'integrated webstore' marketed as coming-soon; Discord references neutralized to community/webhook; migration FAQ marked in-development; analytics dev phase labels removed; Network pricing tier set to Custom/Contact (was a confusing duplicate of Operator); docs/PRICING.md rewritten to match live subscriptions. UX/bugs: fixed ServerView oxide-status operator-precedence bug; dead 'Deploy server' button wired; non-functional topbar search removed; alert()/confirm() replaced with toasts across schedules/alerts/migration/public store+server; analytics chart arrays null-guarded; production console.logs gated to DEV. Frontend build (vue-tsc + vite) green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { useToastStore } from '@/stores/toast'
|
||||
import Panel from '@/components/ds/data/Panel.vue'
|
||||
import StatCard from '@/components/ds/data/StatCard.vue'
|
||||
import Badge from '@/components/ds/core/Badge.vue'
|
||||
@@ -25,6 +26,7 @@ interface ServerInfo {
|
||||
|
||||
const route = useRoute()
|
||||
const subdomain = route.params.subdomain as string
|
||||
const toast = useToastStore()
|
||||
const serverInfo = ref<ServerInfo | null>(null)
|
||||
const isLoading = ref(false)
|
||||
const error = ref('')
|
||||
@@ -48,7 +50,7 @@ async function fetchServerInfo() {
|
||||
function copyConnectUrl() {
|
||||
if (serverInfo.value?.connect_url) {
|
||||
navigator.clipboard.writeText(serverInfo.value.connect_url)
|
||||
alert('Connect URL copied to clipboard')
|
||||
toast.success('Connect URL copied to clipboard')
|
||||
}
|
||||
}
|
||||
|
||||
@@ -142,14 +144,14 @@ onMounted(() => {
|
||||
|
||||
<!-- Discord -->
|
||||
<Panel v-if="serverInfo.discord_invite" title="Community">
|
||||
<Alert tone="info" title="Join our Discord">
|
||||
<Alert tone="info" title="Join our community">
|
||||
<template #actions>
|
||||
<a
|
||||
:href="serverInfo.discord_invite"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<Button size="sm" variant="secondary" icon="external-link">Join Discord</Button>
|
||||
<Button size="sm" variant="secondary" icon="external-link">Join community</Button>
|
||||
</a>
|
||||
</template>
|
||||
</Alert>
|
||||
|
||||
Reference in New Issue
Block a user