Repository navigation
feat: use hyperstructure's symbol as fctl's logo - #5
Merged
kalaspuff merged 2 commits intoOct 18, 2026
Merged
Conversation
The nav, the favicon and the new home screen icon show fctl's new mark from @hyperstructure/design: hyperstructure's symbol on a rounded yellow square. The nav shows the package's favicon.svg instead of a copy of the mark inlined in each page, so the pages can't drift from the package, and fctl.sh now has an apple-touch-icon.png for iOS home screens and Safari's favorites. The privacy policy now says that app.fctl.sh keeps a copy of its offline page in the browser, which comes with installing it as an app (hyperstructure/fctl). 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
pushed a commit
to hyperstructure/fctl
that referenced
this pull request
Oct 18, 2026
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/design` moves from v0.1.1 to [v0.2.0](https://github.com/hyperstructure/design/releases/tag/v0.2.0) (hyperstructure/design#4), which makes the symbol fctl's `mark` and 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 new `mark`: 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. - The README's image is fctl.sh's favicon, so it changes when hyperstructure/fctl-site#5 deploys. ## Installing the app - `web/public/manifest.webmanifest`: name, `standalone` display, 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, and `apple-touch-icon.png`, 180) are yellow to the edges, so iOS, macOS, Android and ChromeOS apply their own rounding to a full square. `index.html` links the manifest and the apple-touch-icon and names the app for iOS. - The `brand-assets` plugin in `vite.config.ts` serves 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 shows `offline.html` when 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 `/offline` because Workers static assets redirect `/offline.html` there (307), and a navigation can't take a redirect from a service worker. - The theme color (the browser's toolbar and the installed app's title bar) follows the theme: `public/theme.js` sets it before the first paint and `setTheme` on a switch. It was always the dark canvas color. - With `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 with `env(safe-area-inset-*)`, and the shell pads the sides in landscape. - Docs: getting-started says how to install the app; development.md how it works and how to try it; the architecture table mentions it. hyperstructure/fctl-site#5 adds the cached offline page to the privacy policy's browser storage section. Every instance's manifest names the app "fctl", whatever its instance name: the manifest is a static asset. ## Verification - `cargo xtask check` passes (with the design commit before the release; after moving to v0.2.0, `npm run check`, `npm test` and the build again; the built icons are byte for byte v0.2.0's). - New tests: a theme switch sets the theme color (`src/lib/theme.test.ts`), and the manifest and `index.html` point 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.getInstallabilityErrors` in 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 with `application/manifest+json` and `image/png`. - Screenshots in both themes at 1280×800 and 390×844: floor, session, sign-in and the phone drawer, and with an iPhone's safe areas emulated (34 px at the bottom in portrait, 47 px at the sides in landscape): the message box and the drawer's last row clear the home indicator. - Not tried on a real iPhone, Android phone or Mac: this sandbox has none. 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]>
5 of 7 tasks
kalaspuff
deleted the
fctl/12-let-s-change-the-logo-of-everything-on-f
branch
October 18, 2026 03:16
kalaspuff
pushed a commit
that referenced
this pull request
Oct 18, 2026
app.fctl.sh now sends web push notifications (hyperstructure/fctl#4, hyperstructure/fctl#48), so the privacy policy says what that keeps, who delivers them and for how long: - **What we collect**: for each browser where someone turns notifications on, its push subscription (the address its push service delivers to and the keys notifications are encrypted with), its name, and when it was added and last notified; which sessions they follow; and what they want to be notified about. The browser keeps a note of which account turned them on, and the app's service worker shows them. - **Why**: sending the notifications people turn on is part of running app.fctl.sh for them (contract). - **Who else receives it**: the browser's push service (Google for Chrome and most browsers built on it, Mozilla for Firefox, Apple for Safari, Microsoft for Edge). Notifications are encrypted for the browser, so the push service learns when one is sent, to which subscription and how big it is, not what it says. - **How long**: a subscription until notifications are turned off there or the browser is removed in Settings, the person signs out of that browser or its browser session expires, or the push service says it expired. A notification waits about a minute at most before it goes out and isn't kept afterwards. Follows last until unfollowed or the session is deleted; settings until the account is deleted. - **Your rights**: the export includes notification settings, browsers and followed sessions; Settings → Notifications is where to change them. `updated` is now 2026-10-18. #5 changes the last line of the "Cookies and browser storage" paragraph; this change leaves that paragraph alone so the two merge cleanly (both set the same date). Checked with `npm run check` and `FCTL_DOCS_DIR=<fctl checkout> npm run build`, which renders `/privacy` with the new text. Text only, so no screenshots. Made in fctl session https://app.fctl.sh/s/ses_01M56C5VTFNC4JGZ8XVFW36J3G 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.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.
/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 matchbrand.ts.brand-assetsplugin invite.config.tsalso servesapple-touch-icon.pngfrom the package (180×180, yellow to the edges, for iOS home screens and Safari's favorites), and every page links it.updatedis 2026-10-18. fctl.sh itself still stores nothing in the browser.@hyperstructure/designmoves from v0.1.2 to v0.2.0, the release with hyperstructure/design#4. Its breaking change (markis drawn in a 256×256 viewBox) doesn't affect this site, which doesn't readmark.Verification
npm run checkandFCTL_DOCS_DIR=<fctl checkout> npm run build(7 docs pages and 2 legal pages rendered).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.svgand/apple-touch-icon.pngare served asimage/svg+xmlandimage/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