diff --git a/PlotLine/Views/Acceptance/Phase1.cshtml b/PlotLine/Views/Acceptance/Phase1.cshtml index a353b6e..b7e58a6 100644 --- a/PlotLine/Views/Acceptance/Phase1.cshtml +++ b/PlotLine/Views/Acceptance/Phase1.cshtml @@ -1,24 +1,25 @@ @model Phase1AcceptanceViewModel @{ ViewData["Title"] = "Phase 1 Acceptance Checklist"; + ViewData["ProjectSection"] = "Overview"; + var projectNavigation = Model.ProjectID.HasValue + ? new Project { ProjectID = Model.ProjectID.Value, ProjectName = Model.ProjectName ?? "Project" } + : null; } -
-
- Stability report - @(Model.ProjectName ?? "All projects") -
- -
+ + +@if (projectNavigation is not null) +{ + +}
diff --git a/PlotLine/Views/Analytics/Index.cshtml b/PlotLine/Views/Analytics/Index.cshtml index 024fe0d..2066e9d 100644 --- a/PlotLine/Views/Analytics/Index.cshtml +++ b/PlotLine/Views/Analytics/Index.cshtml @@ -1,6 +1,7 @@ @model AnalyticsViewModel @{ ViewData["Title"] = "Story Health"; + ViewData["ProjectSection"] = "Health"; var openThreads = Model.ThreadHealth.Where(x => x.IsOpenStatus).ToList(); var dormantThreads = Model.ThreadHealth.Where(x => x.IsDormant).ToList(); var unresolvedAssets = Model.AssetHealth.Where(x => !x.IsResolved).ToList(); @@ -31,22 +32,13 @@ }; } -
-
- Workspace context - @Model.Project.ProjectName -
- -
+ + +
diff --git a/PlotLine/Views/Books/Details.cshtml b/PlotLine/Views/Books/Details.cshtml index c770575..a203dfd 100644 --- a/PlotLine/Views/Books/Details.cshtml +++ b/PlotLine/Views/Books/Details.cshtml @@ -1,6 +1,7 @@ @model BookDetailViewModel @{ ViewData["Title"] = Model.Book.BookTitle; + ViewData["ProjectSection"] = "Overview"; } -
-
- Current book - @Model.Project.ProjectName / @Model.Book.BookTitle -
- -
+
diff --git a/PlotLine/Views/Chapters/Details.cshtml b/PlotLine/Views/Chapters/Details.cshtml index 8e7b69c..a7dea1f 100644 --- a/PlotLine/Views/Chapters/Details.cshtml +++ b/PlotLine/Views/Chapters/Details.cshtml @@ -1,6 +1,7 @@ @model ChapterDetailViewModel @{ ViewData["Title"] = Model.Chapter.ChapterTitle; + ViewData["ProjectSection"] = "Overview"; } -
-
- Current chapter - @Model.Book.BookTitle / Chapter @Model.Chapter.ChapterNumber -
- -
+
diff --git a/PlotLine/Views/Dynamics/Story.cshtml b/PlotLine/Views/Dynamics/Story.cshtml index b5fbe59..4e1450a 100644 --- a/PlotLine/Views/Dynamics/Story.cshtml +++ b/PlotLine/Views/Dynamics/Story.cshtml @@ -1,8 +1,18 @@ @model StoryDynamicsViewModel @{ ViewData["Title"] = "Story Dynamics"; + ViewData["ProjectSection"] = "Health"; } + + + +

Story Dynamics

