-
Notifications
You must be signed in to change notification settings - Fork 99
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
Support display names for actions #242
Comments
I realise this could be done using the |
Couple of thoughts on this:
|
I've never liked the dotted syntax and that it ended up in the spec to begin with (/bias). 😀 So I am in favor of whatever we can do to not have it forced onto the tools/UIs. Localization is a great thing that we should do but I think that it is also a big thing that is larger than what Ivan is asking about. Hopefully we can do something similar to 2 for now to get by and localization could come in a later additive feature? FWIW, Porter already has something very similar to 2 and supports |
+1 to this especially if we have tools doing it. On projects where I've had to worry about localisation before, we've needed a unique key and description. We have that as part of actions in the spec already so we can use that. |
I'm splitting localization/internationalization off as a separate/larger concern based on feedback during the cnab community meeting on 2019/9/4. #262 The suggestion for the interim was to include the second solution to the non-normative section on how to display the dotted custom action names. |
The CNAB WD says that action names "SHOULD use dotted name syntax". This is great for uniqueness, but not great for UI. Could we have an optional 'display name' attribute for actions? The scenario is a GUI which displays the actions that can be taken on a bundle (or installation/instance/claim), e.g. as buttons or on a menu: it would be nice to be able to display:
instead of
The text was updated successfully, but these errors were encountered: