Skip to content

[Maintenance]: Use Short and Display names throughout client UI #6003

Description

@bubblobill

Describe the problem

Atrributes have an actual name, a short name, and a display name. These are only used for pop-up attribute sheets, when they should be presented to the user in all UI elements, e.g. the Token Property Editor.

A good variable name rarely makes a good display name.

This added functionality should also be extended to other user definable campaign properties such as states, bars, lights, and sight.

The improvement you'd like to see

Use the display name in the Token Property Editor and elsewhere.

Implement short and display names for all user definable campaign properties.

Make this information available (as appropriate) to Handlebars context data.

Macro Functions to look up names, e.g. json.get(getPropertyNames("Mana Count"), "canonical").

Expected Benefits

This would also permit more human readable entries in things like context menus.

Pop-up attribute sheets will be able to display state/bar image names more compactly.

Additional Context

As the bar/state name is not normally shown on the map, people tend to use descriptive names that can be long. This can conflict with my layout constraints to make things ugly. It would be preferred to have the option of using a short name

Metadata

Metadata

Assignees

No one assigned

    Labels

    code-maintenanceAdding/editing javadocs, unit tests, formatting.

    Fields

    No fields configured for Code Maintenance.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions