Release notes
Shown as Almanac, a made-up product
Release notes for a sailing app: search, type and version filters, a stable and a beta channel, notes that open in place and a release timeline that keeps pace as you scroll.
Installation
pnpm dlx shadcn@latest add "https://propui.dev/r/almanac-changelog.json?token=…"Adds the piece to components/propui/07-almanac-changelog/ and installs motion. Needs a free account: sign in and the command includes your token. Fonts load from Prop UI; download the zip to self-host them.
When to use
Reach for it when
- A product changelog or release notes page with many releases a customer needs to search and filter.
- Release notes for admins rolling an app out to a team, who need the breaking changes and what each one requires.
- A changelog with a stable and a beta channel side by side.
Something else fits when
- A handful of announcements a year: a simple list of posts is lighter.
- A single What's new popover inside an app: show the latest note in place instead.
- A newsletter signup on its own: Newsletter is built around the issue itself.
Usage
A section in normal page flow.
import Piece from "@/components/propui/07-almanac-changelog/Section";
export default function Page() {
return <Piece />;
}Replace NOTES, META and LATEST in data.ts with your releases, and the name, nav and feed URLs in Section.tsx. Counts, versions, the Latest badge, the release timeline and the version menus are all derived from the notes.
Your data
Replace these and everything on screen follows.
ENTRIESEntry[]- Every note, built from NOTES and META; the feed, counts, filters and timeline all read it.
Entry{ id; month; date; iso; version; kind; title; summary; details; media?; platforms; channel; breaking?; requires?; doc? }- One note: its type tag, Breaking tag, platforms, requirement, guide link and what Details opens to.
Mediatide | stat | code | keys- An optional figure inside a note: a tide chart, a before / after bar, a code sample with copy, or keyboard shortcuts.
RELEASES{ version; date; iso; month; channel; latest? }[]- Derived from ENTRIES: the release groups, the timeline and the version menus.
MONTHS{ key; name; year; short }[]- The month headings in the release timeline.
KINDS{ id: Kind; label }[]- The type filter and the note tags (New, Improved, Fixed, Security).
LATEST, SINCE{ version; date; platforms }, string- The Latest badge under the title and the line at the end of the feed.
Interactions
- Switch the release channel between Stable and Beta; Beta adds the beta release and its notes to every count and menu.
- Search every note; matches are highlighted, and nothing matching shows an empty state with Clear filters.
- Filter by type, by version and by Breaking only; the type counts follow the other filters.
- Open a note's Details in place, copy a link to it, or follow its guide link.
- Click a release in the timeline to glide to it; the timeline follows the page as you scroll.
- Read the tide chart under the pointer or with the arrow keys.
- Get release notes opens an email field, then settles into Subscribed with Undo; RSS and JSON copy their feed URLs.
Keyboard
- /
- Jump to the search field from anywhere on the page.
- Esc
- In the search field, clear it. In the email field, close it.
- Enter
- In the email field, subscribe.
- ←or→
- On the tide chart, move the reading by ten minutes.
- Home
- On the tide chart, jump to the departure window.
- EnterorSpace
- Press the focused filter, note toggle, copy button or release.
Behaviour
Read from the code: roles, motion, breakpoints and what runs.
Accessibility
- The channel and type filters are radio groups with aria-checked; Breaking only is a switch.
- A polite live region announces how many notes are showing after every filter change.
- Details buttons carry aria-expanded and aria-controls; jumping to a release moves focus to its heading.
- The tide chart is a slider with a spoken value ("12:20, 1.2 metres").
- Copy buttons announce Copied (or that copying failed) through a live region.
- The email field has a label; an invalid address is marked aria-invalid and the reason is read out.
Motion
- Filter pills and the timeline marker glide between options on one spring; counts roll up when they grow and down when they shrink.
- Releases and notes that stay slide into their new places while the rest fade, so filtering never jumps.
- Details opens on a height spring; the email key morphs to each width on a spring and shakes once on an invalid address.
- Reduced motion makes every spring, roll and draw instant, and scrolling to a release jumps instead of gliding.
Responsive
- At 960px and below the header stacks, the release timeline hides and a Jump to release menu appears in the filter bar.
- At 640px and below the nav keeps only the current page, the filters stack and wrap instead of scrolling sideways, and each note puts its tags and Details on one row above the text.
- Under 360px the current-page tab hides too, so Open app keeps one line.
Performance
- The scroll listener reads positions at most once per frame and stops while a jump is gliding.
- No images: the tide chart and figures are inline SVG and CSS, with three local font files.
Notes for AI
Give your coding assistant the Markdown, not a screenshot.
- Add notes to NOTES and their platforms, channel and requirements to META; never hard-code counts or versions in the markup.
- Keep beta notes on channel "beta" so the Stable channel stays clean.
- Every class is prefixed al- and scoped under .al; keep colours in the tokens at the top of post.css.
/p/almanac-changelog/markdownThe whole library for assistants: llms.txt, or the MCP server in AI tools and MCP.