You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(hub,hub-ui): make DevframeDocksUserSettings generic + augmentable
The reference-viewer toggles baked into the hub's `DevframeDocksUserSettings`
move to `@devframes/hub-ui` via declaration merging, mirroring the pattern
used for branding / embeddedVisibility / dockPreferences:
- `@devframes/hub` keeps only the generic dock-registry + command model
every viewer shares: `docksHidden`, `docksCategoriesHidden`, `docksPinned`,
`docksCustomOrder`, `commandShortcuts` (the last read by the
framework-neutral `createDevframeClientHost`). `DEFAULT_STATE_USER_SETTINGS`
drops the UI toggles.
- `@devframes/hub-ui` augments `DevframeDocksUserSettings` with its own
reference-viewer toggles — `showIframeAddressBar`, `closeOnOutsideClick`,
`autoCollapseEdgeToolbar`, `showDevframeInspector` (all optional). The old
`HubDocksUserSettings extends …` type is gone; hub-ui now consumes the
augmented base directly.
Built with the help of an agent.
0 commit comments