Skip to content

feat(brand): socket doorway, plugin icon and a GitHub social preview - #13

Merged
simonokeefe merged 5 commits into
mainfrom
claude/compassionate-newton-xxmji1
Nov 17, 2026
Merged

simonokeefe merged 5 commits into
mainfrom
claude/compassionate-newton-xxmji1

Conversation

@simonokeefe

@simonokeefe simonokeefe commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What changes

  • assets/castlegate-mark.svg:
    • The doorway has a network socket's outline. It keeps its width and is lower, 36 units to the top of its tab against 43, and steps in twice to a tab three blocks wide. Each step is a merlon's height.
    • The yellow surround is a rectangle whose top is level with the tab, so the tab meets the green wall. It carries a green light and an orange light over the outer steps. The doorway's inward-facing yellow is darker than the yellow that faces out.
    • The four arrow slits are holes through the orange walls, as the doorway is through the green wall. They were black drawn over unbroken orange. The black seen in the slits and the doorway carries class="interior", and a comment at the top of the file says how the openings are built.
  • server/castlegate_server/icon.png is the mark drawn at 128 pixels square, with a transparent background. metadata.txt names it with icon=icon.png, so QGIS shows it beside the plugin.
  • assets/social-preview.png is a 1280 × 640 card for the repository's social preview: the mark, "Castlegate" in Outfit, and "Per-user access control for QGIS Server, with OpenID Connect sign-in", on Vectoria's dark navy with the Vectoria logo. The card draws the mark with its class="interior" shapes removed, so the navy shows through the slits, the doorway and the floor.
  • GitHub reads a social preview from the repository's settings, not from the repository's files, so the card has to be uploaded under Settings → General → Social preview.

Checks

  • The mark was rendered in Chromium on white, on GitHub's dark background and on a bright test colour. With the class="interior" shapes removed, the test colour shows through all four slits and the doorway.
  • python scripts/build.py puts castlegate_server/icon.png in the plugin zip.
  • python -m unittest discover -s tests/core -t . and python -m unittest discover -s tests/plugin -t . pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_0125SG3UAHYDLELQvrNCq7Cv

- server/castlegate_server/icon.png is assets/castlegate-mark.svg drawn at 128 pixels square, and metadata.txt names it, so QGIS shows it beside the plugin.
- assets/social-preview.png is a 1280 by 640 card for the repository's social preview: the mark, the name and the repository's description, on Vectoria's dark navy with its logo.
- Verified: python scripts/build.py puts icon.png in the plugin zip; python -m unittest discover -s tests/core -t . and -s tests/plugin -t . pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0125SG3UAHYDLELQvrNCq7Cv
- assets/social-preview.png's tagline reads "Per-user access control for QGIS Server, with OpenID Connect sign-in", the README's word for the people Castlegate serves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0125SG3UAHYDLELQvrNCq7Cv
- On assets/social-preview.png the mark's arrow slits, doorway and floor are transparent, so they take the card's navy. assets/castlegate-mark.svg is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0125SG3UAHYDLELQvrNCq7Cv
@claude

claude Bot commented Nov 17, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

- assets/castlegate-mark.svg: the four arrow slits are now holes through the orange walls, as the doorway is through the green. They were black drawn over unbroken orange, so taking the black away left orange, not the page. The black inside the slits and the doorway carries class="interior", and a comment at the top of the file says how the openings are built.
- The mark looks the same. assets/social-preview.png is redrawn from it with the interior shapes removed, so the card's navy shows through the slits as well as the doorway, and server/castlegate_server/icon.png is redrawn from the new file.
- Verified: rendered on white, GitHub's dark and a bright test colour in Chromium; with the interior shapes removed, the test colour shows through all four slits and the doorway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0125SG3UAHYDLELQvrNCq7Cv
@claude

claude Bot commented Nov 17, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

- assets/castlegate-mark.svg: the doorway keeps its width and is lower, 36 units to the top of its tab against 43. It steps in twice, each step a merlon's height, to a tab three blocks wide. The yellow surround is a rectangle whose top is level with the tab, so the tab meets the green wall, and it carries a green light and an orange light over the outer steps. The doorway's inward-facing yellow is darker, to set it apart from the yellow that faces out.
- server/castlegate_server/icon.png and assets/social-preview.png are redrawn from the new mark; the card still removes the class="interior" shapes so its navy shows through the openings.
- Verified: rendered on white, GitHub's dark and a bright test colour in Chromium; with the interior shapes removed, the test colour shows through all four slits and the doorway.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0125SG3UAHYDLELQvrNCq7Cv
@simonokeefe simonokeefe changed the title feat(brand): add the plugin icon and a GitHub social preview feat(brand): socket doorway, plugin icon and a GitHub social preview Nov 17, 2026
@claude

claude Bot commented Nov 17, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@simonokeefe
simonokeefe merged commit 05f384d into main Nov 17, 2026
10 checks passed
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.

2 participants