Skip to content

16 cg 16 publish code cities online static on demand loading - #25

Merged
jgrodziski merged 6 commits into
mainfrom
16-cg-16-publish-code-cities-online-static-on-demand-loading
Sep 22, 2026
Merged

jgrodziski merged 6 commits into
mainfrom
16-cg-16-publish-code-cities-online-static-on-demand-loading

Conversation

@dpanza

@dpanza dpanza commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@dpanza dpanza linked an issue Sep 21, 2026 that may be closed by this pull request
2 tasks
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
codegraph 44fa745 Commit Preview URL Sep 22 2026, 07:53 PM

davidpanza and others added 6 commits September 22, 2026 19:52
An embed (the website's iframe) must not open the once-per-browser Help
dialog over the city. mountCityView takes autoHelp (default true); the
standalone page maps ?help=0 to it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
pnpm run viz builds @codegraph/viz and copies its bundle into
static/city/ (gitignored) beside one laid-out <corpus>-city.json per
corpus (committed): /city/?src=<corpus>-city.json opens it same-origin.
build and dev run it first; the CI website job installs pnpm for it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
A radio per corpus, its label the tab, the city in an iframe below,
paired by :has() rules the template generates — no JavaScript. The tab
row never wraps: past the page width it scrolls sideways.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Workers Builds deploys non-production branches with `wrangler versions
upload`, which found no wrangler config in website/ and no --assets
argument, so every preview failed with 'Missing entry-point'. The config
names the Worker (codegraph) and public/ as its assets directory, with
Hugo's 404.html as the not-found page; both deploy commands read it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UE1tWrG4eAT5Z54EG5iZ4y
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UE1tWrG4eAT5Z54EG5iZ4y
@jgrodziski
jgrodziski force-pushed the 16-cg-16-publish-code-cities-online-static-on-demand-loading branch from ad83f7c to 44fa745 Compare September 22, 2026 19:53
@jgrodziski
jgrodziski merged commit 403252c into main Sep 22, 2026
27 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.

[CG-16] Publish Code Cities online (static, on-demand loading)

2 participants