Small UI cleanup, auto-refresh, and per-kind artifact routes
- Remove redundant "manage scripts" button and pipeline sidebar from Fleet page - Bump log tail default 200 -> 1000 lines - Auto-refresh (5s) on deployments list/detail, betas list, server detail, and artifact detail - Drift ignores dedicated.cfg (Plutonium MP config; regenerates if deleted) - Extract ArtifactDetail component; mount under /scripts/[id], /configs/[id], /plugins/[id] so configs and plugins no longer land on /scripts URLs Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -191,7 +191,7 @@
|
||||
{:else}
|
||||
<div class="artifacts">
|
||||
{#each plugins as a (a.id)}
|
||||
<a class="artifact-row" href="/scripts/{a.id}">
|
||||
<a class="artifact-row" href="/plugins/{a.id}">
|
||||
<div class="row-top">
|
||||
<span class="artifact-name">{a.name}</span>
|
||||
<span class="scope tag scope-{a.scope_type ?? 'none'}">{scopeLabel(a)}</span>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
import ArtifactDetail from '$ui/components/ArtifactDetail.svelte';
|
||||
|
||||
let id = $derived(Number.parseInt($page.params.id ?? '0', 10));
|
||||
</script>
|
||||
|
||||
{#key id}
|
||||
<ArtifactDetail {id} family="plugin" />
|
||||
{/key}
|
||||
Reference in New Issue
Block a user