Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Show and search folder names #14

Open
vdun opened this issue Mar 2, 2017 · 1 comment
Open

Feature: Show and search folder names #14

vdun opened this issue Mar 2, 2017 · 1 comment

Comments

@vdun
Copy link

vdun commented Mar 2, 2017

Besides searching the the fields: Url, Title, ...

@ChrisNZL ChrisNZL added this to the 1.8.0 milestone Nov 27, 2017
@ChrisNZL
Copy link
Owner

I think I can make this work.

Internally, Chrome bookmark folders are essentially a bookmark without a URL, just a title and an internal ID.

Using Fauxbars existing urls table, I think I can get away with adding folders as entries with a
fauxbar-bookmark-folder://xxxx URL, where xxxx is the internal folder's ID...

Or I see that the urls table has a type field which is 1 for regular URLs, and 2 for bookmarks. So maybe 3 would be for bookmark folders. and I'll just leave the URL field blank perhaps.

And then, when the folder appears as a result:

  • Single-click to open the folder's bookmarks in the current window
  • Shift+Click to open the folder's bookmarks in a new window
  • Ctrl+Shift+Click to open the folder's bookmarks in an incognito window

By default I will probably have folders use the "unvisited bookmark" frecency score. I might be able to track proper scoring with clicks, but I'll need to investigate if that's reasonably possible, and how it behaves with existing bookmarks once they're launched.

Similar to the current is:fav phrase you can use when searching to only show bookmarks, I'll probably add an is:folder phrase too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants