推进 INI 面板 launcher shell alignment
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user