Many of the times, customers tend to share their queries directly in the chat, such as reporting a bug or something like a feature request, adding an action button in the list of actions beside a message that pops up a modal which helps in opening an issue can be a very good addition for a user convenience.
As a GitHub App developer
Add an action button that triggers the New Issue Modal, providing the message as a template to the modal.
Acceptance Criteria
[x] Register the action button, in Command's Main Function.
[x] Make Action Handler to the Button and check for auth.
[x] Modify the New User Modal, for shared support for both SlashCommandContext and also with Action Button Context
[x] Launch the Modal with message.text as data.template for the NewIssueModal
Why do we need this ?
Many of the times, customers tend to share their queries directly in the chat, such as reporting a bug or something like a feature request, adding an action button in the list of actions beside a message that pops up a modal which helps in opening an issue can be a very good addition for a user convenience.
As a GitHub App developer
Add an action button that triggers the
New Issue Modal
, providing the message as a template to the modal.Acceptance Criteria
SlashCommandContext
and also withAction Button Context
message.text
asdata.template
for theNewIssueModal