@model OnboardingWizardViewModel @using PlotLine.Models @{ ViewData["Title"] = "Set up PlotDirector"; }
Step @Model.StepNumber of @Model.TotalSteps
@if (Model.CurrentStep == OnboardingSteps.Welcome) {

Story intelligence setup

Welcome to PlotDirector

Answer a few quick questions so PlotDirector can shape the first setup around the way you write.

} else if (Model.CurrentStep == OnboardingSteps.WritingJourney) {

Your starting point

Where are you in your writing journey?

@foreach (var option in Model.Options) { }
} else if (Model.CurrentStep == OnboardingSteps.WritingSoftware) {

Writing workflow

What software do you write in?

@foreach (var option in Model.Options) { }
} else {

Setup preferences

Your setup is saved

PlotDirector will use these answers as later story intelligence setup is added.

Writing journey
@DisplayJourney(Model.WritingJourney)
Writing software
@DisplaySoftware(Model.WritingSoftware)
Back to projects
}
@section Scripts { } @functions { private static string DisplayJourney(string? value) => value switch { WritingJourneyValues.PlanningNewStory => "Planning a brand new story", WritingJourneyValues.AlreadyStarted => "Already started writing", WritingJourneyValues.ManuscriptMostlyComplete => "Manuscript largely complete", _ => "Not set" }; private static string DisplaySoftware(string? value) => value switch { WritingSoftwareValues.MicrosoftWord => "Microsoft Word", WritingSoftwareValues.GoogleDocs => "Google Docs", WritingSoftwareValues.Scrivener => "Scrivener", WritingSoftwareValues.LibreOfficeOpenOffice => "LibreOffice / OpenOffice", WritingSoftwareValues.MarkdownObsidian => "Markdown / Obsidian", WritingSoftwareValues.Other => "Other", _ => "Not set" }; }