Add contextual Story Calendar help using existing help system

This commit is contained in:
Nick Beckley 2026-09-19 21:15:43 +00:00
parent 1f5216c29f
commit 507d144e92
9 changed files with 191 additions and 8 deletions

View File

@ -0,0 +1,33 @@
---
title: Calendar Selected Day
category: Story Calendar
tags: calendar, day, scenes, time, timeline
contextKey: storyCalendar.dayDetails
micro: Inspect every scene starting on the selected date and open a scene to review its timing.
quickTitle: Inspect a story day
quickSummary: The day panel shows all scenes on the selected date, with available point of view, time and summary details, plus links to the scene editor and Timeline.
screenshot:
---
# Inspecting a Date
Select a day in the grid to show its full scene list, including scenes hidden behind the + more count. Scroll the panel if needed. Each entry identifies its chapter and scene, with book labels when viewing all books. Point of view and summary appear when recorded.
The Calendar groups scenes using time-of-day cues such as morning or evening, then recorded start times, with narrative order breaking ties. Use the displayed Time and the Timeline to check the intended sequence rather than assuming this list is purely chapter order.
# Understanding the Fields
| Detail or action | How to use it |
| --- | --- |
| POV | Identify the viewpoint character when one is recorded. |
| Time | Review the scene's recorded timing alongside other scenes that day. |
| Open scene | Open the scene editor to review or correct its details. |
| Open in Timeline | Open the scene's book in the Timeline with that scene selected. |
If no scenes are placed on the selected date, choose another day or check the book filter. Selecting a date does not assign that date to a scene.
# Related Guides
- [Scene Time](/Help/Article/sceneInspector.time)
- [Timeline](/Help/Article/timeline.overview)
- [Month View and Navigation](/Help/Article/storyCalendar.monthView)

View File

@ -0,0 +1,23 @@
---
title: Calendar Book Filter
category: Story Calendar
tags: calendar, books, series, filters
contextKey: storyCalendar.filters.book
micro: Focus on one book or compare story dates across all books in the project.
quickTitle: Choose the book scope
quickSummary: The book filter controls the dated scenes, summary counts, month choices and unplaced scenes. All books lets you compare events across a series.
screenshot:
---
# Choosing a Book
Choose one book to review its chronology in isolation, or all books to compare dates across the project. With all books selected, scene previews and day details include book labels to distinguish volumes.
The filter also changes the story range, summary counts and unplaced list. A scene missing from the current scope may belong to another book. Changing this filter does not move scenes between books.
Use Apply if the selection has not already refreshed the Calendar.
# Related Guides
- [Story Calendar](/Help/Article/storyCalendar.overview)
- [Month Selection](/Help/Article/storyCalendar.filters.month)

View File

@ -0,0 +1,23 @@
---
title: Calendar Month Selection
category: Story Calendar
tags: calendar, month, dates, filters
contextKey: storyCalendar.filters.month
micro: Choose the story month to display without changing scene dates.
quickTitle: Choose a story month
quickSummary: Month selects the visible calendar month. Empty months can occur between dated scenes; use story-month navigation to skip to a month containing scenes.
screenshot:
---
# Choosing a Month
Choose the month you want to inspect, then use Apply if the Calendar has not already refreshed. Month choices cover the span between the earliest and latest dated scenes in the selected book scope, including gaps. A month reached through navigation can also appear in the choices.
On first opening the Calendar without a requested month, it starts at the earliest dated scene's month. The Month control shows No dated scenes when the current scope has no resolved scene start dates.
Changing the visible month does not limit the summary counts or unplaced list to that month. Those still describe the selected book scope.
# Related Guides
- [Month View and Navigation](/Help/Article/storyCalendar.monthView)
- [Unplaced Scenes](/Help/Article/storyCalendar.unplacedScenes)

View File

