Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Add generateCatalogLinks utility to create sensible version diffs - Create CatalogPage component to display version comparisons - Update routing to detect single package and show catalog - Show 16 links organized by major/minor/patch versions - Links use prefetch=false to avoid preloading diffs - Tests passing for catalog link generation Co-authored-by: oBusk <13413409+oBusk@users.noreply.github.com>
|
@copilot don't commit any changes to next-env.d.ts Major diffs should be from the last version of a major span, to the first of next. So find <19 and diff to 19.0.0. diff <18 to 18.0.0. I want to see a diff between for example 18.3.4...19.0.0 or 17.9.4 and 18.0.0. The diffs between minor should be from last minor to the first minor in the next. From 18.3.4 to 18.4.0 for example. Show patch examples first on the catalog page. |
- Revert next-env.d.ts to original state (auto-generated file) - Change major diffs to compare last of previous major to first (X.0.0) of next major - Change minor diffs to compare last of previous minor to first (X.Y.0) of next minor - Reorder catalog sections to show patches first, then minors, then majors - Update tests to match new behavior Co-authored-by: oBusk <13413409+oBusk@users.noreply.github.com>
Fixed in commit 0f880ce:
Screenshot: https://github.com/user-attachments/assets/2c209915-62be-4693-9c97-c2e38775e0cc |
|
Closed in favour of #1040 |
Single package URLs (e.g.,
/react,/angular) currently compare a package to itself, which is not useful. This adds catalog/index pages that show ~16 sensible version diffs instead.Changes
Catalog link generation (
src/lib/catalog/generateCatalogLinks.ts)Catalog page (
src/app/[...parts]/_catalog/CatalogPage.tsx)prefetch={false}to prevent preloading all diffs on page loadRouting (
src/app/[...parts]/page.tsx)destination()Example
Visiting
/reactnow shows:19.2.2 → 19.2.3,19.2.1 → 19.2.2, ...19.1.4 → 19.2.0,18.2.0 → 18.3.0, ...18.3.1 → 19.0.0,17.0.2 → 18.0.0, ...Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.