hedgedoc/frontend/src
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
..
api enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
app feat(auth): refactor auth, add oidc 2024-09-11 21:29:49 +02:00
components enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
extensions fix(frontend): first heading will be cleared 2024-09-11 20:46:38 +02:00
external-types fix(types): fix types for markdown-it-emoji 2024-02-12 00:46:57 +01:00
handler-utils fix(frontend): fix motd e2e test 2023-10-24 13:49:12 +02:00
hooks refactor(redux): migrate to RTK2 store definition 2024-04-09 10:55:38 +02:00
pages/api/private enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
redux enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
test-utils refactor(redux): migrate to RTK2 store definition 2024-04-09 10:55:38 +02:00
utils fix(frontend): do not hardcode example.org, do not prebuild motd 2024-08-07 21:28:17 +02:00
additional-global-types.d.ts refactor: rename isMac to isAppleDevice 2023-09-03 22:00:34 +02:00
links.json enhancement: remove frontend version 2023-04-03 20:11:03 +02:00
links.json.license fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00