Closed TerranceN closed 8 years ago
This looks awesome! I promise I'll take a look as soon as I get home from my trip!
On Tue, Mar 22, 2016 at 11:10 AM, Terrance Niechciol < notifications@github.com> wrote:
Adds the ability to hit enter when searching in order to select the first result.
Also re-focuses the messenger textbox so that if you search for the person you're currently talking to, the flow is the same as if it was someone else (otherwise you have to manually press enter to get back to the message textbox).
I also added a more consistent way to select the message textbox (see focusMessageInput), so that it can be selected even if it has input. If you tried to search for the conversation you're already in and you had entered
text, you couldn't get back to it.
You can view, comment on, or merge this pull request online at:
https://github.com/guoguo12/messenger-shortcuts/pull/2 Commit Summary
- Added an enter hotkey to select the first search result
File Changes
- M src/messenger-shortcuts.js https://github.com/guoguo12/messenger-shortcuts/pull/2/files#diff-0 (24)
Patch Links:
- https://github.com/guoguo12/messenger-shortcuts/pull/2.patch
- https://github.com/guoguo12/messenger-shortcuts/pull/2.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/guoguo12/messenger-shortcuts/pull/2
Merged! Will publish ASAP. :) Thanks for contributing! (I've given you push access in case you come across any other changes you want to make.)
Oh BTW, what software did you use to make that nifty GIF demo?
Ok, cool. Once I get time to get around to it I plan on making a settings page to customize the shortcuts. Either that or making it so you can change them inline on the help screen. When I do that I'll just work off a branch and make a PR.
And for the gif I used recordit. It became a "thing" at the last company I worked at to include a gif for frontend changes, so when making this PR I figured why not?
This might need to be updated, since now the search feature includes a "Search for messages for" bar when searching. I might try to make a PR for this, but just wanted to give a heads-up.
Thanks for the heads-up! Let me know when the PR is ready and I'll merge it ASAP.
Just posted the PR (#6)! Sorry about the insane delay, you know how school is. :)
Adds the ability to hit enter when searching in order to select the first result.
Also re-focuses the messenger textbox so that if you search for the person you're currently talking to, the flow is the same as if it was someone else (otherwise you have to manually press enter to get back to the message textbox).
I also added a more consistent way to select the message textbox (see focusMessageInput), so that it can be selected even if it has input. If you tried to search for the conversation you're already in and you had entered text, you couldn't get back to it.