alyssaxuu / omni

The all-in-one tool to supercharge your productivity ⌨️

Home Page:https://chrome.google.com/webstore/detail/omni/mapjgeachilmcbbokkgcbgpbakaaeehi?hl=en&authuser=0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot access on default tabs

edgarasben opened this issue · comments

I cannot access Omni on default browser tab states like in an empty tab.

But I noticed my other browser extension shortcuts work, e.g. Notion:
image

This is a restriction on how the current implementation is developed. Dupe of #28 #27 and #21

Notion works because they are using the popup interface which is compatible with default tabs etc.

Yeah, I don't really know what to do here. Here's a few options I am thinking about:

  • If on the new tab page and trying to open Omni, open a new page that has Omni open automatically. Try to see if the new tab page can also be closed. This could work in theory, although unsure what page should be opened. Maybe a blank one (I could create a blank page within the extension for example), or bring the user to the homepage of their default search engine and inject it there?

  • Create some sort of popup (same as Notion) so this way I could inform the user that Omni won't work there. It could be used to put all sorts of settings, although it would mean that Omni wouldn't open in one click by clicking on the toolbar icon anymore. This still doesn't solve the Command + K problem.

  • Make the icon red / greyed out in the new tab page to show that it's disabled. This might not be clear enough to the user though, and it might look like it's broken.

What do you think would be the best approach?

I ended up doing the first option. If you close Omni, it goes back to the page you were before. Better than nothing I think!