[Feature] Create GitHub Issues from Rocket.Chat channels#11
[Feature] Create GitHub Issues from Rocket.Chat channels#11RonLek merged 8 commits intoRocketChat:mainfrom
Conversation
514ea0d to
b42c78f
Compare
|
@RonLek @Sing-Li I have added the feature to fetch issue templates . I have also updated the slash command
I have tested this with repositories which have issue templates and those without issue templates and have tried to handle all the edge cases. This was the only work-around I could think of, since there are no 2022-07-23.00-04-18.mp4 |
RonLek
left a comment
There was a problem hiding this comment.
Awesome work @samad-yar-khan . LGTM.
b055a96 to
a677c84
Compare
Sing-Li
left a comment
There was a problem hiding this comment.
Great that you've found the APIs for templates.
That was one major blocker for its use by members of our own Rocket.Chat team :)
| 8) View/Add/Delete/Update Repository Subscriptions -> /github subscribe | ||
| 9) Subscribe to all repository events -> /github Username/RepositoryName subscribe | ||
| 10) Unsubscribe to all repository events -> /github Username/RepositoryName unsubscribe | ||
| 8) Logout from GitHub -> /github logout |
There was a problem hiding this comment.
Instead of having 7 and 8. Is it possible to have a better user experience of ....
a) logging in within the app settings session
b) from time to time, the app will ask the user to re-enter credential for security
The will gave a better "set and forget" experience to most users. Casual users will never be bothered with logging in and logging out.
There was a problem hiding this comment.
@Sing-Li We cannot have the login phase in the apps settings session because the app settings are only visible to the users which have Application Access given by the Server Admin so I don't think it will be convenient.
The logout feature will not be used by most users, its just there for convenience incase anyone wants to remove credentials from the server. The Login will be done by the user through the slash command, but they will only be prompted to login while using some feature which requires auth. Apart from that, using RC Scheduler we will automatically logout the user periodically and they will be sent a direct message by GitHub App bot to login again. It follows the similar workflow as you have mentioned in b), the user does not even have to enter credentials, they will be logged in directly once the click on the login button as the token is regenerated by GitHub. This was suggested by @RonLek to keep the system scalable and not store tokens forever in App Memory. I have added the reasoning behind it in Wiki/Auth.
Let me know if I am missing something, maybe we can improve the login user experience in some way, we can discuss this in the upcoming the weekly meeting 😅
|
Changes LGTM. Merging this in. |
Issue(s)
closes #10
Acceptance Criteria fulfillment
Proposed changes (including videos or screenshots)
/github new-issueto display a modal which takes input needed to create a new issue.2022-07-18.05-34-49.mp4