DreamWeave: abilities link opens the live class ability page

The third bar-menu item (and card button on older engines) now opens
/play/abilities, the live class ability panel, labelled Class Abilities.
/rserver abilities keeps its verb.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Daniel Wallace 2026-11-08 10:55:36 -08:00
commit 6570ff1bc1
8 changed files with 10 additions and 8 deletions

View file

@ -46,7 +46,7 @@ internal static class DreamWeaveWebTests
{
new[] { "market", "Market", ((char)0xE470).ToString(), "/rserver market" },
new[] { "suit", "Suit Builder", ((char)0xE40A).ToString(), "/rserver suit" },
new[] { "abilities", "Ability Planner", ((char)0xE6A2).ToString(), "/rserver abilities" },
new[] { "abilities", "Class Abilities", ((char)0xE6A2).ToString(), "/rserver abilities" },
};
Check.Eq(items.Count, want.Length, "one item per destination");
for (int i = 0; i < want.Length && i < items.Count; i++)
@ -581,6 +581,8 @@ internal static class DreamWeaveWebTests
Check.Eq(url, DreamWeaveWeb.SiteBase + "/launch?code=" + Code + "&to=%2Ftools%2Fsuit", "exact suit url");
Check.True(url.EndsWith("%2Ftools%2Fsuit", StringComparison.Ordinal), "ends with the escaped path");
Check.Eq(url.Split("&to=").Length - 1, 1, "exactly one &to=");
Check.Eq(DreamWeaveWeb.LaunchUrl(Code, DreamWeaveWeb.ById("abilities")!),
DreamWeaveWeb.SiteBase + "/launch?code=" + Code + "&to=%2Fplay%2Fabilities", "abilities opens the live class ability page");
foreach (WebDestination d in DreamWeaveWeb.Destinations)
{