Repository navigation
feat(web): use hyperstructure's logo and make the app installable - #44
Merged
kalaspuff merged 3 commits intoOct 18, 2026
Merged
Conversation
The logo is now hyperstructure's symbol on a rounded yellow square, from @hyperstructure/design (pinned to the design pull request's commit until it is released). The app is also installable as an app on phones and computers: a web app manifest, an apple-touch-icon and PNG icons from the design package (rounded for purpose "any", yellow to the edges for maskable and home screen icons), and a service worker that shows an offline page when a page cannot load, which also lets Chrome and Edge offer the install button. The browser's and the installed app's title bar now follow the theme, and the message box, toasts, the sidebar and the project settings' save button keep clear of the notch and the home indicator in the installed app on a phone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 18, 2026
kalaspuff
deleted the
fctl/12-let-s-change-the-logo-of-everything-on-f
branch
October 18, 2026 02:52
5 of 7 tasks
kalaspuff
pushed a commit
to hyperstructure/fctl-site
that referenced
this pull request
Oct 18, 2026
fctl.sh shows fctl's new mark: hyperstructure's symbol (the rings) on a yellow square with rounded corners, from hyperstructure/design#4. It replaces the two slanted bars in the nav and the favicon, and fctl.sh gets a home screen icon. - The nav on the landing page, docs and legal pages shows `/favicon.svg` (an `<img>`) instead of a copy of the mark inlined in each page, so the pages can't drift from the design package. AGENTS.md says so instead of asking for the inline copies to match `brand.ts`. - The `brand-assets` plugin in `vite.config.ts` also serves `apple-touch-icon.png` from the package (180×180, yellow to the edges, for iOS home screens and Safari's favorites), and every page links it. - The privacy policy's "Cookies and browser storage" now says app.fctl.sh keeps a copy of its offline page in the browser: it comes with making the app installable in hyperstructure/fctl (a service worker that shows that page when there's no connection). It holds no personal data. `updated` is 2026-10-18. fctl.sh itself still stores nothing in the browser. `@hyperstructure/design` moves from v0.1.2 to [v0.2.0](https://github.com/hyperstructure/design/releases/tag/v0.2.0), the release with hyperstructure/design#4. Its breaking change (`mark` is drawn in a 256×256 viewBox) doesn't affect this site, which doesn't read `mark`. ## Verification - `npm run check` and `FCTL_DOCS_DIR=<fctl checkout> npm run build` (7 docs pages and 2 legal pages rendered). - The built site under `vite preview`: the landing page in both themes at 1280 wide and at a phone width (390), and a docs page; the nav mark at 24px is sharp. `/favicon.svg` and `/apple-touch-icon.png` are served as `image/svg+xml` and `image/png`. Goes with hyperstructure/design#4 (released as v0.2.0) and hyperstructure/fctl#44 (the app's logo and installing it). Made in fctl session https://app.fctl.sh/s/ses_01M56BTAZM8R6TT2QC6HXQV6WX --------- Co-authored-by: fctl-sh[bot] <fctl-sh[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
fctl's logo is now hyperstructure's symbol, the rings on a yellow square with rounded corners, as on the hyperstructure organization on GitHub but without the hard corners. And the app installs on phones and computers (Safari on iPhone, iPad and Mac, Chrome and Edge), so it opens from the home screen or the Dock in its own window.
The logo
@hyperstructure/designmoves from v0.1.1 to v0.2.0 (feat(brand)!: make hyperstructure's symbol fctl's mark, with app icons design#4), which makes the symbol fctl'smarkand adds PNG app icons. v0.1.2's Instrument Serif comes along; the app doesn't use it, and its font files load only when text does.Logo(sidebar, phone top bar, sign-in) draws the newmark: a 256×256 viewBox now, so the background is drawn from it and the rings are filled with fill-rule evenodd. The favicon comes from the package as before.Installing the app
web/public/manifest.webmanifest: name,standalonedisplay, colors, and icons from the design package. Icons that are shown as they are (purpose: any, 192 and 512) are the rounded mark; icons the platform shapes itself (maskable, 512 and 1024, andapple-touch-icon.png, 180) are yellow to the edges, so iOS, macOS, Android and ChromeOS apply their own rounding to a full square.index.htmllinks the manifest and the apple-touch-icon and names the app for iOS.brand-assetsplugin invite.config.tsserves and emits the favicon and the icons from the package (BRAND_ASSETS).web/public/sw.js, a small service worker registered in production builds only. Chrome and Edge show the install button in the address bar, and Android its install prompt, only for apps that have one with a fetch handler; menu installs work without it. It answers page navigations from the network and showsoffline.htmlwhen that fails (instead of the browser's error), caches nothing else, and leaves/api/alone, so sign-in redirects and downloads never pass through it. It caches the page at/offlinebecause Workers static assets redirect/offline.htmlthere (307), and a navigation can't take a redirect from a service worker.public/theme.jssets it before the first paint andsetThemeon a switch. It was always the dark canvas color.viewport-fit=cover, the installed app on a phone reaches under the notch and the home indicator. The message box, toasts, the sidebar and the project settings' save button keep clear of them withenv(safe-area-inset-*), and the shell pads the sides in landscape.Every instance's manifest names the app "fctl", whatever its instance name: the manifest is a static asset.
Verification
cargo xtask checkpasses (with the design commit before the release; after moving to v0.2.0,npm run check,npm testand the build again; the built icons are byte for byte v0.2.0's).src/lib/theme.test.ts), and the manifest andindex.htmlpoint at icons the build serves, at the sizes they claim (src/app-manifest.test.ts; it fails on a mistyped icon).cargo xtask dev --no-vite(the production build on wrangler) with Chromium 156 through Playwright and DevTools: no installability errors (Page.getInstallabilityErrorsin a normal profile), the manifest parses without errors, the service worker is active with scope/, an offline page load shows the offline page, an offline/api/request fails as before, and the manifest and icons come withapplication/manifest+jsonandimage/png.Made in fctl session https://app.fctl.sh/s/ses_01M56BTAZM8R6TT2QC6HXQV6WX