Ref Find Widget issues
We have a bunch of issues talking about the size or position of Find Widget as it sometimes gets in the way. The root cause is that our single line input box can't handle long text sometimes however the find widget itself sometimes covers the result or text (of course as it's absolute positioned Overlay). There are three ways to mitigate this issue
The major problem is users find the input box is not wide enough to see all typed in query keywords. We can have two way to mitigate this issue.
Allow users to resize the find widget horizontally (the same way as Visual Studio). The drawback is editor width is your limit.

Instead of a single line input box, we use textarea to support long text and multi line content (this requires other work though https://github.com/Microsoft/vscode/issues/15727)

Right now the Find Widget is an absolute positioned overlay so it sometimes covers the search result. We have several different solutions to solve or mitigate this problem as below

This is the way how Chrome handles this issue but it's not a perfect solution as when the editor width is small or not large enough, it still covers the result.
This is suggested by @Tyriar, moving the find widget downwards when the window is not wide enough, especially when we split the window

Option 5 - Have it docked at the bottom of the editor, similar to the way the "Problems", "Output", "Debug Console", and "Terminal" panels do. Then it doesn't need to be resized or moved. Pretty please. :)
@tjgupta I'm working on it :)
Hey @rebornix looking at this I believe you are facing some of the issue we are already facing with the debug toolbar, captured here #2513
Just some thoughts:
My point is we should not introduce a new ux concept if we already have some solutions that are solving this.
fyi @jamiedawsonyoung @stevencl @bpasero
Just a random idea: what if we actually allow to dock the find widget to the top or bottom of the editor (fixed) and everything else in the editor is pushed away from that? I am not 100% convinced about a find widget that moves dynamically.
As an example of what I am talking about, see ST for example:

We had quite a bit of discussion in two of our meetings recently. Here are some of the thoughts captured there:
@isidorn @bpasero thanks for your feedback. At the very beginning I don't want to dock the Find Widget as we already have Search Viewlet, so I came up with the four options I demonstrated above.
Isi:
We should definetley not make this move both vertically and horizontally
In our meetings I found that no one enjoys the floating Find Widget and yes we don't want to bring in new UX
If we decide to allow users to move it horizontally it should follow a similar pattern that the debug toolbar has (a drag handle)
The toolbar is inspiring, I'll come up with a mockup and share with you later.
As for the resize we should follow the similar pattern we are already using in the Git commit box
That's how I implemented it, they share the same component, with a flip option (textarea or input box)
Ben:
what if we actually allow to dock the find widget to the top or bottom of the editor (fixed)
I'll provide a prototype today and personally I start to love it.
Thanks @Tyriar for your summary, it represents most of our ideas and feedback. In addition to that
Dock Find Widget at the top of the editor

Dock Find Widget at the bottom of the editor

As we make the Find Widget full width, maybe we can make input box shorter and make the options richer, for example, use keywords Previous, Next instead of simple icons.
@rebornix I was not suggesting to make this the default location but having a grip-button to move the find widget around seems like a good thing to explore. I would like to selfhost on the find widget being in other locations to provide further feedback 馃憤
I would also like to self host on this to provide more feedback.
Looking at the pictures the docked find widget at the top / bottom feel too heavy for me.
The current find widget solution I like because it is similar to the chrome experience which every user on the planet is familar with
Thank you for all the detailed feedback. While implementing the docking solution, we found we can actually split this two issues completely. For the issue of covering search result, we can allow users to scroll beyond the first line by the height of Find Widget. It doesn't change Find Widget at all, you can only scroll beyond first line only when the Find Widget is visible so it won't cover anything.

Looks good. But when and how do you trigger this scroll beyond first line?
@isidorn when Find widget is opened, I add a view zone before the first line and its height is the same as the find widget. Besides, I adjust the scrollTop of the editor then you don't see any shifting when the view zone is added. Since the whitespace is already there, you can scroll to it.
@rebornix if I understand correctly that means that I will always be able to scroll beyond first line if the find widget is visible? I believe we should only allow that if we detect that find widget is covering some text.
Though it might not be a bad idea, I would like to try it out.
@isidorn yes that's my initial plan but I received +1 on being able to scroll beyond first line. Let's see users' feedback on it and decide if we want to narrow it down.
@rebornix if the scrolling beyond the top only happens when it needs to, I think this is the way to go personally. Potentially combined with the textbox expanding vertically when needed.
I'd like to try it out as well though 馃槃
@rebornix would it be possible to only allow scrolling out of the bounds if there is text under the find widget? Just got this which feels a bit awkward:

@jamiedawsonyoung I made two changes to the Find Widget for this work item.
As we still have half a week before testing, let's see users' feedback on this two changes. Right now I can see @Tyriar is not happy with scrolling as above.
@rebornix I like it, it might be better if we only added the extra space when absolutely necessary though.
@rebornix I just played with the find wiget a bit, here's my feedback:
@rebornix I just played with the find wiget a bit, here's my feedback:
Good work overall!
Close this first first and I'll create new issue for further improvement in next iteration.
Docking to top or bottom will solve all the usability issues but put us in the very large pool of editors that do it that way.
This is how all improvements should be pitched. Great argument. Hope UX designers will never see it, or the world will be doomed to eternal bikeshedding in sake of marketing.
Sorry for necroing, just couldn't resist.
Most helpful comment
Dock Find Widget at the top of the editor
Dock Find Widget at the bottom of the editor
As we make the Find Widget full width, maybe we can make input box shorter and make the options richer, for example, use keywords
Previous,Nextinstead of simple icons.