diff --git a/PlotLine/Views/Locations/Details.cshtml b/PlotLine/Views/Locations/Details.cshtml index 3c165ea..888c2c4 100644 --- a/PlotLine/Views/Locations/Details.cshtml +++ b/PlotLine/Views/Locations/Details.cshtml @@ -1,6 +1,7 @@ @model LocationDetailViewModel @{ ViewData["Title"] = Model.Location.LocationName; + ViewData["ProjectSection"] = "Locations"; var firstScene = Model.Scenes.FirstOrDefault(); } @@ -11,18 +12,7 @@ @Model.Location.LocationName -
-
- Project context - @Model.Project.ProjectName -
- -
+
diff --git a/PlotLine/Views/Locations/Index.cshtml b/PlotLine/Views/Locations/Index.cshtml index 8cee5b1..8a88abb 100644 --- a/PlotLine/Views/Locations/Index.cshtml +++ b/PlotLine/Views/Locations/Index.cshtml @@ -1,20 +1,16 @@ @model LocationListViewModel @{ ViewData["Title"] = "Locations"; + ViewData["ProjectSection"] = "Locations"; } -
-
Project context@Model.Project.ProjectName
- -
+ + +
diff --git a/PlotLine/Views/PlotLines/Edit.cshtml b/PlotLine/Views/PlotLines/Edit.cshtml index 6fe575e..ca2f56f 100644 --- a/PlotLine/Views/PlotLines/Edit.cshtml +++ b/PlotLine/Views/PlotLines/Edit.cshtml @@ -1,6 +1,19 @@ @model PlotLineEditViewModel @{ ViewData["Title"] = Model.PlotLineID == 0 ? "New Plot Line" : "Edit Plot Line"; + ViewData["ProjectSection"] = "Threads"; +} + +@if (Model.Project is not null) +{ + + + }
diff --git a/PlotLine/Views/PlotLines/Index.cshtml b/PlotLine/Views/PlotLines/Index.cshtml index d94acb6..51f67b6 100644 --- a/PlotLine/Views/PlotLines/Index.cshtml +++ b/PlotLine/Views/PlotLines/Index.cshtml @@ -1,18 +1,16 @@ @model PlotLineListViewModel @{ ViewData["Title"] = "Plot Lines"; + ViewData["ProjectSection"] = "Threads"; } -
-
Project context@Model.Project.ProjectName
- -
+ + +
@@ -20,7 +18,6 @@

Plot lines

diff --git a/PlotLine/Views/PlotThreads/Edit.cshtml b/PlotLine/Views/PlotThreads/Edit.cshtml index 04fba9e..aa2f608 100644 --- a/PlotLine/Views/PlotThreads/Edit.cshtml +++ b/PlotLine/Views/PlotThreads/Edit.cshtml @@ -1,6 +1,19 @@ @model PlotThreadEditViewModel @{ ViewData["Title"] = Model.PlotThreadID == 0 ? "New Plot Thread" : "Edit Plot Thread"; + ViewData["ProjectSection"] = "Threads"; +} + +@if (Model.Project is not null) +{ + + + }
diff --git a/PlotLine/Views/PlotThreads/Index.cshtml b/PlotLine/Views/PlotThreads/Index.cshtml index dc2e53a..ec2a03b 100644 --- a/PlotLine/Views/PlotThreads/Index.cshtml +++ b/PlotLine/Views/PlotThreads/Index.cshtml @@ -1,20 +1,16 @@ @model PlotThreadListViewModel @{ ViewData["Title"] = "Plot Threads"; + ViewData["ProjectSection"] = "Threads"; } -
-
Project context@Model.Project.ProjectName
- -
+ + +
@@ -22,7 +18,6 @@

Plot threads

diff --git a/PlotLine/Views/ProjectMetrics/Index.cshtml b/PlotLine/Views/ProjectMetrics/Index.cshtml index 2c2e32c..21660e6 100644 --- a/PlotLine/Views/ProjectMetrics/Index.cshtml +++ b/PlotLine/Views/ProjectMetrics/Index.cshtml @@ -1,13 +1,17 @@ @model ProjectSceneMetricsViewModel @{ ViewData["Title"] = "Scene Metrics"; + ViewData["ProjectSection"] = "Metrics"; } - + +

Project / Series

@@ -48,8 +50,6 @@
- - @if (TempData["ProjectExportMessage"] is string projectExportMessage) {
@projectExportMessage
diff --git a/PlotLine/Views/RelationshipMap/Index.cshtml b/PlotLine/Views/RelationshipMap/Index.cshtml index 340819a..94de7e4 100644 --- a/PlotLine/Views/RelationshipMap/Index.cshtml +++ b/PlotLine/Views/RelationshipMap/Index.cshtml @@ -2,6 +2,7 @@ @model RelationshipMapViewModel @{ ViewData["Title"] = $"Relationship Map - {Model.Project.ProjectName}"; + ViewData["ProjectSection"] = "Relationships"; var jsonOptions = new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase }; } @@ -11,18 +12,7 @@ Relationship Map -
-
- Project workspace - @Model.Project.ProjectName -
- -
+
@@ -30,10 +20,6 @@

Relationship Map

A read-only network of character relationships as of @Model.StoryPointLabel.

