refactor: format markdown files using prettier, fix spelling concerns, reduce Taskfile bloat

This commit is contained in:
sam committed 2026-09-25 01:10:28 +10:00
1 parent 2051ca94d2
commit 2e00777f07
608 files changed
+63317 -10219

No files matched your search

+9 -2
View File
@@ -7,13 +7,20 @@ import { STATUS_FILL, type StatusKind } from "@/lib/status";
* A small proportional bar under a rate. It carries the same shape in every
* workflow table so two rates can be compared by eye without reading either.
*/
const props = withDefaults(defineProps<{ fraction: number; kind?: StatusKind }>(), { kind: "ok" });
const props = withDefaults(
defineProps<{ fraction: number; kind?: StatusKind }>(),
{ kind: "ok" },
);
const width = computed(() => `${Math.min(100, Math.max(0, props.fraction))}%`);
</script>
<template>
<div class="mt-2 h-[5px] w-[140px] overflow-hidden rounded-full bg-border">
<div class="h-full rounded-full transition-[width]" :class="STATUS_FILL[props.kind]" :style="`width:${width}`" />
<div
class="h-full rounded-full transition-[width]"
:class="STATUS_FILL[props.kind]"
:style="`width:${width}`"
/>
</div>
</template>