Skip to content
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

Make an example of using the Custom Status plugin API methods #146

Open
mickmister opened this issue Aug 17, 2021 · 0 comments
Open

Make an example of using the Custom Status plugin API methods #146

mickmister opened this issue Aug 17, 2021 · 0 comments
Labels
Difficulty/1:Easy Easy ticket Good First Issue Suitable for first-time contributors Hacktoberfest Help Wanted Community help wanted Tech/Go Type/Enhancement New feature or improvement of existing feature Up For Grabs Ready for help from the community. Removed when someone volunteers

Comments

@mickmister
Copy link
Contributor

With the additions from mattermost/mattermost#17435 (comment), plugins can now access the APIs around managing a user's custom status. This makes it so plugins can:

  • Get a user's custom status
  • Change the user's custom status
  • Remove the user's custom status

The task here is to create slash commands to make use of these newly added methods:

  • /demo custom_status get
  • /demo custom_status update (...value)
  • /demo custom_status delete

Each command should reflect the current user's custom status state.

You will need to deploy the commit from the PR mattermost/mattermost#17435 to have access to the plugin API methods. To checkout this code:

  • cd mattermost-server - wherever you have this on your filesystem
  • with hub installed, run hub pr checkout 17435
@mickmister mickmister added Type/Enhancement New feature or improvement of existing feature Difficulty/1:Easy Easy ticket Good First Issue Suitable for first-time contributors Help Wanted Community help wanted Tech/Go Up For Grabs Ready for help from the community. Removed when someone volunteers labels Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty/1:Easy Easy ticket Good First Issue Suitable for first-time contributors Hacktoberfest Help Wanted Community help wanted Tech/Go Type/Enhancement New feature or improvement of existing feature Up For Grabs Ready for help from the community. Removed when someone volunteers
Projects
None yet
Development

No branches or pull requests

2 participants