PlotDirector/PlotLine/Views/Onboarding/StoryIntelligence.cshtml

71 lines
3.4 KiB
Plaintext

@model StoryIntelligenceOverviewViewModel
@{
ViewData["Title"] = "Story Intelligence";
}
<section class="onboarding-shell" aria-labelledby="story-intelligence-title">
<div class="onboarding-panel">
<div class="onboarding-copy">
<p class="eyebrow">Story Intelligence</p>
<h1 id="story-intelligence-title">PlotDirector can now analyse your manuscript to automatically build much of your project.</h1>
<p>This step is optional. In this phase, PlotDirector only prepares the analysis framework; no AI analysis will run yet.</p>
</div>
@if (Model.ExistingJob?.IsActive == true)
{
<section class="onboarding-story-card">
<h2>Story Intelligence is already preparing</h2>
<p>@Model.ExistingJob.CurrentMessage</p>
<a class="btn btn-primary" asp-action="StoryIntelligenceProgress" asp-route-jobId="@Model.ExistingJob.JobID">View progress</a>
</section>
}
else if (Model.ExistingJob?.IsCompleted == true)
{
<section class="onboarding-story-card">
<h2>Story Intelligence is ready</h2>
<p>The framework has already been prepared for this manuscript.</p>
<a class="btn btn-primary" asp-action="StoryIntelligenceComplete" asp-route-jobId="@Model.ExistingJob.JobID">View completion</a>
</section>
}
else
{
<div class="onboarding-story-facts">
<div>
<span>Optional</span>
<strong>You stay in control</strong>
<p>You can skip this now and continue using the project structure you already built.</p>
</div>
<div>
<span>Uses AI later</span>
<strong>Explicit consent required</strong>
<p>Future manuscript analysis will only run after you choose to start it.</p>
</div>
<div>
<span>Privacy</span>
<strong>OpenAI API content is not used to train AI models</strong>
<p>Manuscript content is processed securely when AI analysis is enabled in a later phase.</p>
</div>
<div>
<span>Estimate</span>
<strong>About 5-15 minutes</strong>
<p>Credit use will be shown here before charging is enabled. Placeholder: included setup credits.</p>
</div>
</div>
<section class="onboarding-form-section">
<h2>Consent</h2>
<p>By choosing Analyse my manuscript, you consent to PlotDirector preparing the Story Intelligence job for @Model.SelectedBookTitle in @Model.SelectedProjectName. This phase does not call OpenAI or analyse manuscript content.</p>
</section>
<div class="onboarding-actions">
<form asp-action="SkipStoryIntelligence" method="post">
<button class="btn btn-outline-secondary" type="submit">Skip for now</button>
</form>
<form asp-action="StartStoryIntelligence" method="post">
<button class="btn btn-primary" type="submit" disabled="@(!Model.CanStart)">Analyse my manuscript</button>
</form>
</div>
}
</div>
</section>