I usually operate Bitbucket's search via a smart/parameterized bookmark, allowing me to type something like b parse in my browser's address bar and that gets converted into http://localhost:7990/bitbucket/plugins/servlet/search?q=parse
The problem is the way the page loads, the focus is by default to the left of the logo and the first tab stop is to #content and that appends #content to the URL which triggers another search. You could also keep tabbing 8 or 9 more times, but this PR makes it such that the textbox gets focus as soon as it loads.
This makes it easy to not only refine the query but also to TAB to the results, allowing keyboard-based scrolling.
Tested with Bitbucket DC versions 7.21.10 and 8.9.9.
I usually operate Bitbucket's search via a smart/parameterized bookmark, allowing me to type something like
b parse
in my browser's address bar and that gets converted intohttp://localhost:7990/bitbucket/plugins/servlet/search?q=parse
The problem is the way the page loads, the focus is by default to the left of the logo and the first tab stop is to
#content
and that appends#content
to the URL which triggers another search. You could also keep tabbing 8 or 9 more times, but this PR makes it such that the textbox gets focus as soon as it loads.This makes it easy to not only refine the query but also to TAB to the results, allowing keyboard-based scrolling.
Tested with Bitbucket DC versions 7.21.10 and 8.9.9.
Fixes #48.