Use case – make it easier to add action buttons to extension cards, like this:
This was created with a custom card, but using a custom card means losing access to the other convenience methods in the card API, like library versions and logos. See discussion here https://quarkusio.zulipchat.com/#narrow/channel/187038-dev/topic/Buttons.20on.20dev.20ui.20cards/with/585611266.
What would be useful to me is something with similar signature to dynamicUrlJsonRPCMethodName, except that it renders as a button, and it doesn't call the method until the button is clicked, and then (optionally), it takes the string output of the method and shows it as a notification. Some other extensions might prefer to have the button hit a url, so we might want to think about that or provide both.
Use case – make it easier to add action buttons to extension cards, like this:
This was created with a custom card, but using a custom card means losing access to the other convenience methods in the card API, like library versions and logos. See discussion here https://quarkusio.zulipchat.com/#narrow/channel/187038-dev/topic/Buttons.20on.20dev.20ui.20cards/with/585611266.
What would be useful to me is something with similar signature to
dynamicUrlJsonRPCMethodName, except that it renders as a button, and it doesn't call the method until the button is clicked, and then (optionally), it takes the string output of the method and shows it as a notification. Some other extensions might prefer to have the button hit a url, so we might want to think about that or provide both.