-
Notifications
You must be signed in to change notification settings - Fork 58
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
[GH-118] Add slash command autocomplete functionality #143
[GH-118] Add slash command autocomplete functionality #143
Conversation
Hello @ByeongsuPark, 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. |
@ByeongsuPark, thank you for the contribution! Do you think you can also add dynamic select support, as appropriate, to select the links to view/edit? It has been one of the biggest usability issues with the command, especially for links that do not have names. If you prefer, it can be done as a separate PR? |
Hi, @levb. I'm not sure whether I can implement the feature you explained for now. How about open a new issue about the dynamic select support feature so that someone else also can work on the issue? |
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
@levb, would you mind creating the new GitHub issue and reviewing this PR as is? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
@ByeongsuPark Thanks for this enhancement. This makes for a huge usability improvement! I have now done a round of testing and this is mostly working as expected. I see that the
This PR is a great addition as is, but let me know if your able to add these 2 points as well. |
@DHaussermann Yes, I can add it. I didn't commit it yet but Should the result look like the images below? |
@ByeongsuPark Sorry for the late response. These look good. Thanks for taking the time to further improve this. Much appreciated. |
'Scope' is now one of the autocomplete list items in 'set' command. Also, 'Template' and 'Pattern' option added to the autocomplete list item of 'list' command.
Codecov Report
@@ Coverage Diff @@
## master #143 +/- ##
==========================================
- Coverage 45.04% 40.03% -5.02%
==========================================
Files 6 6
Lines 535 602 +67
==========================================
Hits 241 241
- Misses 278 345 +67
Partials 16 16
Continue to review full report at Codecov.
|
@DHaussermann I fixed and commit it. Now it looks like the image below. |
Thanks @ByeongsuPark but, I do see one last minor issue in the screenshot. Sorry if my last comment was not completely clear. The UX for Autolink is a bit different from other plugins so I'm curious if it's trivial for you to make this change? |
@DHaussermann I can make it change. But I have a question. |
@ByeongsuPark yes, exactly. Sorry I made an error when adding the comment :)
Side note for clarity: |
@DHaussermann |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and passed
- Reviewed all commands including changes to
list
subcommand - Autocomplete now matches convention in all cases
- Tested in Mobile client as well as a precaution
- No issues found
LGTM!
@ByeongsuPark thank you so much for your continued efforts on this to implement the remaining changes. Your contribution is very much appreciated!
Summary
This PR adds slash command autocomplete functionality.
Ticket Link
Fixes #118