Name the tab glean_code_cli and give it a favicon - #32
Merged
Merged
Conversation
The tab said "Glean Code" with the browser's blank-page icon, so the site was unidentifiable among open tabs. It now reads glean_code_cli — the command you type, matching the repository — and carries an icon. The site title is deliberately separate from the README's title now: a tab wants the command, and the hidden <h1> keeps the product name "Glean Code" for screen readers and search engines. The header mark gains the same suffix: glean_code_cli. The icons are generated by .github/pages/make_icons.py — a ">" prompt and an "_" cursor in the wordmark's cyan on its dark plate: assets/favicon.svg every current browser, sharp at any size assets/apple-touch-icon.png 180x180, for an iOS home screen iOS home-screen icons have to be raster, and Pillow is not a dependency this repo is willing to take, so the PNG is encoded with zlib and struct: coverage per pixel from the distance to each stroke, one linear ramp for the edge, then IHDR/IDAT/IEND with crc32. The SVG carries its own rounded corners; the PNG is square because iOS masks its own. Tests: 1,094 -> 1,100, including that the committed icons match the generator, that the PNG really is a 180x180 PNG, and that the mark covers the pixels it should and leaves the plate alone where it should. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
The tab said "Glean Code" with the browser's blank-page icon, so the site was unidentifiable among open tabs.
Title
The tab now reads
glean_code_cli— the command you type, matching the repository — and the header mark gains the same suffix.The site title is deliberately decoupled from the README's title now: a tab wants the command, while the hidden
<h1>keeps the product name "Glean Code" for screen readers and search engines.Favicon
.github/pages/make_icons.pygenerates a>prompt and an_cursor in the wordmark's cyan on its dark plate:assets/favicon.svgassets/apple-touch-icon.pngiOS home-screen icons have to be raster, and Pillow isn't a dependency this repo should take, so the PNG is encoded with
zlibandstruct: per-pixel coverage from the distance to each stroke, one linear ramp for the edge, then IHDR/IDAT/IEND with crc32. The SVG carries its own rounded corners; the PNG is square because iOS masks its own.Regenerate either with
python3 .github/pages/make_icons.py.Tests
1,094 → 1,100, covering:
Verified by rendering the icon at 180px and the header at 1100px.
🤖 Generated with Claude Code