Add Tiny Tool Town submission canvas#2240
Merged
aaronpowell merged 5 commits intoJul 8, 2026
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
|
🔴 Contributor Reputation Check: HIGH risk
Maintainers: please review this contributor before merging. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Copilot Canvas extension (“Tiny Tool Town Submitter”) under extensions/ to analyze the active Git repository, prefill Tiny Tool Town submission fields, present readiness recommendations, preview page themes, and create the public submission issue only after explicit confirmation.
Changes:
- Introduces the Tiny Tool Town Submitter extension runtime (
extension.mjs) plus repository analyzer and HTML renderer modules. - Adds extension metadata (
.github/plugin/plugin.json), documentation (README.md), and preview asset wiring. - Registers the extension in the generated marketplace index (
.github/plugin/marketplace.json).
Show a summary per file
| File | Description |
|---|---|
| extensions/tiny-tool-town-submitter/README.md | Documents the new submission canvas and its actions/dependencies. |
| extensions/tiny-tool-town-submitter/lib/renderer.mjs | Provides the in-canvas HTML/CSS/JS UI for editing and submitting a listing. |
| extensions/tiny-tool-town-submitter/lib/analyzer.mjs | Implements repo inspection, metadata inference, recommendations, and issue body generation. |
| extensions/tiny-tool-town-submitter/extension.mjs | Hosts the local canvas server, persistence, actions, and GH CLI-backed issue submission/duplicate detection. |
| extensions/tiny-tool-town-submitter/.github/plugin/plugin.json | Declares extension metadata for plugin validation/marketplace ingestion. |
| .github/plugin/marketplace.json | Adds the new extension entry to the marketplace catalog output. |
Review details
- Files reviewed: 6/7 changed files
- Comments generated: 2
- Review effort level: Low
Resolve picker opens from the active session working directory so linked worktrees work without an explicit repository path. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Detect root .csproj files as build signals and hide canvas access tokens from the visible URL after first load. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Handle root-relative README images, preserve drafts during refresh, and suppress GitHub mentions before public issue creation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Close all canvas servers during shutdown, use nonce-based CSP, make theme optional, and hide decorative preview dots from assistive tech. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Comment on lines
+361
to
+366
| const coordinates = githubCoordinates(metadata?.githubUrl); | ||
| if (!coordinates || metadata.githubUrl !== `https://github.com/${coordinates.owner}/${coordinates.repo}`) { | ||
| errors.push("GitHub repository URL must be a canonical https://github.com/owner/repository URL."); | ||
| } else if (facts?.repoSlug && `${coordinates.owner}/${coordinates.repo}`.toLowerCase() !== facts.repoSlug.toLowerCase()) { | ||
| errors.push(`GitHub repository URL must match the inspected repository (${facts.repoSlug}).`); | ||
| } |
aaronpowell
approved these changes
Jul 8, 2026
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
Validation
npm run plugin:validatenpm run skill:validatenpm run buildbash eng/fix-line-endings.sh