glanceapp / glance

A self-hosted dashboard that puts all your feeds in one place
GNU Affero General Public License v3.0
7.49k stars 260 forks source link

feat: added property new-tab to type: search #137

Closed ralphocdol closed 3 months ago

ralphocdol commented 3 months ago

I'm used to having a search bar on a dashboard that opens in a new tab and I kinda prefer it (muscle memory?). Although there is a keyboard shortcut for it, I tend to forget it. This is just a property that is false by default and switch the shortcuts if true.

This is also my first time with Go, so please do change and optimize things if need be.

svilenmarkov commented 3 months ago

Thanks for contributing!

I changed the implementation a bit to keep things consistent with how other data gets passed, other than that - good job. 🙂