improve intro

This commit is contained in:
Robin Olsen
2026-03-16 12:39:51 +01:00
parent 42f9469189
commit a13f754ce5
2 changed files with 13 additions and 17 deletions

View File

@@ -13,22 +13,18 @@ import (
const stages = 2 const stages = 2
const ( const (
IntroTitle = "Project Management Interface Survey" IntroTitle = "Project Management Interface Survey"
IntroductionText = `This survey evaluates how people use different project management interfaces to complete common tasks.
You will complete a short set of task-based exercises and answer a few follow-up questions about the experience.
Your feedback helps us compare interface design and usability.`
IntroductionText = `Welcome! This survey gathers feedback on task management interfaces. Disclaimer = `Data Collection Notice
Your responses will help us improve our services. All data is anonymized • Responses are anonymized before analysis
and used solely for research purposes. • We collect task results, questionnaire answers, and interaction events during the survey
• We do not intentionally collect personally identifying information
By participating, you consent to data collection as described below.` • You may exit at any time by pressing Esc between tasks or closing the terminal.
• Data is collected continuously during the survey, so exiting early will still contribute valuable insights.`
Disclaimer = `📋 Data Collection Notice
• All responses are completely anonymized
• Data is used for research purposes only
• No personally identifiable information is collected
• You may exit at any time by pressing Esc
• We get no data unless you complete the survey and submit.`
) )
type keyMap struct { type keyMap struct {
@@ -127,7 +123,7 @@ func (m introModel) View() string {
return "" return ""
} }
boxWidth := min(m.width-10, 80) boxWidth := min(m.width-10, 120)
boxStyle := style.BorderStyle. boxStyle := style.BorderStyle.
Margin(1, 0).Padding(2, 4).Width(boxWidth) Margin(1, 0).Padding(2, 4).Width(boxWidth)

View File

@@ -49,7 +49,7 @@ func (iq *IntroQuestionnaire) Questions() task.Questions {
huh.NewGroup( huh.NewGroup(
huh.NewSelect[string](). huh.NewSelect[string]().
Title("Are you a student, employed, or both?"). Title("Are you a student, employed, or both?").
Description("This helps us understand your current situation."). Description("This helps us understand your current working experience.").
Options( Options(
huh.NewOption("Student", "student"), huh.NewOption("Student", "student"),
huh.NewOption("Employed", "employed"), huh.NewOption("Employed", "employed"),
@@ -75,7 +75,7 @@ func (iq *IntroQuestionnaire) Questions() task.Questions {
huh.NewGroup( huh.NewGroup(
huh.NewSelect[string](). huh.NewSelect[string]().
Title("How would you describe your experience with the command line?"). Title("How would you describe your experience with the command line?").
Description("This helps us tailor the questions to your experience level."). Description("This helps us understand your familiarity with the command line.").
Options( Options(
huh.NewOption("No experience", "none"), huh.NewOption("No experience", "none"),
huh.NewOption("Some experience", "some"), huh.NewOption("Some experience", "some"),