Allow a custom display name in the Wallboard/Hexagons view #5510
microvesalith
started this conversation in
Ideas
Replies: 1 comment
-
|
I would love to submit a PR of course. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Idea: Allow a Custom Display Name in the Wallboard (Hexagons) View
Would the team be open to a small enhancement of the Wallboard (hexagons) view that allows a shorter display name to be shown without changing the actual application name?
This proposal should be fully backward compatible.
Motivation
In some environments, service names follow conventions that contain a lot of repeated information. For example:
In the Wallboard view, much of the available space is used by repeated prefixes and suffixes, while the truly distinguishing part of the name occupies only a small portion of the label.
It would be useful if the Wallboard could display:
while the actual Spring application name remains unchanged.
Why Not Simply Change the Application Name?
A custom
ApplicationRegistrycan already be used to modify the name returned by/applications:However, changing
Application.namehas side effects because the name is also used elsewhere in the application, including routing and navigation.As a result, changing the name for display purposes also changes behavior.
Proposal
Add an optional display-oriented field to
Application, for example:The Wallboard could then use:
while all existing logic would continue to rely on the actual application name.
For example:
The Wallboard would display:
while URLs, lookups, searches, and application details would continue to use:
Possible Implementation
A relatively small enhancement in the Wallboard component could be sufficient:
Instead of:
the component could prefer
displayNamewhen present and fall back tonameotherwise:Benefits
Would this be considered a reasonable enhancement for SBA?
Beta Was this translation helpful? Give feedback.
All reactions