@ -0,0 +1,33 @@
---
title: Calendar Month View and Navigation
category: Story Calendar
tags: calendar, navigation, month, scenes, chronology
contextKey: storyCalendar.monthView
micro: Browse story months and select a day to see all scenes that start on it.
quickTitle: Read the month grid
quickSummary: The Monday-to-Sunday grid previews up to three scenes per day. Select a date for the complete list, and use story-month links to skip empty months.
screenshot:
---
# Reading the Grid
Each date shows up to three scene previews. A + more count means additional scenes are available in the selected-day panel. Select the day to see the complete list. Dates from adjacent months fill the first and last weeks.
A scene appears on its resolved start date. A scene lasting several days is not repeated on every day of its duration. An empty day means no scenes start on that date in the selected scope; it does not prove that nothing is happening in the story.
# Understanding the Fields
| Control | What it does |
| --- | --- |
| Previous month / Next month | Move one calendar month, including months with no scenes. |
| First dated scene | Return to the month containing the earliest dated scene in the selected book scope. |
| Previous story month / Next story month | Jump to the nearest earlier or later month containing dated scenes. These links appear only when such a month exists. |
| Day cell | Select a date and show its scene details. |
Use consecutive months to assess long gaps, or story-month links to move quickly between periods of action. Navigation does not edit chronology.
# Related Guides
- [Selected Day](/Help/Article/storyCalendar.dayDetails)
- [Month Selection](/Help/Article/storyCalendar.filters.month)
- [Story Calendar](/Help/Article/storyCalendar.overview)

View File

@ -0,0 +1,40 @@
---
title: Story Calendar
category: Story Calendar
tags: calendar, story time, chronology, dates, scenes
contextKey: storyCalendar.overview
micro: See when scenes happen in your story and find scenes that still need a date.
quickTitle: Story Calendar
quickSummary: Review dated scenes on a monthly calendar, inspect a story day, and find unplaced scenes across one book or the whole project.
screenshot:
---
# Overview
Story Calendar places scenes on the date their action starts. Use it to review elapsed story time, gaps between events, or several scenes happening on the same day. These are dates inside your story, not writing deadlines.
Choose a book or view all books together, then browse months and select a day to inspect its scenes. The Calendar uses saved scene timing; browsing it does not change scene dates or chapter order.
# Reading the Summary
The story date range and summary counts cover the selected book scope, not just the visible month. Dated scenes have a resolved start date. Story days counts distinct dates with scenes. Unplaced counts scenes without a resolved start date. Archived scenes are excluded.
# Main Sections
- Book and Month control which part of the story you see.
- The month grid previews scenes starting on each day.
- The selected-day panel shows scene details and links to editing and the Timeline.
- Unplaced scenes lists scenes that cannot yet be shown on a calendar date.
# A Useful Review
For a mystery, compare the date of a disappearance with later interviews. Select a busy day to check scene timing, then open a scene if its date needs correcting. Use the Timeline when you want to compare those events with their reading order.
# Related Guides
- [Book Filter](/Help/Article/storyCalendar.filters.book)
- [Month Selection](/Help/Article/storyCalendar.filters.month)
- [Month View and Navigation](/Help/Article/storyCalendar.monthView)
- [Selected Day](/Help/Article/storyCalendar.dayDetails)
- [Unplaced Scenes](/Help/Article/storyCalendar.unplacedScenes)
- [Scene Time](/Help/Article/sceneInspector.time)

View File

@ -0,0 +1,30 @@
---
title: Calendar Unplaced Scenes
category: Story Calendar
tags: calendar, unplaced scenes, dates, relative time, chronology
contextKey: storyCalendar.unplacedScenes
micro: Find scenes without a resolved start date so you can review their timing.
quickTitle: Why a scene is unplaced
quickSummary: Unplaced scenes have no resolved start date. Expand the list and open a scene to review its time settings; a relative phrase alone may not establish a calendar date.
screenshot:
---
# Why Scenes Are Unplaced
The Calendar needs a resolved start date to place a scene on the grid. Scenes without one remain in Unplaced scenes, even if they contain a phrase such as later that night. Relative timing text can describe your intention without establishing a specific day.
The list covers the selected book scope across all months and excludes archived scenes. When no scenes have dates, the Calendar shows No dated scenes yet and you can still review the unplaced list.
# Reviewing an Unplaced Scene
1. Expand Unplaced scenes using the scene-count button.
2. Find the scene by its title, book, chapter and scene number. Any relative timing text is shown as a clue.
3. Choose Open scene and review its time settings. Set or correct the date if the story needs one.
4. Save your changes and reload the Calendar to check placement.
You do not have to invent a precise date just to clear this list. Leaving timing loose can be useful while drafting. Prioritise scenes whose dates matter for travel, deadlines, alibis or other continuity questions.
# Related Guides
- [Scene Time](/Help/Article/sceneInspector.time)
- [Story Calendar](/Help/Article/storyCalendar.overview)

