hedgedoc/frontend/src/components/history-page
Erik Michelson 1c73e99b0a enhancement(note-deletion): allow to keep uploads
This adds support for keeping the uploads attached to a note when
deleting the same note. This is done by a simple checkbox that can be
clicked in the DeletionModal.

To do this, some parts of the note deletion had to be refactored,
especially in the case of the history page. Both the note deletion and
history removal methods used the same modal, which isn't applicable now
anymore. Additionally, there was a bug that the modal checked for
ownership in the frontend before allowing the note deletion. However, in
the context of the history page, the ownership couldn't be evaluated
since the backend API didn't include that information. This is now fixed
as well.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-09-18 18:37:39 +02:00
..
entry-menu enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
history-card enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
history-content enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
history-table enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
history-toolbar refactor: remove show-if in favour of conditionals 2023-11-30 21:14:01 +01:00
pin-button fix: height and width of history table button 2023-10-07 14:44:04 +02:00
sort-button fix(frontend): improve performance by caching translated texts 2023-06-26 23:56:44 +02:00
use-history-entry-title.ts fix(frontend): reformat source files 2022-12-04 20:59:46 +01:00
utils.ts fix(frontend): reformat source files 2022-12-04 20:59:46 +01:00