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
Fixed @ not working on latest build due to... #5878
Fixed @ not working on latest build due to... #5878
Conversation
On latest build the @ shortcut to search for mentions was not working due to missing parameters on the onListenerChange method, due to changes done previously to post_action and search_bar that were not made to the onListenerChange method.
Thanks @prixone for the pull request! Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project. Please help complete the Mattermost contribution license agreement? This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed. Please let us know if you have any questions. We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team. |
@lindalumitchell did you have a chance yet to test this out? |
Ah, thank you @jwilander; I didn't see this one come through. I just tested, and the at-mention search is working as expected on the spinmint server. No issues found. |
added fix for when no notification options for mentions is defined by the user...
Sorry everyone, I've found a new issue here and since it hasn't been pushed out I've merged it. from:
to:
Basically, if the user does not have the option The system does not give anything to the search field thus this fix should avoid it from submitting the request in this specific scenario to avoid an "invalid search term" from being sent to the server. I've looked thru the commits on that file for previous commit but NONE seemed to deal with or change this behavior so I assume that when the user does not have anything select, not sending the request to the server is the correct behavior here. @lindalumitchell sorry to disturb you, would you mind testing for the above mentioned? thanks. |
|
Spinmint test server created at: http://i-0406880c488984158.spinmint.com:8065/pr5878 Test Account 1: Email: Test Account 2: Email: Instance ID: i-0406880c488984158 |
@prixone @jwilander @jasonblais I re-tested for the described scenario, with all boxes in the Words that trigger mentions setting unchecked. Clicking the @ icon does nothing in that case (even though @[username] still triggers a mention). No errors observed. When at least one option is checked, the @ icon displays mentions in RHS as expected. It sounds like the scenario with no mention options checked is a separate issue, and I'll file a separate bug for that one (https://pre-release.mattermost.com/core/pl/ycs8oijwcjfadmc8donc4kx7tr). So this one checks out; no issues found. |
Spinmint test server destroyed |
Summary
On latest build the @ shortcut to search for mentions was not working due to missing parameters on the performSearch method used by the onListenerChange method, due to changes done previously to post_action and search_bar that were not made to the performSearch that exists within the onListenerChange method.
Ticket Link
NONE
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]