Skip to content

feat: add protocol show me example - #2057

Merged
MarshallOfSound merged 1 commit into
mainfrom
port-1365-protocol-example
Oct 30, 2026
Merged

MarshallOfSound merged 1 commit into
mainfrom
port-1365-protocol-example

Conversation

@claude

@claude claude Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Samuel Attard · Slack thread

This adds a "Protocol" entry to the Show Me examples, with a fiddle that registers a custom scheme through protocol.handle and opens a window on a page served by that handler. It re-implements #1365 (which fixes #1364) on top of the rewrite that landed in #2032: the example now lives under the app's bundled static Show Me folder and is listed in the shared examples list that drives both the menu and the command palette, and the existing examples test now expects the extra entry and checks that its folder loads. Like the original, the example uses protocol.handle, so it needs Electron 25 or later; I haven't run it in a real Electron window because the Electron binary download was blocked in this environment.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WZZBj8LEfu5U2Zk4x49PLL

Adds a "Protocol" Show Me example that registers a custom scheme with
protocol.handle and loads a page from it in a BrowserWindow. Ports
#1365 to the rewrite.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WZZBj8LEfu5U2Zk4x49PLL
@MarshallOfSound
MarshallOfSound marked this pull request as ready for review October 30, 2026 07:24
@MarshallOfSound
MarshallOfSound requested review from a team and codebytere as code owners October 30, 2026 07:24

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Code review found no issues

No high-confidence issues detected in this change.

@MarshallOfSound
MarshallOfSound merged commit be86943 into main Oct 30, 2026
13 checks passed
@MarshallOfSound
MarshallOfSound deleted the port-1365-protocol-example branch October 30, 2026 20:56
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.

feature request: protocol api example

3 participants