推进 INI 面板 shell integration readiness helper
This commit is contained in:
@@ -18,6 +18,7 @@ import {
|
||||
createIniPanelLauncherLinkViewModel,
|
||||
createIniPanelShellControlPageContract,
|
||||
createIniPanelShellIntegrationManifest,
|
||||
createIniPanelShellIntegrationReadiness,
|
||||
createIniPanelShellIntegrationSchema,
|
||||
createIniPanelShellViewModel,
|
||||
getIniPanelEntryByHref,
|
||||
@@ -118,6 +119,11 @@ needs one versioned read of pages, launcher links, launch API metadata,
|
||||
control-page API metadata, OPFS/session persistence capabilities, and current
|
||||
compatibility status. Use `isSupportedIniPanelShellIntegrationManifest()` when
|
||||
the outer shell needs to check that integration manifest before consuming it.
|
||||
Use `createIniPanelShellIntegrationReadiness()` or
|
||||
`linuxCncIniPanelLaunchApi.getShellIntegrationReadiness()` when the outer shell
|
||||
needs a read-only `ready`/`blocked` status, failed check names, API names, and
|
||||
counts for pages, methods, and persistence capabilities before mounting any
|
||||
embedded control page.
|
||||
|
||||
The control-page refresh workflow lives in
|
||||
`runtime/ui/ini-panel/control-page-refresh-workflow.js`. Use
|
||||
|
||||
Reference in New Issue
Block a user