Skip to content

feat(product): mark releases on downloads and compare around them - #63

Merged
jbouder merged 2 commits into
mainfrom
feat/release-markers
Nov 15, 2026
Merged

jbouder merged 2 commits into
mainfrom
feat/release-markers

Conversation

@jbouder

@jbouder jbouder commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Release markers: TrendChart takes a releases prop. On the product page, each stable release in the range is drawn as a thin primary-color line, grouped by week on weekly charts. The tooltip shows "Released v1.2.0", the legend gets a Release entry, and screen readers get the list.
  • Downloads around releases: a new table below the product's downloads chart. For the 10 newest stable releases with data, it shows downloads in the 14 days before, the 14 days from the release day, and the change. It follows the page's source and type filters.
    • A window that starts before every selected source was collected, or hasn't ended yet, is shown as a dash with the reason ("before collection began" or "still filling"), not as zero. Otherwise a source that started later would look like growth.
    • Releases with neither window known are left out. If no release has data, the table is hidden.
  • New helpers releaseMarks and releaseImpact in lib/repos.ts, plus a ReleaseImpact component. TrendChart gets its first test file.
  • README and site/AGENTS.md updated.

Why

It links shipping to usage: did a release pull downloads up, and how fast? It uses data Pulse already has, so there's no collector change.

Notes

  • Products whose sources started recently show few rows for now. For example, Nebi has one row with all sources selected, because conda-forge and GitHub Releases were first collected in October. Filtering to one source shows more. The table fills in as history builds up.
  • Prereleases are not marked or compared.

How to test

  • cd site && npm run build && npm run test -- --run && npm run check
  • npm run dev, open /product/nebi?range=1y: release lines on the weekly chart, hover a line for its tag, and the table below with dashes explained on hover.
  • Switch the source filter to Quay: more releases get both windows.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QW4EeuP9UHCUuqz8NnoBCH

The product page's downloads chart now draws each stable release as a
thin line, with the tags in the tooltip. A new table compares downloads
in the 14 days before each recent stable release with the 14 days from
its release day, following the page's source and type filters.

A window that starts before every selected source was collected, or has
not ended yet, is shown as a dash with the reason rather than as zero,
so a source that started later does not read as growth. Releases with
neither window known are left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QW4EeuP9UHCUuqz8NnoBCH
@jbouder
jbouder force-pushed the feat/release-markers branch from 74f8a44 to 5b3ad29 Compare November 15, 2026 14:10
@github-actions

Copy link
Copy Markdown

Preview deploy: https://pr-63-nebari-pulse.openteams-account.workers.dev

Built from 2e73bad8efa82fb840a51f2eed0e897aa2e418ca. Redeploys on each push to this PR; removed when the PR closes.

@jbouder
jbouder merged commit 63dc576 into main Nov 15, 2026
4 checks passed
@jbouder
jbouder deleted the feat/release-markers branch November 15, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant