My context: I'm trying to be less dependent on the mouse and albert+brotab could help a lot by being able to instantly jump into any tab on my browser from anywhere I happen to be on the desktop. However, I'm currently hindered by a few issues. I thought I'd list them here for discussion and can break them out into separate issues if needed.
SQLite cache db TTL
Turns out that when using the keyboard for everything, it's not uncommon to open new tabs in FF then switch away to do something else, then want to switch back fairly quickly. A five minute delay in updating tabs is problematic.
When using bt list in the CLI it seems to respond really quickly. Is there a reason the albert extension uses index instead of getting realtime results from the browser?
Or, if the browser extension can detect new tab creation, maybe it can use that event to tell the client to update it's index? No polling/TTL needed then?
Display / Search
I've not found the parsed page content in the search results to be helpful. It's actually been a hindrance because there is so much "noise" in the results.
As an example, I'm currently writing this issue with about 17 other tabs open. A bunch of them are GitHub tabs but only two tabs are in a repo's "issues" area. But, this is what brotab returns:
Recommendations for improvement
Don't use page content in the search? Or, and not sure if Albert supports this, use different triggers to indicate whether page content should be included or not.
Weighted search results that prioritize tab title, then URL, then (if activated) page content
Put the tab title as the primary text line and then use the URL path + page content (if activated) for the subtext
Focus
Focus the browser window when selecting the tab to activate from Albert
FWIW, I was not able to get window focus working from the CLI bt activate --focus ... using Ubuntu 21.10 & the latest Firefox. Maybe related to #26 or #35. There were no errors in either log file. I'm going to restart my system later and see if that might remedy it. If not, I'll open a separate issue for this.
BTW, I really appreciate the work that you've but into this app. FWIW, I'm a Python dev and could submit PRs for any functionality above that you think is worthwhile. I just wanted to get on the same page conceptually before working on a PR.
My context: I'm trying to be less dependent on the mouse and albert+brotab could help a lot by being able to instantly jump into any tab on my browser from anywhere I happen to be on the desktop. However, I'm currently hindered by a few issues. I thought I'd list them here for discussion and can break them out into separate issues if needed.
bt list
in the CLI it seems to respond really quickly. Is there a reason the albert extension uses index instead of getting realtime results from the browser?bt activate --focus ...
using Ubuntu 21.10 & the latest Firefox. Maybe related to #26 or #35. There were no errors in either log file. I'm going to restart my system later and see if that might remedy it. If not, I'll open a separate issue for this.BTW, I really appreciate the work that you've but into this app. FWIW, I'm a Python dev and could submit PRs for any functionality above that you think is worthwhile. I just wanted to get on the same page conceptually before working on a PR.