News for hackers. Stuff that matters.
Re:Show HN: Open-Source Video Editor Web App by g4zj on Sunday May 12, 2024 @09:49AM (#40334447)
I often close tabs by mistake, and there doesn't seem to be a confirmation dialog when closing the tab (or otherwise navigating away from it) while I'm actively working on an unsaved project. Is this something that could be added?
Re:Show HN: Open-Source Video Editor Web App by zenkyu on Sunday May 12, 2024 @11:35AM (#40335275)
I think I would be able to add that, also your project is saved every move, either when you move some clip on timeline or on canvas/player
Re:Show HN: Open-Source Video Editor Web App by kevincox on Sunday May 12, 2024 @01:50PM (#40336181)
Automatic saving seems like the best option. Then you can always just re-open the tab. Undo is better than confirmation.
Re:Show HN: Open-Source Video Editor Web App by thaumaturgy on Sunday May 12, 2024 @04:40PM (#40337412)
FWIW a few people fly around the web with persistent cookies and localstorage disabled except for selected sites -- once the tab is closed, the data is flushed, and re-opening the tab won't restore it. I'm one of those people. I recognize that this is entirely a "me" problem and don't expect anyone to change the way their software works to accommodate this behavior. Just raising a flag.
Re:Show HN: Open-Source Video Editor Web App by Nab443 on Tuesday May 14, 2024 @08:24AM (#40354449)
I would use the following behavior: the first time (loaded with empty storage) ask for confirmation, the next times (if loaded from storage) don't ask.

This would prevent people with auto cleanup to loose their work and avoid annoying others too much.