Skip to content

fix(branding): WorldScript W monogram icons (8-bit, fixes desktop build)#165

Merged
qnbs merged 2 commits into
mainfrom
fix/worldscript-branding-icons
Jun 16, 2026
Merged

fix(branding): WorldScript W monogram icons (8-bit, fixes desktop build)#165
qnbs merged 2 commits into
mainfrom
fix/worldscript-branding-icons

Conversation

@qnbs

@qnbs qnbs commented Jun 16, 2026

Copy link
Copy Markdown
Owner

User description

Problem

The StoryCraft→WorldScript rebrand left generic placeholder icons (a clock-like mark) across the whole brand surface, and they were encoded as 16-bit RGBA PNGs. Tauri's bundler rejects that (unsupported ColorType: Rgba16), so the macOS + Windows desktop builds failed (only Linux bundled) — blocking the v1.23.0 desktop release.

Fix

New WorldScript "W" quill-nib monogram (deep-slate + sky→indigo gradient) authored as public/favicon.svg, with the full raster surface regenerated as 8-bit RGBA:

  • public/icon-192.png, public/icon-512.png (PWA, incl. maskable — mark within 80% safe zone)
  • src-tauri/icons/* via tauri icon (32/64/128/128@2x/icon.png, icon.ico, new icon.icns, Windows Square*/StoreLogo)
  • public/offline.html badge letter SW
  • ios/android sets emitted by tauri icon removed (desktop-only project)

Verification

  • All icon PNGs confirmed 8-bit/color RGBA (file).
  • Rendered via Chromium (browser-grade gradient), visually verified at 512px + 32px legibility.
  • Desktop build verified green on this branch via tauri-build.yml (Win/macOS/Linux) — see linked run.

🤖 Generated with Claude Code


CodeAnt-AI Description

Update the offline screen to match the new WorldScript branding

What Changed

  • Replaced the offline page logo letter from S to W so the screen matches the WorldScript brand
  • No other offline messaging or behavior changed

Impact

✅ Consistent branding on the offline screen
✅ Clearer WorldScript identity during no-connection states
✅ Fewer outdated StoryCraft references

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

…(8-bit)

The rebrand left generic placeholder icons (a clock-like mark) everywhere,
encoded as 16-bit RGBA PNGs, which broke the macOS + Windows Tauri bundler
("unsupported ColorType: Rgba16") — only Linux bundled, so the desktop
release was blocked.

Author a new WorldScript "W" quill-nib monogram (deep-slate + sky→indigo)
as public/favicon.svg and regenerate the full raster surface as 8-bit RGBA:
- public/icon-192.png, public/icon-512.png (PWA, incl. maskable; mark within
  the 80% safe zone)
- src-tauri/icons/* via `tauri icon` (32/64/128/128@2x/icon.png, icon.ico,
  newly-generated icon.icns, Windows Square*/StoreLogo)
- public/offline.html badge letter S → W

Fixes the v1.23.0 desktop-build blocker and ships real branding. The
ios/android sets emitted by `tauri icon` were removed (desktop-only project).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldscript-studio Ready Ready Preview, Comment Jun 16, 2026 1:03pm

@codeant-ai

codeant-ai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Jun 16, 2026
robots.txt, sitemap.xml, _redirects and CNAME.example still referenced the
old StoryCraft-Studio GitHub Pages path, display name and example domain.
Update to WorldScript-Studio (the sitemap <loc> and robots Sitemap line are
user-facing SEO).

Intentionally left unchanged: historical CHANGELOG/checkpoint records, the
real local path /home/pc/StoryCraft-Studio, generated artifacts, the
storycraft:// deep-link back-compat scheme, the storycraft-driver-popover
token, and wrangler.toml's CF project name (infra rename = a separate
deliberate step).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@qnbs
qnbs merged commit c3aadf2 into main Jun 16, 2026
17 checks passed
@qnbs
qnbs deleted the fix/worldscript-branding-icons branch June 16, 2026 13:28
qnbs added a commit that referenced this pull request Jun 16, 2026
… CF Pages rename (#166)

* chore(release): finalize v1.23.0 changelog + rename CF Pages project

Promote the [Unreleased] changelog to [1.23.0] — 2026-06-16 and add this
release's remaining entries (Local-First foundation #140, OpenRouter reactive
policy #163, Local AI i18n #164, WorldScript icons + URL cleanup #165, and
Dependabot maintenance). Rename the Cloudflare Pages project in wrangler.toml
storycraft-studio → worldscript-studio (CF is not actively deployed; the
project rename on the CF side is a later step).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(tauri): resolve Vite base from TAURI_ENV_PLATFORM (fixes blank desktop window)

The Tauri build detected desktop mode via `TAURI_PLATFORM`, the Tauri 1.x env
var that Tauri 2.x never sets. Every desktop build therefore fell through to the
GitHub Pages base (`/WorldScript-Studio/`) and 404'd its hashed assets under
`tauri://localhost/`, leaving only the native file/help menu over an empty
webview on Windows/macOS.

Base resolution now checks `TAURI_ENV_PLATFORM` (legacy `TAURI_PLATFORM` kept as
a fallback) and is extracted into a pure, unit-tested `config/resolveViteBase.ts`
so the regression cannot silently return. No runtime landmines: locale/community
fetches use `import.meta.env.BASE_URL`, which resolves correctly under `./`.

Linux `.deb`/AppImage still require webkit2gtk-4.1 (Ubuntu 22.04+) — a Tauri 2
platform minimum documented in the changelog, not a bug.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant