v0.1.0-pre.052

This commit is contained in:
2026-07-25 21:57:01 +02:00
parent 184fe6da88
commit 930056d422
19 changed files with 2782 additions and 121 deletions

View File

@@ -1,5 +1,5 @@
// file: kb-app-demo-desktop/frontend/ts/main.ts
// version: 3
// version: 4
import * as bootstrap from "bootstrap";
import MarkdownIt from "markdown-it";
@@ -75,6 +75,20 @@ if (openDemoBackfillLink) {
});
}
const pipelineDemoLinks: ReadonlyArray<readonly [string, string]> = [
["openDemoCoreExtractionLink", "open_demo_core_extraction_window"],
["openDemoDecodeReplayLink", "open_demo_decode_replay_window"],
];
for (const [elementId, command] of pipelineDemoLinks) {
const link = document.querySelector<HTMLAnchorElement>(`#${elementId}`);
if (link) {
link.addEventListener("click", event => {
event.preventDefault();
void invoke(command);
});
}
}
const sqlDemoLinks: ReadonlyArray<readonly [string, string]> = [
["openDemoSqlDiagLink", "open_demo_sql_diag_window"],
["openDemoSqlPgRawLink", "open_demo_sql_pg_raw_window"],