Known problems list — Status block

Pro

status-known-problems-list · for help, support pages

Known problems list

Problems the merchant already knows about, each with its status and a workaround

Documentation

Installation

One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).

pnpm dlx shadcn-vue@latest add @trame/status-known-problems-list

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import StatusKnownProblemsList from '@/components/trame/blocks/status/status-known-problems-list.vue'

const props = {
title: "How can we help?",
lead: "Search for an answer, or browse the topics.",
search: "help-search",
searchLabel: "Describe your question",
issues: [
{
title: "Tracking for some packages is slow to update",
status: "In progress",
workaround: {
label: "Track it on the carrier’s site",
action: "article",
record: {
id: "Track it on the carrier’s site"
}
}
},
{
title: "Last month’s invoices open blank",
status: "Fixed"
}
],
options: {
eyebrow: "Help"
}
}
</script>

<template>
<StatusKnownProblemsList v-bind="props" />
</template>

Props

Each prop says who changes it: Words, Picture, Action, Design, Data.* required.

PropTypeDescription
title*stringWordswhat the help centre says ("How can we help?")
leadstringWordsone sentence on what can be found here
searchstringActionthe page that lists search results; the form sends "q" to it by GET
searchLabelstringWordsthe field’s label and placeholder ("Search the help")
issues*Issue[]the problems the merchant knows about, each with where it stands
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Issue issues[] · 3 props
PropTypeDescription
title*stringWordsa problem the merchant knows about
status*stringWordswhere it stands ("In progress", "Fixed")
workaroundWorkaroundthe workaround link: its words and where it leads
Workaround issues[].workaround · 4 props
PropTypeDescription
label*stringWordsthe link’s words, e.g. "See the collection"
actionstringActiona named action of the page
recordRecord<string, unknown>Datathe record the action applies to, passed to the host with it, if any
urlstringDesignan address outside the app
Options options · 2 props
PropTypeDescription
eyebrowstringWordsa small line above the heading
mood'inverse' | 'brand' | 'warm' | 'tint' | stringa band of the page that redefines the theme surfaces inside it
What it asks your app for

The block never knows your app: it asks it, through one context provided once, where its links lead, what its actions do, how a price reads and which words to say (The host context).

MemberWhat it is for
hrefthe address an action leads to, or null to hide what leads there
actruns a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error }
canwhether the page has this action
Linkyour router’s link component
cartCountthe cart badge’s number
cartDrawerwhether your app has a cart drawer
cartOpenwhether the cart drawer is open
labelyour word for an interface key, or undefined to keep the block’s own

The words it says itself, in English and French; label(key) replaces any of them:

KeyEnglishFrench
newsletter.alreadyYou are already subscribed.Vous êtes déjà inscrit.
newsletter.doneDone: you are subscribed.C’est noté : vous êtes inscrit.
newsletter.invalidCheck the email address.Vérifiez l’adresse e-mail.
newsletter.tooManyToo many attempts, try again in a moment.Trop de tentatives, réessayez dans un moment.

Features

  • Every word in the server HTML
  • Same markup in Vue and React
  • Theme tokens only: every theme, light and dark
  • Shows what you give it, invents nothing
  • No motion; still under reduced motion
  • Real buttons and links, a visible focus
  • Asks your app through actions: search, issues[].workaround
  • Reads issues from your app

A status section, for help, support pages; it uses @lucide/vue, @vueuse/core, class-variance-authority, clsx, reka-ui, tailwind-merge.

More status blocks

  • Board component list: the plain answer to "is it working?": a summary line, then one row per part of the service.
  • Board region grid: a service run in several regions or sites: one card each with its state and its response time.
  • Incident history ledger: A dated incident ledger beside the current service state, with the service’s own published updates only.
  • Incident history timeline: something happened: each incident with its updates in order, and the parts still affected above.
  • Maintenance notice: a planned closure: the merchant’s message, the return time only if the merchant gave one, the way to reach them.
  • Maintenance windows list: planned work announced ahead: dated windows with what they touch.
  • Uptime history bars: a service that measures daily: a strip of days per part, disruptions marked, availability beside it.
  • Uptime history table: A monitoring register comparing state, availability and response time, from the service’s own measurements only.

All 9 status blocks