You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deleting chapters using the chapter editor, the deletions should be "soft deleted" until saved so that deletion can be undone. Deleted chapters should have the input boxes removed, the text of both the runtime and chapter name are modified to use the strikethough HTML tag, and possibly changing the color from while to another color. If you click the minus sign again, then the change is undone, and the input boxes are restored.
Why would this be helpful?
As currently designed, the chapter editor is a "hard delete" which means that once the chapter is deleted, it cannot be undeleted unless you refresh the page. This can be a problem if I'm deleting duplicate chapters and hit the minus sign one-too-many times.
Future Implementation (Screenshot)
Audiobookshelf Server Version
v2.13.4
Current Implementation (Screenshot)
The text was updated successfully, but these errors were encountered:
There is actually a button to reset the changes so you don't have to refresh the page.
Keeping the removed chapters there would complicate the UI since we are iterating through the chapters and validating. We would have to store removed chapters and their index in another array then merge them just for display purposes.
I don't see the effort involved in doing that being worth it. I also prefer not to see the chapter there once I remove it and before I hit save.
The chapter editor will eventually be refactored. There is a lot of changes I want to do and a lot of changes that have been suggested.
Type of Enhancement
Web Interface/Frontend
Describe the Feature/Enhancement
When deleting chapters using the chapter editor, the deletions should be "soft deleted" until saved so that deletion can be undone. Deleted chapters should have the input boxes removed, the text of both the runtime and chapter name are modified to use the strikethough HTML tag, and possibly changing the color from while to another color. If you click the minus sign again, then the change is undone, and the input boxes are restored.
Why would this be helpful?
As currently designed, the chapter editor is a "hard delete" which means that once the chapter is deleted, it cannot be undeleted unless you refresh the page. This can be a problem if I'm deleting duplicate chapters and hit the minus sign one-too-many times.
Future Implementation (Screenshot)
Audiobookshelf Server Version
v2.13.4
Current Implementation (Screenshot)
The text was updated successfully, but these errors were encountered: