Web: cut over app-web to Adwaita SPA, drop Jekyll - #167
Merged
Conversation
Phase 6 (final) of the app-web rewrite: remove the classic skilldrick Jekyll
tutorial and its pre-rewrite web app, and deploy the new Adwaita SPA to GitHub
Pages via GitHub Actions instead of the legacy Jekyll build.
Removed the entire classic layer (the new SPA imports none of it, verified):
- Jekyll site: `_config.yml`, `Gemfile`(+lock), `_includes/`, `_layouts/`,
`index.markdown`, `simulator.markdown`, `snake.markdown`, `params.json`.
- Classic web app: `src/{main,game-console,display,debugger,message-console,
ui-state}.ts`, `src/main.css`, `src/style/`, `src/types/state.ts`.
- Classic build: `vite.config.js` (its `build:vite`/`build`/`setup`/`start`
scripts, plus dead `start:app`/`debug:app`).
The tutorial prose is NOT lost — it is canonical in `packages/learn/tutorial.mdx`
and already rendered by the SPA's Learn view.
New GitHub Pages deploy (`.github/workflows/deploy-pages.yml`): mirrors the CI
type-check environment (Fedora 43 + gjs + Node 24 + `gjsify install --immutable`),
builds `core`/`examples`/`learn` then `gjsify build --app browser`, and publishes
`packages/app-web/dist-app` via `actions/deploy-pages`. The built `index.html`
references `./app.js` relatively, so it serves correctly under the `/Learn6502/`
project subpath.
`build` now runs `build:app`; `clear` only removes `dist-app`; tsconfig drops the
deleted classic entry; README + AGENTS.md updated to the SPA.
NOTE: this does not flip the live site yet — Settings → Pages → Source must be
changed from the legacy `gh-pages` branch to "GitHub Actions" to serve the SPA
(done deliberately after this workflow proves green). The `gh-pages` branch is
kept as the historical record of the classic site.
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.
Phase 6 (final) of the app-web rewrite — remove the classic skilldrick Jekyll tutorial + its pre-rewrite web app, and deploy the new Adwaita SPA to GitHub Pages via GitHub Actions instead of the legacy Jekyll build.
Removed (the entire classic layer — the new SPA imports none of it, verified)
_config.yml,Gemfile(+lock),_includes/,_layouts/,index.markdown,simulator.markdown,snake.markdown,params.jsonsrc/{main,game-console,display,debugger,message-console,ui-state}.ts,src/main.css,src/style/,src/types/state.tsvite.config.js+ itsbuild:vite/build/setup/startscripts (and deadstart:app/debug:app)−3200 lines. The tutorial prose is not lost — canonical in
packages/learn/tutorial.mdx, already rendered by the SPA's Learn view.New deploy —
.github/workflows/deploy-pages.ymlMirrors the CI type-check environment (Fedora 43 + gjs + Node 24 +
gjsify install --immutable): buildscore→examples→learn, thengjsify build --app browser, and publishespackages/app-web/dist-appviaactions/deploy-pages. The builtindex.htmlreferences./app.jsrelatively → serves correctly under the/Learn6502/project subpath.Verified
gjsify tsc --noEmitclean;build:appproducesdist-app/{index.html,app.js}(765 KB).The site at
https://jumplink.eu/Learn6502/currently serves the classic tutorial via the legacygh-pagesbranch. To go live with the SPA, Settings → Pages → Source must change from thegh-pagesbranch to "GitHub Actions" — done deliberately after this workflow proves green (so the switch is the go-live moment; it's reversible by pointing back at the branch). Thegh-pagesbranch is kept as the historical record of the classic site.