-
Notifications
You must be signed in to change notification settings - Fork 829
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
Implement CTRL+F to work as a browser-like search in the desktop app #399
Comments
It's weird no one complains about 'cmd + f' can't focus on search bar on Mac. |
Hey @Artwalk, We want it to reserve CTRL/CMD+F on the desktop app for browser-like search so the experience would be consistent with the webapp. I understand that you feel we removed functionality in this release, which is why we're considering to add a shortcut for the webapp (which would also work on the desktop app) that sets focus on the search bar. Curious to hear if you'd have any suggestions on a good shortcut for this? Perhaps CTRL+SHIFT+S (since CTRL+S performs a save action, and CTRL+F performs find on the webapp)? |
Oh, I see, consistent experience. the shortcut should be CTRL/CMD+SHIFT+F, then CTRL/CMD+F to work as a browser-like search. But would you think that CTRL/CMD+F has a universal meaning which is 'find in apps'. You see, Xcode, iTerm, Sublime. If search was bound to other keys, users would get frustrated when they are going to search by pressing CTRL/CMD+F subconsciously. After all when they chose to use desktop app rather than webapp, they expect this already. Say, Safari/Chrome, CTRL+F of course search in browser(app), Mattermost, CTRL+F search in Mattermost(app). As for Slack, they provide this in webapp:
I'm not sure which experience is better. |
You raise very good points here. It's true Slack overrides the normal browser behaviour, but that might be because findInPage was only available on Electron a year ago. So at the time when the feature was added there might not have been an easy way to add browser-like search for CTRL+F. Good suggestion about CTRL+SHIFT+F a well. One other option for that is to view flagged posts as well :) |
Whatever we decide as the default, we should make it per-user configurable in their account settings. (probably needs a new "Keyboard Shortcuts" section in the "Account Settings"? - I realize now keyboard shortcuts are not configurable, and statically listed under TRIPLE_BAR -> "Keyboard Shortcuts" (or shown by CTRL+/). - maybe be out of scope ... My initial opinion (which seemed so obvious at the time), was that the default should be CTRL+F. However I understand the concern for a seamless (consistent) experience between the user experience in a web browser, vs. the desktop application. CTRL+SHIFT+F is a reasonable compromise (however as already stated it may conflict with displaying flagged posts as a future key-map...).
To argue against the concern (devil's advocate), who cares about consistency? IMO, for users running Mattermost within a web browser, it is acceptable that they MAY have a degraded experience when it comes to desktop interactions and other conveniences. Running the raw desktop application has numerous benefits, and is worthwhile. Accessing MM within a browser is convenient, but shouldn't be considered a permanent or fully capable use case. Also realizing ... my interpretation of the goal here may be entirely mis-understood. I was thinking of a keyboard shortcut to dump the user's cursor into the existing "Search" box in the Mattermost UI! - the original request clearly talks about a "find on page" type functionality analogous to web browsers. |
@fermulator Thanks for the input! Much appreciated. And yes, there are two kinds of "searches" discussed here, one for "finding on page", and the second for "setting focus on the Search box". We actually had the second implemented as CTRL+S shortcut, but people were confused about it and we eventually deprecated it. As for using CTRL+F as a shortcut for one of the two options: we have lots of users who switch between desktop app and browser, so having a consistent experience is important - particularly for CTRL+F which tends to be used quite often. All that being said, further feedback is welcome :) I also like the user-configurable option, as people are used to different shortcuts and it would be nice to be able to set them exactly how you want. |
Platform team helping with this feature. |
In #836, it looks like (someone?) decided to go with CTRL|CMD+F |
Closed via #836 |
One key missing piece in the desktop app user experience is CTRL+F browser-like search.
There is existing electron APIs for finding something on the page: http://electron.atom.io/docs/api/web-contents/#contentsfindinpagetext-options
Wondering if someone in the community was interested looking at implementing this feature?
The text was updated successfully, but these errors were encountered: