Refresh Configs with browser editing and source inspection

This commit is contained in:
2026-09-18 11:02:22 -04:00
parent ec51e38312
commit ef8ff69d17
13 changed files with 944 additions and 395 deletions
@@ -2,6 +2,7 @@
import { onMount, onDestroy } from 'svelte';
import { artifactVersionLabel } from '$lib/artifact-version.js';
import PluginGithubImport from './PluginGithubImport.svelte';
import ConfigEditor from './ConfigEditor.svelte';
import type { PluginSource } from '$lib/plugin-github.js';
import { goto } from '$app/navigation';
import Card from './primitives/Card.svelte';
@@ -329,6 +330,11 @@
</div>
</Card>
{#if a.kind === 'config' || a.kind === 'baseline'}
<ConfigEditor {id} kind={a.kind} {versions} currentVersionId={a.current_version_id}
{runningBetaId} scopeType={a.scope_type} scopeValue={a.scope_value} onsaved={() => load({ seedForm: false })} />
{/if}
<Card padding="lg">
<div class="panel-head">
<h2>Version history</h2>