Skip to content

Add Examples menu, SECURITY.md, refresh README image#7

Merged
vecnode merged 1 commit into
mainfrom
examples-security-and-readme
Jun 28, 2026
Merged

Add Examples menu, SECURITY.md, refresh README image#7
vecnode merged 1 commit into
mainfrom
examples-security-and-readme

Conversation

@vecnode

@vecnode vecnode commented Jun 28, 2026

Copy link
Copy Markdown
Owner

What & why

Three items.

1. README main image

Switched the hero image to assets/img3.png, which shows the current UI (blue theme, p5 version label, capture panel).

2. SECURITY.md — closes #2

Adds a SECURITY.md adapted to this project rather than a generic template. It documents the real security model — loopback-only HTTP server, the allow-scripts-only sandboxed sketch iframe, server-generated filenames with an extension allow-list, and the offline-first design — and routes reports through GitHub private vulnerability reporting (Security Advisories) instead of a placeholder email. Linked from the README.

Closes #2.

3. Examples menu

New Examples top-bar menu (a second dropdown beside File) with three built-in p5 sketches — bouncing ball, sine wave, spinning square. Selecting one loads it into the editor and runs it. The menu dropdowns now render above the Ace editor: the header gets its own stacking context (position: relative; z-index: 20) and the menu list's z-index was raised, so open menus overlay the editor instead of being painted under it.

Reviewer notes

  • node --check passes; the Debug target builds, links, and re-embeds assets.
  • SECURITY.md uses GitHub private vulnerability reporting as the contact channel (no personal email hard-coded). To make the "Report a vulnerability" link live, enable Private vulnerability reporting in the repo's Security settings.

🤖 Generated with Claude Code

- New "Examples" top-bar menu with three built-in p5 sketches
  (bouncing ball, sine wave, spinning square); selecting one loads and
  runs it. Dropdowns now stack above the Ace editor (header z-index).
- Add SECURITY.md tailored to this app (loopback server, sandboxed
  sketch iframe, constrained save endpoints, offline-first), using
  GitHub private vulnerability reporting. Linked from README. Closes #2.
- README main image switched to assets/img3.png (current UI).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vecnode vecnode merged commit 6b6156a into main Jun 28, 2026
@vecnode vecnode deleted the examples-security-and-readme branch June 28, 2026 09:40
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.

Add cross-platform SECURITY.md template for neo-processing

1 participant