refactor: delete unreferenced Go code (embedding contract, PolicySource, embedded changelog, ignored webui file) and the stale playbooks usage word

This commit is contained in:
sam committed 2026-11-09 08:35:25 +11:00
1 parent a053d98d7c
commit b16dd6add4
23 files changed
-555

No files matched your search

-43
View File
@@ -1,43 +0,0 @@
<script setup lang="ts">
import { computed } from "vue";
import { StatusDot } from "@/components/ui/status-dot";
import { Timestamp } from "@/components/ui/timestamp";
import { describeTimelineEvent } from "./timeline-event";
import type { TaskEvent } from "./task-run";
/**
* One entry in a task's event timeline: what happened, any detail the event
* carries, and when.
*
* It renders an `<li>`, so its host supplies the list. The words come from
* describeTimelineEvent, which the stage rail's agent reports read too, so a
* timeline and a rail can never describe the same event differently.
*/
const props = defineProps<{ event: TaskEvent }>();
const line = computed(() => describeTimelineEvent(props.event));
</script>
<template>
<li class="flex items-start gap-3">
<StatusDot :tone="line.tone === 'warn' ? 'warn' : 'info'" class="mt-2" />
<div>
<div class="text-label font-medium">{{ line.title }}</div>
<div v-if="line.detail" class="mt-0.5 text-caption text-fg-muted">
{{ line.detail }}
</div>
<div v-if="line.links?.length" class="mt-0.5 flex gap-3 text-caption">
<RouterLink
v-for="link in line.links"
:key="link.to"
:to="link.to"
class="text-fg-muted underline-offset-2 hover:text-foreground hover:underline"
>{{ link.label }}</RouterLink
>
</div>
<div class="mt-0.5 text-caption text-fg-subtle"><Timestamp :at="event.at" /></div>
</div>
</li>
</template>