Tabbed online accounts with character and party columns - #952
Conversation
…lumns Split the logged-in page into Players / Off-level Players / Bot Players tabs, gated on the offlevel and bot plugin states. Add selected-character and party columns with party-grouped ordering shared across all three tables, and cover the ordering and distributed fallbacks with tests.
ReviewOverall this is a nice cleanup: the shared
Findings below, roughly by importance. 1. Off-level sessions become unreachable when the plugin is deactivated
Suggestion: show the tab when the feature is available or when there is at least one active offline player. 2.
|
Reworks the
/logged-in(Online accounts) page:/offlevelcommand plugin is active), Bot Players (only when the bot feature plugin is active).—in distributed deployments.BotManager, soDisconnectAccountAsynccannot stop them cleanly — that would leave stale entries behind).How
LoggedInAccount/OfflineAccountextended withCharacterName,PartyMaster,PartySize; newBotAccount+BotAccountServicefollowing the existingIDataService<T>pattern.OnlineAccountOrdering.OrderPartyGrouped<T>()overIPartyGroupedAccountinstead of triplicated sort logic.PartyBadge.razorcomponent instead of string-built HTML.PlayerInforecord instead of tuple, dead bot filter inOfflineAccountServicereplaced with an explanatory comment.