A title that states the fact does not need a description that derives it: the log, panels, lifecycle lists, dashboard cards, stages, skills and captures empty states now say the fact once, and keep only the descriptions that carry an action, a cause, or a distinct reading.
18 lines
494 B
Vue
18 lines
494 B
Vue
<script setup lang="ts">
|
|
import { storeToRefs } from "pinia";
|
|
|
|
import { Badge } from "@/components/ui/badge";
|
|
import { useLiveUpdatesStore } from "@/stores/live-updates";
|
|
|
|
const { streamKind, streamState } = storeToRefs(useLiveUpdatesStore());
|
|
|
|
/**
|
|
* The state of the stream that is supposed to be adding to this list. Without
|
|
* it a list that has stopped updating looks exactly like a quiet one.
|
|
*/
|
|
</script>
|
|
|
|
<template>
|
|
<Badge :variant="streamKind">{{ streamState }}</Badge>
|
|
</template>
|