-
Notifications
You must be signed in to change notification settings - Fork 975
Make autocomplete use history #179
Comments
fin is in huffingtonpost.com, the list is based on the top 500. |
I would like to see more than the top 500, I think it is too few. I find it often not completing for the sites I go to. |
@bbondy are you working on autocomplete with browser history or should i take it? |
I'm not but I think it's worth talking about a bit design wise first. What is your plan for it? I think just storing in app state will cause lag over time due to it growing too large. We did have it that way in the old browser repo though in app data sites. Should we have a whole different storage "store" for this and support querying subsets of it? or? |
I was thinking a separate store with entries like:
Probably only the ~500 most recent entries need to be in this store for autocomplete. |
I like the idea of treating this separate than history. |
would visit count be useful as well? |
Cool, I wasn't sure what the size limit of appStore is. Not sure about visit count - i feel like sorting by timestamp is sufficient |
++ I think putting it directly into the already existing sites is fine for this. There's a subtask fro getting partitionNumber inside sites, you could do that first as a step towards this. (note this will have an effect on pinned tabs as well). |
deleting out old items that are too old would be done only if there are no tags associated with it. |
Session store save seems like a good time to sort by last accessed date without tabs, and limit to first Config.maxSites + sites w/ tags. |
Here I am typing "fin" for finance.google.ca, and the only autocomplete suggestion is huffingtonpost:
The text was updated successfully, but these errors were encountered: