Skip to content

Remove deprecated runtime:ui docs (use runtime:window)#35

Merged
LayerDynamics merged 1 commit into
mainfrom
site-remove-runtime-ui
Jun 8, 2026
Merged

Remove deprecated runtime:ui docs (use runtime:window)#35
LayerDynamics merged 1 commit into
mainfrom
site-remove-runtime-ui

Conversation

@LayerDynamics

Copy link
Copy Markdown
Owner

Summary

Removes the deprecated runtime:ui documentation. It's a phantom — no crates/ext_ui, no sdk/runtime.ui.ts — it only documented a legacy alias of runtime:window. For v1 with no users, the deprecated surface is noise.

This is the runtime:ui removal that was meant to ride with #34 but got orphaned: #34 was merged at its earlier commit (55029c0, routing only), so this change never reached main. Cherry-picked clean onto current main as a standalone, non-stacked PR.

Changes

  • Delete site/src/content/docs/api/runtime-ui.md (−435 lines; runtime-window.md already documents windows/dialogs/menus/tray comprehensively).
  • Repoint every reference to runtime:window with verified export names: homepage CodeExample (openWindowcreateWindow), Hero nav, Footer API link, and runtime-updater.md's example (showDialog → the real dialog.message({ kind, title, message, buttons }) → Promise<number>).
  • Also fixes 4 Footer links that used object syntax (href: '/getting-started/') — missed by Mount docs under /docs/ so the 173 internal links resolve #34's href="..." rewrite — now under /docs/.

Test plan

  • npm run build → 90 pages, no errors; runtime-ui gone from dist, runtime-window present
  • Link integrity: all 57 unique /docs/ targets resolve (0 missing); zero runtime:ui/runtime-ui refs; zero root-relative doc links
  • Drift gate in sync; every remaining API page has a backing SDK module (no other phantoms)

Note: no PR-level CI builds the Astro site (deploy-site runs only on merge to main), so the build was verified locally. On merge, deploy-site.yml redeploys.

🤖 Generated with Claude Code

…sers)

`runtime:ui` was consolidated into `runtime:window` and has no backing crate or
SDK (`crates/ext_ui` and `sdk/runtime.ui.ts` don't exist) — the page only
documented a legacy alias with a migration guide. For a v1 with no users the
deprecated surface is noise, so remove it and point everything at the real
module:

- Delete `site/src/content/docs/api/runtime-ui.md` (phantom; `runtime-window.md`
  already documents windows, dialogs, menus, and tray comprehensively).
- Landing page: Hero nav, CodeExample sample (`openWindow`->`createWindow`,
  `runtime:ui`->`runtime:window`, badge), and the Footer "API Reference" link now
  use `runtime:window` / `/docs/api/runtime-window/`.
- `runtime-updater.md` example: `import { showDialog } from "runtime:ui"` ->
  `import { dialog } from "runtime:window"`, rewritten to the real
  `dialog.message({ kind, title, message, buttons }) -> Promise<number>` API
  (returns the clicked-button index).

Also fixes a gap from the /docs/ routing change: the Footer's links used object
syntax (`href: '/getting-started/'`) which the earlier rewrite (matching
`href="..."`) missed, so they still pointed at the now-nonexistent root paths.
All four (`getting-started`, `architecture`, the API link, `manifest`) are now
under `/docs/`.

Verified: `npm run build` -> 90 pages; no `runtime:ui`/`runtime-ui` references
remain and no root-relative doc links remain (any style); all 57 unique internal
`/docs/` targets resolve (0 missing); drift gate in sync.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @LayerDynamics, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates references from the deprecated runtime:ui module to the consolidated runtime:window module across several components and documentation files, including the removal of the legacy runtime-ui.md file. In runtime-updater.md, the reviewer suggests replacing the dialog.message call with dialog.confirm because the underlying rfd library has limited support for custom button configurations, which could lead to inconsistent cross-platform behavior.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread site/src/content/docs/api/runtime-updater.md
@LayerDynamics LayerDynamics merged commit e043c8a into main Jun 8, 2026
20 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.

1 participant