diff --git a/docs/player_gm_ux_redesign_plan.md b/docs/player_gm_ux_redesign_plan.md index 7d883f7..03a8933 100644 --- a/docs/player_gm_ux_redesign_plan.md +++ b/docs/player_gm_ux_redesign_plan.md @@ -567,6 +567,10 @@ Acceptance criteria: ### Phase 5: Advanced curation and diagnostics split +Status: + +- implemented in the web app on March 15, 2026 + Scope: - move debug/import details into a separate advanced surface diff --git a/src/RolemasterDb.App/Components/Shared/CriticalCellEditorDialog.razor b/src/RolemasterDb.App/Components/Shared/CriticalCellEditorDialog.razor index 85de648..461717a 100644 --- a/src/RolemasterDb.App/Components/Shared/CriticalCellEditorDialog.razor +++ b/src/RolemasterDb.App/Components/Shared/CriticalCellEditorDialog.razor @@ -1,6 +1,7 @@ @using System @using System.Collections.Generic @using System.Linq +@using System.Text.Json @using RolemasterDb.App.Domain @using RolemasterDb.App.Features @@ -94,12 +95,7 @@ @if (Model.ValidationMessages.Count > 0) { -
- @foreach (var message in Model.ValidationMessages) - { -

@message

- } -
+

@GetParserNoteSummary(Model.ValidationMessages.Count)

}
@@ -228,6 +224,94 @@ } } + +
+
+ + Advanced Diagnostics + @GetAdvancedSummary(Model) + + +
+
+
+
+ Parser Metadata +

Last loaded or re-parsed parser result.

+
+
+ +
+
+
Parse Status
+
@Model.ParseStatus
+
+
+
Raw Affix Text
+
@(string.IsNullOrWhiteSpace(Model.RawAffixText) ? "—" : Model.RawAffixText)
+
+
+ + @if (Model.ValidationMessages.Count > 0) + { +
+ @foreach (var message in Model.ValidationMessages) + { +

@message

+ } +
+ } + +
+ +
@FormatJson(Model.ParsedJson)
+
+
+ + @{ + var effectMetadata = GetEffectMetadataRows(Model); + } + + @if (effectMetadata.Count > 0) + { +
+
+
+ Effect Source Metadata +

Stored source markers and labels for the current effect list.

+
+
+ +
+ @foreach (var entry in effectMetadata) + { +
+
+ @entry.Scope +

@entry.EffectLabel

+
+
+ Type: @entry.SourceType + Text: @(string.IsNullOrWhiteSpace(entry.SourceText) ? "—" : entry.SourceText) +
+
+ } +
+
+ } + +
+
+
+ Current Save Payload +

Request built from the visible editor state, including generated branch internals.

+
+
+
@BuildCurrentSavePayloadJson(Model)
+
+
+
+