推进 INI 面板 launcher shell alignment

This commit is contained in:
2026-06-14 23:25:17 +08:00
parent fc4fb54a20
commit 76e688d126
4 changed files with 62 additions and 2 deletions

View File

@@ -73,7 +73,7 @@
</section>
</main>
<script type="module">
import { getIniPanelEntryManifest } from "./entry-manifest.js";
import { getIniPanelEntryManifest } from "./ui-shell.js";
const manifest = getIniPanelEntryManifest();
for (const entry of manifest) {

View File

@@ -10,7 +10,7 @@
import {
getIniPanelEntryByHref,
getIniPanelEntryManifest,
} from "../../runtime/ui/ini-panel/entry-manifest.js";
} from "../../runtime/ui/ini-panel/ui-shell.js";
function assertEqual(actual, expected, label) {
if (actual !== expected) {

View File

@@ -13,6 +13,10 @@ assert.equal(getIniPanelEntryByHref("./index.html")?.id, "edit-run");
assert.equal(typeof createMachineSessionControlPageController, "function");
assert.equal(typeof renderMachineSessionControlView, "function");
const shellManifest = getIniPanelEntryManifest();
shellManifest[0].title = "changed";
assert.equal(INI_PANEL_ENTRIES[0].title, "Open edit and run panel");
const panelFrame = {
contentWindow: {
linuxCncIniPanelApi: {