mattermost-community / mattermost-plugin-bitbucket

Mattermost plugin for Bitbucket
Apache License 2.0
6 stars 16 forks source link

[issue 51] Add slash command autocomplete functionality to Bitbucket #51 #66

Closed sibasankarnayak closed 2 years ago

sibasankarnayak commented 2 years ago

added slash command for plugin

ticket here Fixes #51

mattermod commented 2 years ago

Hello @sibasankarnayak,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

codecov-commenter commented 2 years ago

Codecov Report

Merging #66 (e23774d) into master (c734bcf) will decrease coverage by 0.77%. The diff coverage is 6.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
- Coverage   16.98%   16.20%   -0.78%     
==========================================
  Files          13       13              
  Lines        1772     1851      +79     
==========================================
- Hits          301      300       -1     
- Misses       1453     1533      +80     
  Partials       18       18              
Impacted Files Coverage Δ
server/command.go 6.79% <0.00%> (-2.94%) :arrow_down:
server/plugin.go 3.23% <100.00%> (-0.29%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c734bcf...e23774d. Read the comment docs.

sibasankarnayak commented 2 years ago

@mickmister @hanzei added this two feature in this PR too https://github.com/mattermost/mattermost-plugin-github/issues/513 https://github.com/mattermost/mattermost-plugin-github/issues/512

sibasankarnayak commented 2 years ago

I still think the code in https://github.com/mattermost/mattermost-plugin-github/blob/4db6b6a461d7d1ec5e137ee8a744b6ced3ed4e2d/server/plugin/command.go#L224-L242 is cleaner, but this is also fine.

@hanzei should i make it clean ?

hanzei commented 2 years ago

Your call. I'm fine with the current code.

sibasankarnayak commented 2 years ago

Your call. I'm fine with the current code.

would perfer to keep it

hanzei commented 2 years ago

@sibasankarnayak Please take a look at @mickmister and let me know what you think

dipak-demansol commented 2 years ago

@sibasankarnayak pls ping me when everything is done from your side so i can test it.

sibasankarnayak commented 2 years ago

@sibasankarnayak pls ping me when everything is done from your side so i can test it.

@dipak-demansol Please test this and share your feedback

hanzei commented 2 years ago

@dipak-demansol Gentle reminder to review this PR

dipak-demansol commented 2 years ago

@dipak-demansol Gentle reminder to review this PR

Testing is done, There are few point that i need to discuss with dylan so end of the day i'll add my comment.

catalintomai commented 2 years ago

@sibasankarnayak , can you address @dipak-demansol 's comments? We were targeting the release of this plugin for last month. Thanks.

sibasankarnayak commented 2 years ago

@sibasankarnayak , can you address @dipak-demansol 's comments? We were targeting the release of this plugin for last month. Thanks.

@catalintomai sure @dipak-demansol can you check now.

dipak-demansol commented 2 years ago

@sibasankarnayak , can you address @dipak-demansol 's comments? We were targeting the release of this plugin for last month. Thanks.

@catalintomai sure @dipak-demansol can you check now.

@sibasankarnayak 1) When i Use "//bitbucket subscriptions" AND add any parameter ex "/bitbucket subscriptions ABCD" then its add "ABCD" but i did not used the "add" Command, The user should get the validation message. image

2) With the list Command if i pass any extra parameter then its behaving as "add" Functionality. image

sibasankarnayak commented 2 years ago
  1. /bitbucket subscriptions ABCD

@dipak-demansol thank you for finding such cases, can you test now