Skip to content

Reworking of how map names are handled #416

@Cepheid-UK

Description

@Cepheid-UK

This is a good standalone project for anyone interested.

Right now, map file names are fed to the website-backend from the matchmaking-service, the website-backend does this before it sends to the frontend:

https://github.com/w3champions/website-backend/blob/237cd0821094d6b0fc289262324fd7cbbd5ab103/W3ChampionsStatisticService/Matches/MapName.cs#L9

Then on the frontend, we apply translations to these strings:

twistedmeadows: "Twisted Meadows",

This can lead to some nasty gore on the frontend before we add the translations, and it also means that updating a map (even very minorly) means duplicate names.

The matchmaking-service has access to the metadata of maps, one field is the actual name of the map in text, e.g. "Twisted Meadows", and we can serve this to website-backend, and then pass on after validation checks to the frontend.

This will require a senior dev to make the relevant change to matchmaking service, but the rest can be handled on the open source repos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions