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.
27 lines
816 B
Vue
27 lines
816 B
Vue
<script setup lang="ts">
|
|
import { onMounted } from "vue";
|
|
|
|
import PageHeader from "@/base/PageHeader.vue";
|
|
import { useLiveResource } from "@/stores/live-updates";
|
|
import ConfigUnavailable from "./ConfigUnavailable.vue";
|
|
import ReadOnlyNotice from "./ReadOnlyNotice.vue";
|
|
import RepositoriesCard from "./RepositoriesCard.vue";
|
|
import { configUnavailable, loadConfig } from "./state";
|
|
|
|
/**
|
|
* The repositories Archie watches, and the gate overrides each one carries.
|
|
*/
|
|
useLiveResource(null, () => void loadConfig());
|
|
onMounted(loadConfig);
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
<PageHeader title="Repositories" subtitle="The repositories Archie polls, and their per-repo gate overrides." />
|
|
|
|
<ReadOnlyNotice />
|
|
<ConfigUnavailable v-if="configUnavailable" />
|
|
<RepositoriesCard v-else />
|
|
</div>
|
|
</template>
|