fix(plugins): show last-modified date on plugin cards, not first-published#368
Merged
JohnMcLear merged 2 commits intoether:masterfrom Apr 17, 2026
Merged
Conversation
The `.max-w-xl` quick-install container sat flush-left against the hero copy with only `mt-4` above it, so on wider viewports it hugged the left gutter and crowded the subhead. Add `mx-auto` to centre it within the `.wrap`, `my-8` to give it clear vertical separation from the paragraph above and the demo gif below, and `p-2` to pad the tab/command/caption stack away from the border. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…t-published The date next to each plugin's version was rendered from \`plugins.time\` — the npm first-publish timestamp, which stays fixed for the lifetime of the package. That's why actively-maintained plugins like ep_list_pads (first published 2025-08-25, last modified 2026-04-15) were reading as "8 months ago" on /plugins even though a new version shipped two days earlier. Render \`plugins.modified\` (npm last-publish timestamp) instead, so the card reflects actual recency. Exact ISO date is kept as a tooltip for anyone who wants it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Plugin cards on /plugins were reading as stale ("8 months ago" for ep_list_pads, etc.) even though the plugin had been updated days earlier. The card's date was rendered from `plugins.time` — npm's first-publish timestamp, which never changes — rather than `plugins.modified`.
Switch to `plugins.modified` so the "X ago" label reflects actual recency. Full ISO date is kept as a `title` tooltip.
Example
Test plan
🤖 Generated with Claude Code