-
Notifications
You must be signed in to change notification settings - Fork 31k
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
Search panel -- annoying "toggle replace button" #30250
Comments
I think I can answer the first point of my list on my own, it looks like there's another button for hiding the other inputs: The fact that I haven't even noticed it in months might say something, other than I'm distracted. It looks weirdly positioned to me, it seems to be aligned with the other buttons, vertically, but all of them have another button or an input next to them, this one doesn't seem aligned with anything horizontally. It's also responsible for the inconsistent gutter between the 2nd and 3rd inputs (if you look at the 3rd and 4th inputs the gap between them is narrower). Why not moving it to the toolbar above? There's already a button for folding the results, I think having a button next to it for "folding" the inputs might be more appropriate. |
I'm not sure that button is responsible for taking up that space, it's more that the file result item looks good with a bit of left margin, and the result under the file item should be contained within the file result item. It could probably be a bit tighter, but I wouldn't push it all the way to the left.
I don't use it that often and think it looks better when it's hidden.
I'll probably be removing the "files excluded through settings" box this month - #27226. They are hideable with the ... button.
If you use cmd+shift+f, then it hides replace, because that's the shortcut for 'find'. You can use cmd+shift+h if you want to replace. Or, rebind cmd+shift+f to 'replace'.
You can tab to it, or use the shortcut.
Sorry, I don't want to add a setting for every tiny switch in the UI, I'd rather just try to do the right thing most of the time. Regarding the ... button, the spacing is a little inconsistent as I tried to save some vertical space - I think it used to stand out more. I would rather keep the button close to the thing that it's acting on. I'll be revamping the search viewlet this month via #27226 and #29977 so please follow those issues and stay tuned. I'll keep your feedback in mind. |
@roblourens Thanks a lot for the detailed reply, having the ... button and a shortcut for focussing into the replace input mostly overcomes the issue. However I have to insist on the spacing, it looks even weirder without the replace button, also it's not even consistent between different panels, pretty ugly if you ask me: |
On the other panels, I don't know of any reason for it to be uneven, and agree that it would look better centered evenly. Filed #30648 for that. |
The "toggle replace button" (inside the yellow rectangle in the screenshot below) is broken in so many ways, let me enumerate them:
The best solution to me is getting rid of it all together, but I guess a reasonable solution is to add the ability to hide it via a
search.alwaysOnInputs
setting or something. I wouldn't mind an analogous setting for the floating search widget.What do you think?
The text was updated successfully, but these errors were encountered: