maxlath / time-capsule

A WebExtension to send links to your future self
http://maxlath.eu/projects/time-capsule
35 stars 4 forks source link

Support multiple tabs #20

Open waldyrious opened 1 year ago

waldyrious commented 1 year ago

I rely a lot on the TreeStyleTabs[^name] extension —perhaps to a fault— and often I have entire trees of tabs that I keep open in the browser related to a specific topic or project. Sometimes (okay, often) these trees end up staying in the browser for a long time, which leads to selective blindness and makes it even less likely for me to tackle the in-progress, paused projects, which end up becoming stale. I would love to be able to make them pop up later so I get actually reminded to resume work on them.

So far I've been using Time Capsule only with single tabs, but where it would really shine for me is if I could, well, encapsulate entire trees of tabs to be reopened together and with the same hierarchy.

Ideally this functionality would be integrated with TreeStyleTabs, like these extensions.

[^name]: I explicitly choose not to use the singular form of the name, "TreeStyleTab", which I find awkward and confusing.

waldyrious commented 1 year ago

More concretely, TreeStyleTabs allows storing trees of tabs as bookmarks, using a simple convention of indicating nesting levels by a > prefix in the title of the bookmark. For example, this tree:

image

...is stored in the bookmarks by TST like this:

image

(within a folder)

I think Time Capsule could use the same strategy to save and reopen bookmark trees.

For an example of an extension that implements opening of tabs trees from such bookmarks folders, in a way that's compatible with TreeStyleTab (i.e. preserving the nesting structure of the reopened tabs), see https://github.com/Lej77/bookmark-tree-for-tree-style-tab.