hywax / mafl

Minimalistic flexible homepage
https://mafl.hywax.space
MIT License
294 stars 21 forks source link

[FEATURE_REQUEST] Web search in the style of macOS Spotlight #105

Open mwckr opened 3 months ago

mwckr commented 3 months ago

Is your feature request related to a problem? If so, please describe.

Not really, but it would enhance mafl greatly.

Describe the solution you'd like

It would be great if there was a way to invoke a web-search directly from mafl. The way the UI is built, I think a dedicated search field would look out of place. So instead, I suggest a Spotlight (macOS)-like text field that pops up when the user simply starts typing. It could either suggest to go to a pre-defined web-search-provider (e.g. DuckDuckGo) or offer auto-complete for tiles that are a part of the local mafl-configuration.

Priority

Medium (Would be very useful)

Is this something you would be keen to implement

None

hywax-assistant commented 3 months ago

👋 @mwckr Thanks for opening your first issue here! To help make it easier for us to investigate your issue, please follow the contributing guidelines.

If you like this project, please ⭐ star our repo.

hywax commented 2 months ago

Hi, the idea is not a bad one, especially when you add a lot of apps. I will definitely think about how best to implement it

mwckr commented 2 months ago

I'm thrilled that you like the idea. I've done a very quick and dirty mockup:

search mockup

Just a form of autocomplete for now. Of course, thinking down the line on further iterations, it could also invoke a websearch via a user-defined search engine, or go to other sites with a shortcut (e.g. you type w:python so it searches Wikipedia (denoted by w:) for "Python").