From 181650061758c48d2c467954c5e422bdf1df37d5 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Fri, 7 Apr 2023 13:13:40 -0600 Subject: [PATCH] display questions --- public/root.html | 42 ++++++++++++++++++++++++++---------------- testdata/sample.yaml | 31 ++++++++++++++++++++++--------- 2 files changed, 48 insertions(+), 25 deletions(-) diff --git a/public/root.html b/public/root.html index bd44566..c3ffcce 100644 --- a/public/root.html +++ b/public/root.html @@ -10,8 +10,8 @@ split(""). reverse(). join("") - ).toString(36); - console.log("session", session); + ).toString(36) + console.log("session", session) @@ -20,6 +20,7 @@
+
@@ -28,36 +29,45 @@ diff --git a/testdata/sample.yaml b/testdata/sample.yaml index f246727..7dd5cce 100644 --- a/testdata/sample.yaml +++ b/testdata/sample.yaml @@ -1,27 +1,40 @@ knowledge: questions: - uuid1: + uuid10: q: whats a fieldset clues: - clue1 of 2 - clue2 of 2 + solution: + - solution A + - solution B + tags: + - ops + - data-platform + uuid11: + q: whats a responseset + clues: + - clue1 of 2 + - clue2 of 2 + solution: + - solution A + - solution B tags: - ops - data-platform answers: - uuid2: - q: uuid1 + uuid20: + q: uuid10 a: a schema ts: 123 author: breel - uuid0: - q: uuid1 + uuid21: + q: uuid10 a: not a schema ts: 122 author: breel users: breel: - history: - uuid1: - - {a: uuid0, pass: true} - - {a: uuid2, pass: true} + tags: {assignments: [ops]} + cadence: 5s + resolution: 1