Skip to content

Send shown player names from the service - #68

Merged
Shaydera merged 1 commit into
developmentfrom
shown-player-names-from-service
Nov 21, 2026
Merged

Shaydera merged 1 commit into
developmentfrom
shown-player-names-from-service

Conversation

@Shaydera

Copy link
Copy Markdown
Owner

The service now decides how a player's name reads, and the app shows what it gets.

  • One rule: Players are named the way the open log's game shows them (GameFlavor::player_name): "Ravel Ashwood" for WoW Forever, the first part of the logged name everywhere else. Pet and NPC names are sent as logged, hyphens included.
  • Fields: Rosters (PlayerRef.name), deaths, killing blows, recap sources and pet owners, aura holders, meter units and replay units carry the shown name. Unit names in breakdowns and views already did and now use the same helper.
  • Keys stay as logged: Ability row actors, pet names and the ability detail's targets also serve as keys. The ability detail replaces playerTargets with shownNames, a map from each player target's logged name to its shown name.
  • App: shortName is gone. currentGame.ts now only keeps the game data for the spell icons, so its listeners fire only when that changes.

Damage-taken sources still show players with their logged name, since set merges match those rows by name.

The service now names every player the way the open log's game shows
them: "Ravel Ashwood" for WoW Forever, the first part of the logged name
everywhere else. Rosters, deaths, killing blows, recap sources, aura
holders, meter units and replay units carry that name, so the UI no
longer splits names itself.

Pet and NPC names are sent as logged, hyphens included. Names that also
serve as keys stay as logged: ability row actors, pet names and the
ability detail's targets, which gain a map to each player's shown name.
@Shaydera
Shaydera merged commit a84d88f into development Nov 21, 2026
3 checks passed
@Shaydera
Shaydera deleted the shown-player-names-from-service branch November 21, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant