From ef15bce7c4ec15574ccf849f51a39ee0d95b9199 Mon Sep 17 00:00:00 2001 From: Frank Tovar Date: Sun, 15 Mar 2026 01:20:48 +0100 Subject: [PATCH] Remove technical noise from lookup UX --- docs/player_gm_ux_redesign_plan.md | 4 + .../Components/Layout/MainLayout.razor | 6 +- .../Components/Layout/NavMenu.razor | 2 +- .../Components/Pages/Home.razor | 62 ++++---------- .../Components/Pages/Tables.razor | 11 +-- .../Shared/CriticalLookupResultCard.razor | 84 ++----------------- 6 files changed, 33 insertions(+), 136 deletions(-) diff --git a/docs/player_gm_ux_redesign_plan.md b/docs/player_gm_ux_redesign_plan.md index 17b04c9..0e2bcfe 100644 --- a/docs/player_gm_ux_redesign_plan.md +++ b/docs/player_gm_ux_redesign_plan.md @@ -499,6 +499,10 @@ This is the key UX shift: the system does the import work again at cell scope in ### Phase 1: Strip visible technical noise +Status: + +- implemented in the web app on March 15, 2026 + Scope: - simplify home page copy diff --git a/src/RolemasterDb.App/Components/Layout/MainLayout.razor b/src/RolemasterDb.App/Components/Layout/MainLayout.razor index a246542..4e65da9 100644 --- a/src/RolemasterDb.App/Components/Layout/MainLayout.razor +++ b/src/RolemasterDb.App/Components/Layout/MainLayout.razor @@ -8,10 +8,10 @@
- Starter stack - .NET 10 + Blazor + Minimal API + EF Core + SQLite + Session Tools + Attack lookup, critical lookup, and table browsing
- Seeded for attack and critical lookups + Ready for play
diff --git a/src/RolemasterDb.App/Components/Layout/NavMenu.razor b/src/RolemasterDb.App/Components/Layout/NavMenu.razor index 0cb63c4..92b4ce2 100644 --- a/src/RolemasterDb.App/Components/Layout/NavMenu.razor +++ b/src/RolemasterDb.App/Components/Layout/NavMenu.razor @@ -1,7 +1,7 @@ diff --git a/src/RolemasterDb.App/Components/Pages/Home.razor b/src/RolemasterDb.App/Components/Pages/Home.razor index 6139ee2..c8a37cd 100644 --- a/src/RolemasterDb.App/Components/Pages/Home.razor +++ b/src/RolemasterDb.App/Components/Pages/Home.razor @@ -7,31 +7,22 @@ @if (referenceData is null) {
-

Summoning tables...

-

Loading the starter attack and critical data from SQLite.

+

Preparing the lookup desk...

+

Loading the tables and options for play.

} else {
- Rolemaster Lookup Desk -

Resolve the attack roll, then the critical, from one place.

-

- Attack tables still come from the starter dataset, while critical lookups now read the importer-managed tables loaded into the same SQLite file. - The page surfaces both the gameplay result and the import metadata behind each critical entry. -

-
- @referenceData.AttackTables.Count attack tables - @referenceData.CriticalTables.Count critical tables - @referenceData.ArmorTypes.Count armor types - SQLite file: rolemaster.db -
+ Session Lookup +

Resolve attacks and criticals fast.

+

Choose the table, enter the roll, and read the outcome without digging through extra metadata.

-

Automatic Attack Lookup

-

Choose an attack table, armor type, and attack roll. If the attack produces a critical and you provide the critical roll, the app resolves that follow-up automatically.

+

Attack Lookup

+

Choose an attack, armor type, and attack roll. If it produces a critical and you enter the follow-up roll, the app resolves that too.

@@ -68,7 +59,7 @@ else
- Leave critical roll blank to stop after the attack table result. + Leave critical roll blank if you only need the hit result.
@@ -83,7 +74,7 @@ else

@attackResult.AttackTableName vs @attackResult.ArmorTypeLabel

- Roll band: @attackResult.RollBand + Attack roll: @attackResult.Roll Hits: @attackResult.Hits @if (!string.IsNullOrWhiteSpace(attackResult.CriticalSeverity)) { @@ -94,7 +85,6 @@ else No critical }
-

Table notation: @attackResult.RawNotation

@if (!string.IsNullOrWhiteSpace(attackResult.Notes)) {

@attackResult.Notes

@@ -103,7 +93,7 @@ else @if (attackResult.AutoCritical is not null) {
-

Automatic critical resolution

+

Resolved critical

} @@ -118,7 +108,7 @@ else

Direct Critical Lookup

-

Use this when you already know the critical table, column, roll, and group if the selected table has variants.

+

Use this when you already know the critical table, severity, roll, and variant if the table uses one.

@@ -133,11 +123,11 @@ else
- +
@@ -145,7 +135,7 @@ else @if (SelectedCriticalTable?.Groups.Count > 0) {
- +