-
diff --git a/PlotLine/Views/Scenarios/Index.cshtml b/PlotLine/Views/Scenarios/Index.cshtml index 09514c7..a84c7b2 100644 --- a/PlotLine/Views/Scenarios/Index.cshtml +++ b/PlotLine/Views/Scenarios/Index.cshtml @@ -1,19 +1,16 @@ @model ScenarioListViewModel @{ ViewData["Title"] = "Scenarios"; + ViewData["ProjectSection"] = "Scenarios"; } -
-
- Scenario Sandbox - @Model.Project.ProjectName -
- -
+ + +
diff --git a/PlotLine/Views/Scenes/Edit.cshtml b/PlotLine/Views/Scenes/Edit.cshtml index 77ee5eb..0a4508b 100644 --- a/PlotLine/Views/Scenes/Edit.cshtml +++ b/PlotLine/Views/Scenes/Edit.cshtml @@ -1,6 +1,7 @@ @model SceneEditViewModel @{ ViewData["Title"] = Model.SceneID == 0 ? "New Scene" : "Edit Scene"; + ViewData["ProjectSection"] = "Overview"; } -
-
- Project context - @Model.Project.ProjectName -
- -
+
diff --git a/PlotLine/Views/StoryAssets/Index.cshtml b/PlotLine/Views/StoryAssets/Index.cshtml index 56ff8a6..8035e1e 100644 --- a/PlotLine/Views/StoryAssets/Index.cshtml +++ b/PlotLine/Views/StoryAssets/Index.cshtml @@ -1,20 +1,16 @@ @model StoryAssetListViewModel @{ ViewData["Title"] = "Story Assets"; + ViewData["ProjectSection"] = "Assets"; } -
-
Project context@Model.Project.ProjectName
- -
+ + +
@@ -22,7 +18,6 @@

@Model.Project.ProjectName

diff --git a/PlotLine/Views/StoryBible/Index.cshtml b/PlotLine/Views/StoryBible/Index.cshtml index 2136499..90ea558 100644 --- a/PlotLine/Views/StoryBible/Index.cshtml +++ b/PlotLine/Views/StoryBible/Index.cshtml @@ -1,6 +1,7 @@ @model StoryBibleViewModel @{ ViewData["Title"] = $"Story Bible - {Model.Project.ProjectName}"; + ViewData["ProjectSection"] = "Story Bible"; var timelineByBook = Model.Timeline.GroupBy(x => new { x.BookID, x.BookTitle }); var relationshipsByCharacter = Model.Relationships.GroupBy(x => new { x.CharacterAID, x.CharacterAName }); var revisionByGroup = Model.RevisionItems.GroupBy(x => x.GroupName); @@ -12,23 +13,7 @@ Story Bible -
-
- Project workspace - @Model.Project.ProjectName -
- -
+
diff --git a/PlotLine/Views/Timeline/Index.cshtml b/PlotLine/Views/Timeline/Index.cshtml index 508806a..267e2a1 100644 --- a/PlotLine/Views/Timeline/Index.cshtml +++ b/PlotLine/Views/Timeline/Index.cshtml @@ -2,6 +2,7 @@ @{ ViewData["Title"] = "Timeline"; ViewData["ShellClass"] = "plotline-shell-wide"; + ViewData["ProjectSection"] = "Timeline"; var selectedBook = Model.Books.FirstOrDefault(x => x.Book.BookID == Model.SelectedBookID)?.Book; var hasActiveFilter = Model.MatchingSceneIDs.Count != Model.OrderedScenes.Count || !string.IsNullOrWhiteSpace(Model.FocusLabel); var warningScenes = Model.OrderedScenes.Where(x => x.WarningCount > 0).ToList(); @@ -108,25 +109,17 @@ }; } -
-
- Workspace context - @Model.Project.ProjectName@if (selectedBook is not null) { / @selectedBook.BookTitle } -
- -
+ + +
diff --git a/PlotLine/Views/Timeline/Settings.cshtml b/PlotLine/Views/Timeline/Settings.cshtml index d283600..197c961 100644 --- a/PlotLine/Views/Timeline/Settings.cshtml +++ b/PlotLine/Views/Timeline/Settings.cshtml @@ -1,6 +1,8 @@ @model TimelineSettingsViewModel @{ ViewData["Title"] = "Timeline Settings"; + ViewData["ProjectSection"] = "Timeline"; + var projectNavigation = new Project { ProjectID = Model.ProjectID, ProjectName = Model.ProjectName }; } -
-
- Display configuration - @Model.ProjectName -
- -
+
diff --git a/PlotLine/Views/Warnings/Index.cshtml b/PlotLine/Views/Warnings/Index.cshtml index 7b1eea6..76e8c5e 100644 --- a/PlotLine/Views/Warnings/Index.cshtml +++ b/PlotLine/Views/Warnings/Index.cshtml @@ -1,23 +1,16 @@ @model WarningDashboardViewModel @{ ViewData["Title"] = "Continuity Warnings"; + ViewData["ProjectSection"] = "Warnings"; } -
-
- Workspace context - @Model.Project.ProjectName -
- -
+ + +