Enhance interview configuration and wizard functionality
Node.js build / build (20.x) (push) Waiting to run
Node.js build / build (22.x) (push) Waiting to run

- Added parsing for new edging configuration options in interview profiles, including mode, wrapper callout type, title, and folded state.
- Updated the InterviewWizardModal to support post-run edging, allowing for semantic mapping based on the new edging settings.
- Enhanced the unresolved link handler to pass plugin instance and settings for improved graph schema loading and post-run edging functionality.
- Improved error handling and user notifications for semantic mapping processes, ensuring better feedback during execution.
This commit is contained in:
Lars committed 2026-01-17 10:31:44 +01:00
1 parent a6ce268b04
commit 5ed06e6b9a
6 files changed
+263 -6

No files matched your search

+19
View File
@@ -118,6 +118,25 @@ function parseProfile(
profile.defaults = raw.defaults as Record<string, unknown>;
}
// Parse edging config
if (raw.edging && typeof raw.edging === "object") {
const edgingRaw = raw.edging as Record<string, unknown>;
profile.edging = {};
if (edgingRaw.mode === "none" || edgingRaw.mode === "post_run" || edgingRaw.mode === "inline_micro") {
profile.edging.mode = edgingRaw.mode;
}
if (typeof edgingRaw.wrapperCalloutType === "string") {
profile.edging.wrapperCalloutType = edgingRaw.wrapperCalloutType;
}
if (typeof edgingRaw.wrapperTitle === "string") {
profile.edging.wrapperTitle = edgingRaw.wrapperTitle;
}
if (typeof edgingRaw.wrapperFolded === "boolean") {
profile.edging.wrapperFolded = edgingRaw.wrapperFolded;
}
}
// Parse steps
if (Array.isArray(raw.steps)) {
for (let i = 0; i < raw.steps.length; i++) {
+6
View File
@@ -15,6 +15,12 @@ export interface InterviewProfile {
group?: string;
defaults?: Record<string, unknown>;
steps: InterviewStep[];
edging?: {
mode?: "none" | "post_run" | "inline_micro"; // Semantic mapping mode (default: "none")
wrapperCalloutType?: string; // Override wrapper callout type
wrapperTitle?: string; // Override wrapper title
wrapperFolded?: boolean; // Override wrapper folded state
};
}
export type InterviewStep =