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 Tracker: Save windows as sessions for later #13

Closed
mastef opened this issue Aug 23, 2019 · 9 comments
Closed

Feature Tracker: Save windows as sessions for later #13

mastef opened this issue Aug 23, 2019 · 9 comments

Comments

@mastef
Copy link
Contributor

mastef commented Aug 23, 2019

An often requested feature / or misunderstanding about the term "Tab Manager Plus" is that we can save/restore sessions. This is nice for tab hoarders, and for people wanting to save RAM for later. Also for people who don't like the bookmark system.

So currently I'm testing a feature that will allow you to save windows with all the tabs as a session - so you can re-open the same window later on :

image

A few caveats of the current approach :

  • The tab history is lost, so when you re-open a window from a session, it's only a window with X tabs that is restored. None of the tabs retain history information ( back button ). I can't find a solution to this issue currently.
  • Since chrome.storage.sync is limited in size, the storage of the sessions would only be in the local browser - chrome.storage.local. I'm a little bit afraid of this approach, because if your Chrome runs into some issue ( e.g. out of disk space, corrupted browser ), you might lose a lot of important sessions that you saved for later
    • maybe add an export/import backup feature
    • or sync outside chrome.storage.sync ( firebase / own account system ? )
  • The re-opened tabs are fresh new tabs. So if you typed in some form data ( like a comment ), and then saved the session - then restored it later on - that form data would be empty. Similar to the tab history issue above. Don't know a solution currently.
  • Drag & drop in the session windows is currently disabled. The way the data is shown on the screenshot may suggest that you can just drag & drop tabs like usual and between each other, but currently that's not there.
  • Should saving a session for later close the open window automatically? ( Currently : no )
  • Should re-opening a session delete the session automatically? ( Currently : no )
  • Easy to delete a session irrevocably by pressing the red X button
    • maybe add a "trash" that keeps deleted sessions for a few more days
    • or a popup to confirm session deletion ( annoying? )
@nollinvoyd
Copy link

I just discovered Tab Manager Plus. Very nice. I currently use Tab Session Manager, which focuses on a different approach.

I'm guessing it's not possible, but combining the features (not possible?) of both would make the ultimate tab manager. Going forward, I will probably use both in tandem.

Session Manager allows you to backup and restore sessions, not only within the browser, but externally as well.

@mastef
Copy link
Contributor Author

mastef commented Oct 9, 2019

@nollinvoyd this feature would kind of bring this.

  1. When you're using Tab Session Manager and it restores a session - are you able to browse back within a tab? E.g. is the history of the tab preserved?
  2. Backup/restore - is that simply to a .json ( or similar ) file?

Thanks

@waltersdmh
Copy link

Just in case this is useful:
An extension called "Tabs Outliner" does exactly this - keeps tab groups persist after a window is closed.

I'm not a fan of the UI so prefer to use Tab Manager Plus, but it's worth checking out for an idea of scope.

@nollinvoyd
Copy link

@nollinvoyd this feature would kind of bring this.

1. When you're using Tab Session Manager and it restores a session - are you able to browse back within a tab? E.g. is the history of the tab preserved?

2. Backup/restore - is that simply to a .json ( or similar ) file?

The backup is an identical replica in every way, and restores as such.

The backup is a .json

@mastef
Copy link
Contributor Author

mastef commented Oct 10, 2019

  1. When you're using Tab Session Manager and it restores a session - are you able to browse back within a tab? E.g. is the history of the tab preserved?
    The backup is an identical replica in every way, and restores as such.

When you're using Tab Session Manager and it restores a session - are you able to browse back within a tab? E.g. is the history of the tab preserved?

Could you please try

@nollinvoyd
Copy link

When you're using Tab Session Manager and it restores a session - are you able to browse back within a tab? E.g. is the history of the tab preserved?

No. I never noticed before. I'm wondering if that could be remedied if the history files were included in the backup? Or if the history files were somehow synced, so if a backup was added to a current session, everything could be compiled.

I'm just thinking out loud...no idea whether that's feasible.

@mastef
Copy link
Contributor Author

mastef commented Oct 11, 2019

@nollinvoyd No, I don't see a way to do this, and that's what I'm also worried about when introducing this feature.

  1. I see a lot of negative reviews with session managers because people find surprises like these, when they need them the most. E.g. when somebody actually needed the tab history, and it's missing - very frustrating.

    The issue is simply that the browser extension api doesn't allow you to fill the history ( from what I can see ). People are used to having the tab history, when they restore tabs with the Chrome history feature - but extensions don't have access to this it seems.

  2. The other reason for bad reviews is lost data. And that's the other thing I'm really worried about before introducing this feature. Somebody forgets to make a backup, their hard drive fills up or Chrome crashes - and everything is gone. Or some hard drive error wipes the Chrome local storage...

Like, I have this feature working locally here and I have no issues. But the above 2 points keep me from publishing it publicly. Because when users start losing their data, that's when the bad reviews will hurt the most. And I don't want anybody to lose their data - for whichever reason - when using my extensions.

@mastef
Copy link
Contributor Author

mastef commented Oct 23, 2019

Sessions are now shipped with version 5.0.4. It's disabled by default - you can enable it in the Tab Manager Plus options.

@mastef
Copy link
Contributor Author

mastef commented Oct 28, 2019

Backups to .json should be now shipped with the latest 5.0.8 version.

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

No branches or pull requests

3 participants