Skip to content

Activity feed

Productivity
Activity feed
Recent activity
Last 7 days across all machines.
ship

kai shipped Payment retry loop

3h

merge

winston merged Field family port

5h

open

ai opened Investigate flaky checkout test

1d

Card with a stack of timeline entries — actor, action, timestamp. For project changelogs and audit panes.

card · stack · badge
import { Card, CardHeader, CardTitle, CardDescription, CardContent } from "@/components/ui/card"
import { Stack } from "@/components/ui/stack"
import { Badge } from "@/components/ui/badge"

export function ActivityFeed() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>Recent activity</CardTitle>
        <CardDescription>Last 7 days across all machines.</CardDescription>
      </CardHeader>
      <CardContent>
        <Stack direction="col" gap="3">
          <Stack direction="row" gap="3" align="center">
            <Badge variant="default">ship</Badge>
            <p className="text-sm flex-1">kai shipped Payment retry loop</p>
            <p className="text-xs text-muted-foreground font-mono">3h</p>
          </Stack>
          <Stack direction="row" gap="3" align="center">
            <Badge variant="secondary">merge</Badge>
            <p className="text-sm flex-1">winston merged Field family port</p>
            <p className="text-xs text-muted-foreground font-mono">5h</p>
          </Stack>
          <Stack direction="row" gap="3" align="center">
            <Badge variant="outline">open</Badge>
            <p className="text-sm flex-1">ai opened Investigate flaky checkout test</p>
            <p className="text-xs text-muted-foreground font-mono">1d</p>
          </Stack>
        </Stack>
      </CardContent>
    </Card>
  )
}
ui26/react
<script lang="ts">
  import Card from "$lib/components/ui/card.svelte"
  import CardHeader from "$lib/components/ui/card-header.svelte"
  import CardTitle from "$lib/components/ui/card-title.svelte"
  import CardDescription from "$lib/components/ui/card-description.svelte"
  import CardContent from "$lib/components/ui/card-content.svelte"
  import Stack from "$lib/components/ui/stack.svelte"
  import Badge from "$lib/components/ui/badge.svelte"
</script>

<Card>
  <CardHeader>
    <CardTitle>Recent activity</CardTitle>
    <CardDescription>Last 7 days across all machines.</CardDescription>
  </CardHeader>
  <CardContent>
    <Stack direction="col" gap="3">
      <Stack direction="row" gap="3" align="center">
        <Badge variant="default">ship</Badge>
        <p class="text-sm flex-1">kai shipped Payment retry loop</p>
        <p class="text-xs text-muted-foreground font-mono">3h</p>
      </Stack>
      <Stack direction="row" gap="3" align="center">
        <Badge variant="secondary">merge</Badge>
        <p class="text-sm flex-1">winston merged Field family port</p>
        <p class="text-xs text-muted-foreground font-mono">5h</p>
      </Stack>
      <Stack direction="row" gap="3" align="center">
        <Badge variant="outline">open</Badge>
        <p class="text-sm flex-1">ai opened Investigate flaky checkout test</p>
        <p class="text-xs text-muted-foreground font-mono">1d</p>
      </Stack>
    </Stack>
  </CardContent>
</Card>
ui26/svelte
---
import Card from "@/components/ui/card.astro"
import CardHeader from "@/components/ui/card-header.astro"
import CardTitle from "@/components/ui/card-title.astro"
import CardDescription from "@/components/ui/card-description.astro"
import CardContent from "@/components/ui/card-content.astro"
import Stack from "@/components/ui/stack.astro"
import Badge from "@/components/ui/badge.astro"
---

<Card>
  <CardHeader>
    <CardTitle>Recent activity</CardTitle>
    <CardDescription>Last 7 days across all machines.</CardDescription>
  </CardHeader>
  <CardContent>
    <Stack direction="col" gap="3">
      <Stack direction="row" gap="3" align="center">
        <Badge variant="default">ship</Badge>
        <p class="text-sm flex-1">kai shipped Payment retry loop</p>
        <p class="text-xs text-muted-foreground font-mono">3h</p>
      </Stack>
      <Stack direction="row" gap="3" align="center">
        <Badge variant="secondary">merge</Badge>
        <p class="text-sm flex-1">winston merged Field family port</p>
        <p class="text-xs text-muted-foreground font-mono">5h</p>
      </Stack>
      <Stack direction="row" gap="3" align="center">
        <Badge variant="outline">open</Badge>
        <p class="text-sm flex-1">ai opened Investigate flaky checkout test</p>
        <p class="text-xs text-muted-foreground font-mono">1d</p>
      </Stack>
    </Stack>
  </CardContent>
</Card>
ui26/astro
{
  "root": "card",
  "elements": {
    "card": {
      "type": "Card",
      "props": {},
      "children": [
        "hdr",
        "content"
      ]
    },
    "hdr": {
      "type": "CardHeader",
      "props": {},
      "children": [
        "title",
        "desc"
      ]
    },
    "title": {
      "type": "CardTitle",
      "props": {
        "text": "Recent activity"
      },
      "children": []
    },
    "desc": {
      "type": "CardDescription",
      "props": {
        "text": "Last 7 days across all machines."
      },
      "children": []
    },
    "content": {
      "type": "CardContent",
      "props": {},
      "children": [
        "stack"
      ]
    },
    "stack": {
      "type": "Stack",
      "props": {
        "direction": "col",
        "gap": "3"
      },
      "children": [
        "r1",
        "r2",
        "r3"
      ]
    },
    "r1": {
      "type": "Stack",
      "props": {
        "direction": "row",
        "gap": "3",
        "align": "center"
      },
      "children": [
        "b1",
        "t1",
        "ts1"
      ]
    },
    "b1": {
      "type": "Badge",
      "props": {
        "text": "ship",
        "variant": "default"
      },
      "children": []
    },
    "t1": {
      "type": "Text",
      "props": {
        "content": "kai shipped Payment retry loop",
        "size": "sm",
        "className": "flex-1"
      },
      "children": []
    },
    "ts1": {
      "type": "Text",
      "props": {
        "content": "3h",
        "size": "xs",
        "muted": true,
        "mono": true
      },
      "children": []
    },
    "r2": {
      "type": "Stack",
      "props": {
        "direction": "row",
        "gap": "3",
        "align": "center"
      },
      "children": [
        "b2",
        "t2",
        "ts2"
      ]
    },
    "b2": {
      "type": "Badge",
      "props": {
        "text": "merge",
        "variant": "secondary"
      },
      "children": []
    },
    "t2": {
      "type": "Text",
      "props": {
        "content": "winston merged Field family port",
        "size": "sm",
        "className": "flex-1"
      },
      "children": []
    },
    "ts2": {
      "type": "Text",
      "props": {
        "content": "5h",
        "size": "xs",
        "muted": true,
        "mono": true
      },
      "children": []
    },
    "r3": {
      "type": "Stack",
      "props": {
        "direction": "row",
        "gap": "3",
        "align": "center"
      },
      "children": [
        "b3",
        "t3",
        "ts3"
      ]
    },
    "b3": {
      "type": "Badge",
      "props": {
        "text": "open",
        "variant": "outline"
      },
      "children": []
    },
    "t3": {
      "type": "Text",
      "props": {
        "content": "ai opened Investigate flaky checkout test",
        "size": "sm",
        "className": "flex-1"
      },
      "children": []
    },
    "ts3": {
      "type": "Text",
      "props": {
        "content": "1d",
        "size": "xs",
        "muted": true,
        "mono": true
      },
      "children": []
    }
  }
}
ui26/json-render