Skip to content

refactor(hub)!: drop synthesized built-in docks for integration-owned ~builtin views#92

Merged
antfu merged 1 commit into
mainfrom
bold-foxes-dress
Jul 15, 2026
Merged

refactor(hub)!: drop synthesized built-in docks for integration-owned ~builtin views#92
antfu merged 1 commit into
mainfrom
bold-foxes-dress

Conversation

@antfubot

Copy link
Copy Markdown
Collaborator

Summary

Removes the BuiltinDocks concept from @devframes/hub. The hub previously synthesized ~terminals / ~messages / ~settings dock entries and gated them through a builtinDocks option. That responsibility now belongs to the high-level integration that assembles the hub.

  • The hub synthesizes no dock entries — devframe:docks reflects exactly what integrations register.
  • The ~builtin category is retained and still sorts last.
  • A type: '~builtin' view defaults its own category to ~builtin, so an integration registering one needn't repeat it.

The minimal-next example now registers its own ~settings dock to demonstrate the integration-owned model.

Breaking changes

  • Removed the BuiltinDocksOptions type and the createHubContext({ builtinDocks }) option.
  • DevframeDocksHost.values() no longer accepts { includeBuiltin }.

This PR was created with the help of an agent.

… ~builtin views

The hub no longer synthesizes ~terminals/~messages/~settings dock entries. A high-level integration now registers the built-in views it wants, and a ~builtin-typed view defaults its own category to ~builtin. The ~builtin category is retained for ordering (it still sorts last).

BREAKING CHANGE: Removed the BuiltinDocksOptions type and the createHubContext `builtinDocks` option, and DevframeDocksHost.values() no longer accepts { includeBuiltin }. Integrations register the settings/terminals/messages docks themselves.
@netlify

netlify Bot commented Jul 15, 2026

Copy link
Copy Markdown

Deploy Preview for devfra ready!

Name Link
🔨 Latest commit cda0b8c
🔍 Latest deploy log https://app.netlify.com/projects/devfra/deploys/6a572aff8cca100008106aea
😎 Deploy Preview https://deploy-preview-92--devfra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@antfu antfu merged commit c0e5b27 into main Jul 15, 2026
12 checks passed
@antfu antfu deleted the bold-foxes-dress branch July 15, 2026 06:44
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.

2 participants