Skip to content

Add canvas previews, external extension links, and release notes showcase#1987

Merged
aaronpowell merged 12 commits into
github:stagedfrom
jamesmontemagno:jamesmontemagno/adding-swipe-canvas-assets
Jun 16, 2026
Merged

Add canvas previews, external extension links, and release notes showcase#1987
aaronpowell merged 12 commits into
github:stagedfrom
jamesmontemagno:jamesmontemagno/adding-swipe-canvas-assets

Conversation

@jamesmontemagno

@jamesmontemagno jamesmontemagno commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR expands the canvas extension experience end-to-end across the repo website, extension metadata generation, and extension runtime behavior.

Website and data pipeline updates

  • Added extension preview image support in website data generation and rendering.
  • Added assets/preview.png convention support with safe URL encoding for asset paths.
  • Added responsive extension thumbnails and click-to-enlarge preview modal.
  • Added support for external extension entries (including per-entry installUrl, sourceUrl, and image support).
  • Added extensions/external.json registry and wired external entries into website extensions listings.
  • Added external preview asset support and included Coffilot example entry.
  • Added homepage link to https://github.com/github/awesome-copilot/.

New/updated canvas extensions

  • Added backlog-swipe-triage extension and hardened behavior based on review feedback:
    • pinned dependency versions
    • better async error handling
    • HTML escaping improvements
    • serialized state writes
    • request size limits + 413 handling
    • clearer session state semantics
  • Added release-notes-showcase canvas extension.

Release notes showcase improvements

  • Made the canvas repo-aware (resolves active repository/session context correctly).
  • Added release source controls for:
    • loading a selected tag
    • drafting unreleased notes from latest tag to HEAD
  • Moved Release source controls to top-level placement above Top hits.
  • Improved unreleased draft generation to incorporate:
    • commits since latest tag
    • merged pull requests since latest tag
    • closed issues since latest tag
  • Removed synthetic/fake defaults:
    • default canvas state is now explicit no-data until real release data is loaded
    • no fabricated sections/contributors/highlights in baseline state

Runtime/install ergonomics

  • Addressed duplicate extension-provider conflict for backlog-swipe-triage (user: vs project:).
  • Verified user-scope extension installation flow and reload behavior for cross-repo usage.

Branch/target

  • Base branch is staged.
  • PR includes only intended canvas/website/extension changes related to previews, external listings, and release-notes canvas work.

Copilot AI review requested due to automatic review settings June 13, 2026 00:05

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ This PR targets main, but PRs should target staged.

The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.

You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 1987 --base staged

@github-actions github-actions Bot added targets-main PR targets main instead of staged website-update PR touches website content or code labels Jun 13, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds extension preview imagery support to the website, and introduces a new “Backlog Swipe Triage” canvas extension.

Changes:

  • Render extension cards with optional thumbnail images + placeholder styling.
  • Generate extension metadata that includes imageUrl/assetPath derived from extensions/*/assets.
  • Add new backlog-swipe-triage extension (server-backed canvas) with docs.
Show a summary per file
File Description
website/src/styles/global.css Updates resource card layout to support a thumbnail + placeholder styling.
website/src/scripts/pages/extensions-render.ts Renders extension thumbnails (or placeholder) in the extensions list HTML.
extensions/backlog-swipe-triage/package.json Adds a new extension package using the Copilot SDK.
extensions/backlog-swipe-triage/extension.mjs Implements the swipe-triage canvas with local HTTP server, storage, and GitHub issue actions.
extensions/backlog-swipe-triage/README.md Documents expected assets for extension preview imagery.
eng/generate-website-data.mjs Detects extension screenshots under assets/ and emits imageUrl/assetPath in generated metadata.

Copilot's findings

Files not reviewed (1)
  • extensions/backlog-swipe-triage/package-lock.json: Generated file
  • Files reviewed: 6/9 changed files
  • Comments generated: 9

Comment thread extensions/backlog-swipe-triage/package.json
Comment thread extensions/backlog-swipe-triage/extension.mjs
Comment thread extensions/backlog-swipe-triage/extension.mjs Outdated
Comment thread extensions/backlog-swipe-triage/extension.mjs
Comment thread extensions/backlog-swipe-triage/extension.mjs
Comment thread extensions/backlog-swipe-triage/extension.mjs
Comment thread extensions/backlog-swipe-triage/extension.mjs Outdated
Comment thread website/src/styles/global.css
Comment thread eng/generate-website-data.mjs
@jamesmontemagno

Copy link
Copy Markdown
Contributor Author
image

@jamesmontemagno jamesmontemagno changed the base branch from main to staged June 15, 2026 17:45

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Base branch is now set correctly.

Removing the prior block because this PR no longer targets main.

@github-actions github-actions Bot added branched-main PR appears to include plugin files materialized from main external-plugin PR updates plugins/external.json and removed targets-main PR targets main instead of staged website-update PR touches website content or code labels Jun 15, 2026
@jamesmontemagno jamesmontemagno changed the base branch from staged to main June 15, 2026 17:46

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ This PR targets main, but PRs should target staged.

The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.

You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 1987 --base staged

@github-actions github-actions Bot added targets-main PR targets main instead of staged website-update PR touches website content or code and removed branched-main PR appears to include plugin files materialized from main external-plugin PR updates plugins/external.json labels Jun 15, 2026
@jamesmontemagno jamesmontemagno changed the base branch from main to staged June 15, 2026 17:47
github-actions[bot]
github-actions Bot previously approved these changes Jun 15, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Base branch is now set correctly.

Removing the prior block because this PR no longer targets main.

@github-actions github-actions Bot added branched-main PR appears to include plugin files materialized from main external-plugin PR updates plugins/external.json and removed targets-main PR targets main instead of staged website-update PR touches website content or code labels Jun 15, 2026
jamesmontemagno and others added 3 commits June 15, 2026 10:48
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jamesmontemagno jamesmontemagno force-pushed the jamesmontemagno/adding-swipe-canvas-assets branch from 314f662 to 5b315fb Compare June 15, 2026 17:48
@github-actions github-actions Bot added website-update PR touches website content or code and removed branched-main PR appears to include plugin files materialized from main external-plugin PR updates plugins/external.json labels Jun 15, 2026
Comment thread website/src/styles/global.css Outdated
aaronpowell
aaronpowell previously approved these changes Jun 16, 2026
jamesmontemagno and others added 4 commits June 16, 2026 08:48
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
brunoborges
brunoborges previously approved these changes Jun 16, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jamesmontemagno jamesmontemagno changed the title Add extension thumbnails and preview assets Add 3 Canvas Extensions and add images to canvas page Jun 16, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jamesmontemagno jamesmontemagno changed the title Add 3 Canvas Extensions and add images to canvas page Add canvas previews, external extension links, and release notes showcase Jun 16, 2026
@aaronpowell aaronpowell merged commit ea5d3f4 into github:staged Jun 16, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

website-update PR touches website content or code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants