Skip to content

Introducing Quick Gist feature for sharing Gist through Rocket Chat #34

@henit-chobisa

Description

@henit-chobisa

Why do we need this ?

Github Gist was an awesome feature introduced by Github for sharing code snippets quickly. It would be very convenient for the users to quickly share the most recent gist by a single command /gh gist 1.

Goals

  • Adding a Modal where a user can see his previous Gist in a order of their creation from latest -> Oldest.
  • Adding a a new DualParamCommand and a new TrippleParamCommand so that we can work around with two types of issues.
    • When the user don't know which gist to share, he can browse through all his previous Gist and send the desired one from them.
    • When the user quickly want to share the most recent or gist after that, he can use the gist followed by a number, which targets the gist according to the order of creation.

Acceptance Criteria

  • Creation of Gist Modal for displaying the existing gist created by the User.
  • Creation of DualParamCommand and a new TrippleParamCommand for executing gist feature.
  • Making IGist and IGistFile Interfaces for structuring the data according to the SDK.
  • Adding method for fetching Gist in GithubSDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions