cxw42 / TabFern

Google Chrome extension for saving and restoring sets of tabs, and for switching between windows and tabs from a vertical, grouped list.
https://cxw42.github.io/TabFern/
Other
170 stars 29 forks source link

Persist partially-open window state across TF refreshes #168

Open cxw42 opened 5 years ago

cxw42 commented 5 years ago

Related to #35. Currently, refreshing TF while a window is partially open defeats the merge-detection logic. Therefore, you wind up with a fully-open unsaved-window entry for the open window, instead of the partially-open window you had.

Idea: add to the save data some window/tab ID numbers, a hash, or something else I can use to quickly check whether the tabs in a Chrome window match, in order, at least some of the tabs in a related tree item. If so, do a partial merge. Stashing Chrome window and tab IDs is probably enough, since those don't change when TF refreshes.