deepjyoti30 / startpage

A minimal starpage for Chrome and Firefox
MIT License
625 stars 85 forks source link

Keyboard navigation #8

Closed oberprah closed 4 years ago

oberprah commented 4 years ago

I really like this project, it looks great.

But for me it is a bit annoying to use the mouse to select one of the links. It would be very cool to select them with a shortcut or by using a text field with autocompletion.

reesericci commented 4 years ago

I like this idea possibly. Leaning more towards the autocomplete side of things though. Could you implement this possibly @deepjyoti30 ?

deepjyoti30 commented 4 years ago

@oberprah You can always use the tab to select the URL's, did you try that.

The first tab will get you on the search bar and after that you will be able to browse through the URL's with each tab. Finally entering will open that URL.

oberprah commented 4 years ago

@deepjyoti30 yes, that could be a workaround, but not exactly what I need. If I have 20 URLs, then I have to click on tab 20 times.

reesericci commented 4 years ago

Something like duckduckgo bangs to quickly open urls with a custom prefix and custom "tag" for each url. Like YouTube could have the tag "yt" and i would type into the searchbar "--yt" and it would take me to YouTube.

deepjyoti30 commented 4 years ago

@reesericci @oberprah Hey guys, I have kind of added the feature. It still needs some fixes but I would be glad if you guys could try it out and give your inputs on how it looks etc.

oberprah commented 4 years ago

Currently, it seems a little buggy, but it is a very nice feature. Thanks!

deepjyoti30 commented 4 years ago

@oberprah Yeah I know it is a bit buggy at the moment. Glad that you like it!

deepjyoti30 commented 4 years ago

@oberprah The bug is now fixed. You can try it out and report back here if you want. If everything is fine I will probably be doing a release soon.

oberprah commented 4 years ago

@deepjyoti30 perfect, I really like it, thanks!

reesericci commented 4 years ago

@deepjyoti30 How does the feature work?

deepjyoti30 commented 4 years ago

@reesericci As you start typing on the search bar it will start showing you suggestions, that can be clicked on. You can just try out the latest commits.

reesericci commented 4 years ago

Ooh nice, gonna build soon

reesericci commented 4 years ago

@deepjyoti30 I just tried it out and I have one problem: Is it possible to make it so when I click on the suggestion, it will automatically go to the site rather than filling in the search field. Also I would like to see the feature outlined as an option to allow people to choose, as well as the entire suggestions. Otherwise, awesome feature!

deepjyoti30 commented 4 years ago

@reesericci It already does that. When you click on any suggestion, it actually open up that URL.

In terms of making it an option, I think I can surely do that.

reesericci commented 4 years ago

No it doesn't here's a gif:

startpage

deepjyoti30 commented 4 years ago

@reesericci Okay I got it. You meant when there is a mouse click you want it to go to that site. Currently, if you click enter on the selected suggestion it'll go to that site but I'll consider taking a look to see why it's not doing the same for mouse clicks.

deepjyoti30 commented 4 years ago

Added in the last release