living-documentation 7.8.0 → 7.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -295,5 +295,5 @@ document.getElementById('darkIcon').textContent =
|
|
|
295
295
|
})();
|
|
296
296
|
|
|
297
297
|
// ── Bootstrap ─────────────────────────────────────────────────────────────────
|
|
298
|
-
|
|
299
|
-
|
|
298
|
+
// loadDiagramList() is invoked from the inline IIFE in diagram.html after
|
|
299
|
+
// window.initI18n() resolves, so t() returns localised strings (not raw keys).
|
|
@@ -1225,6 +1225,7 @@
|
|
|
1225
1225
|
<script type="module">
|
|
1226
1226
|
import { NODE_COLORS, NODE_L_RATIOS, DEFAULT_NODE_PALETTE, DEFAULT_EDGE_PALETTE, deriveNodeColors } from '/diagram/constants.js';
|
|
1227
1227
|
import { st } from '/diagram/state.js';
|
|
1228
|
+
import { loadDiagramList } from '/diagram/persistence.js';
|
|
1228
1229
|
(async () => {
|
|
1229
1230
|
// diagramNodePalette: array of 15 bg hex strings (positional, matching DEFAULT_NODE_PALETTE)
|
|
1230
1231
|
// diagramEdgePalette: array of hex strings
|
|
@@ -1273,6 +1274,7 @@
|
|
|
1273
1274
|
ec.appendChild(btn);
|
|
1274
1275
|
});
|
|
1275
1276
|
window.applyI18n();
|
|
1277
|
+
loadDiagramList();
|
|
1276
1278
|
})();
|
|
1277
1279
|
</script>
|
|
1278
1280
|
</body>
|