feat(ask): add preview pane and wrapped content

This commit is contained in:
Erik Kotsiuba
2026-04-17 15:31:16 +02:00
parent eadd09dae6
commit 52dfc4f9a6
9 changed files with 294 additions and 60 deletions
+2 -4
View File
@@ -10,7 +10,8 @@ export const AskOptionSchema = Type.Object({
),
preview: Type.Optional(
Type.String({
description: "Optional preview text, used by richer question variants",
description:
"Optional preview text shown in the dedicated preview pane for preview questions",
}),
),
});
@@ -27,9 +28,6 @@ export const AskQuestionSchema = Type.Object({
{ description: "Question type" },
),
),
allowOther: Type.Optional(
Type.Boolean({ description: "Include a fixed 'Type something.' option" }),
),
required: Type.Optional(
Type.Boolean({
description: "Optional metadata flag; submit is never blocked",