diff --git a/index.html b/index.html index 6d3cdb5..92b1371 100644 --- a/index.html +++ b/index.html @@ -225,7 +225,17 @@
Have fun! 🤟
+ After the project-specific "knowledge" questions in the last step I want to get your + valuable input as a developer for the following questions: +
@@ -249,9 +259,9 @@ - 4) Could you imageine yourself using this visualization or something similar on - different projects to learn about them? If so, on which projects would you want to try - it out? + 4) Could you imagine yourself using a visualization or something similar on different + projects to learn about them? If so, on which projects would you want to try it out? If + not, what would you prefer instead, just going throught the files? diff --git a/src/logger.ts b/src/logger.ts index 107739d..67f2a30 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -54,7 +54,7 @@ export class Logger { if (uid) { const logEvKey = this.database.ref(uid).child('logs').push().key; - // this.database.ref(uid).update({ [`logs/${logEvKey}`]: ev }); + this.database.ref(uid).update({ [`logs/${logEvKey}`]: ev }); } } diff --git a/src/store.ts b/src/store.ts index 3e80702..adfafdf 100644 --- a/src/store.ts +++ b/src/store.ts @@ -31,7 +31,7 @@ const store = create( devtools((set) => ({ uid: null, showScore: false, - currentIntroStep: 0, + currentIntroStep: 1, revealablesFinished: 0, currentScene: Scenes.OVERVIEW, currentSubproject: null, diff --git a/src/ui/intro.ts b/src/ui/intro.ts index 0e6ce29..d711f9c 100644 --- a/src/ui/intro.ts +++ b/src/ui/intro.ts @@ -34,6 +34,8 @@ export class Intro { fb9: HTMLTextAreaElement; fb10: HTMLTextAreaElement; + k1: HTMLTextAreaElement; + errorRef: HTMLElement; constructor() { @@ -65,6 +67,8 @@ export class Intro { this.fb9 = document.querySelector('#fb-9'); this.fb10 = document.querySelector('#fb-10'); + this.k1 = document.querySelector('#k-1'); + this.errorRef = document.querySelector('#intro-error'); this.nextButton.addEventListener('click', () => this.onNextClick()); @@ -192,7 +196,7 @@ export class Intro { } private sendKnowledgeQuestionAnswers() { - const answers = []; + const answers = [this.k1.value]; logger.logQuestions(answers, true); }