-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show resource names instead of IDs #90
Conversation
Hi @s12v We intend to test this feature. We will come back to you with what we find. |
So I've looked into this a bit more and unfortunately this won't probably have the effect required, the reason why is that |
@svozza, it's intended to cover some resources, that have Right now, looking at DB instances, it's a long list of items like
For example looking at the Neptune instance used by Perspective, it has these properties in the Config JSON:
While |
Yep, it's definitely an improvement. I would prefer an implementation that relies on a null check rather than using the const buildGeneric = ({properties}) => {
properties.title = R.defaultTo(properties.resourceId, properties.resourceName);
} Alternatively I can take over the PR (there's a few other changes in the file I'd like to make). |
@svozza, updated the PR. Thanks. You can of course take over the PR if you'd like. |
Let's merge this actually and I can make changes in a separate PR. Thank you! |
Issue #: #29 (partially)
Description of changes:
Use resource name if available, fall back to ID.
Note: there's no tests, I'm not entirely sure if it works as expected, please check.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.