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

"Delete all" when restoring a backup / "Replace from backup" #98

Open cxw42 opened 6 years ago

cxw42 commented 6 years ago

Currently, "Load contents of a backup" appends rather than overwriting. This is good for data safety. However, I switch between development and production versions periodically, and have to manually delete the old entries when I do so. I would like an option to either delete all, or to replace the existing saved tabs with the contents of a backup instead of appending the backup to what is saved.

Does anyone have a use case for "Delete all" other than restoring a backup? If not, I would prefer restore-with-replacement, since it is less likely to be triggered by accident (you can always hit Cancel in the "Open" dialog box).

ShervinM commented 6 years ago

I think one of the common ways is to have a dialog that asks whether to append or replace (the backup file selected)