View File

@ -2,12 +2,12 @@
@if (Model.SelectedDay is null)
{
<h2>Select a story day</h2>
<h2>Select a story day <help-icon key="storyCalendar.dayDetails" /></h2>
<p class="muted">Choose a date in the grid to inspect its scenes in narrative order.</p>
}
else
{
<h2>@Model.SelectedDay.DayLabel</h2>
<h2>@Model.SelectedDay.DayLabel <help-icon key="storyCalendar.dayDetails" /></h2>
@if (!Model.SelectedDay.Scenes.Any())
{
<p class="muted">No scenes are placed on this story date.</p>

View File

@ -9,7 +9,7 @@
<div class="page-heading story-calendar-heading">
<div>
<p class="eyebrow">Story time</p>
<h1>Calendar</h1>
<h1>Calendar <help-icon key="storyCalendar.overview" /></h1>
<p class="lead-text">@Model.StoryRangeLabel</p>
</div>
<div class="story-calendar-stats" aria-label="Calendar summary">
@ -24,11 +24,11 @@
<form asp-action="ApplyFilters" method="post" class="row g-2 align-items-end" data-story-calendar-filter data-story-calendar-index-url="@Url.Action("Index", "StoryCalendar")">
<input type="hidden" name="projectId" value="@Model.Project.ProjectID" />
<div class="col-md-5 col-lg-4">
<label class="form-label" for="bookId">Book</label>
<label class="form-label" for="bookId">Book <help-icon key="storyCalendar.filters.book" /></label>
<select class="form-select" id="bookId" name="bookId" asp-items="Model.BookOptions"></select>
</div>
<div class="col-md-4 col-lg-3">
<label class="form-label" for="month">Month</label>
<label class="form-label" for="month">Month <help-icon key="storyCalendar.filters.month" /></label>
<select class="form-select" id="month" name="month" disabled="@(!Model.MonthOptions.Any())">
@if (!Model.MonthOptions.Any())
{
@ -54,7 +54,7 @@
{
<section class="card story-calendar-empty">
<div class="card-body">
<h2>No dated scenes yet</h2>
<h2>No dated scenes yet <help-icon key="storyCalendar.unplacedScenes" /></h2>
<p class="muted mb-0">Scenes will appear here once canonical scene chronology has a resolved start date.</p>
</div>
</section>
@ -109,7 +109,7 @@ else
<div class="story-calendar-layout">
<div class="story-calendar-grid-wrap">
<div class="story-calendar-month" aria-label="@Model.SelectedMonthLabel">
<div class="story-calendar-month-title">@Model.SelectedMonthLabel</div>
<div class="story-calendar-month-title">@Model.SelectedMonthLabel <help-icon key="storyCalendar.monthView" /></div>
<div class="story-calendar-weekdays">
@foreach (var weekday in weekdays)
{
@ -167,7 +167,7 @@ else
<section class="card story-calendar-unplaced">
<div class="card-header d-flex justify-content-between align-items-center">
<strong>Unplaced scenes</strong>
<strong>Unplaced scenes <help-icon key="storyCalendar.unplacedScenes" /></strong>
<button class="btn btn-outline-secondary btn-sm" type="button" data-bs-toggle="collapse" data-bs-target="#story-calendar-unplaced" aria-expanded="false" aria-controls="story-calendar-unplaced">
@Model.UnplacedScenes.Count scenes
</button>

View File

@ -51,6 +51,7 @@
}
root.innerHTML = await response.text();
window.PlotLineHelpIcons?.init(root);
root.removeAttribute("aria-busy");
watchCalendarHeight();