hedgedoc/frontend
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
..
.netlify
cypress refactor(media): store filenames, use pre-signed s3/azure URLs, UUIDs 2024-09-12 14:49:17 +02:00
docker fix(docker): update docker documentation reference 2024-09-17 01:35:45 +02:00
global-styles fix(styles): use correct dark-mode selector in css 2024-09-18 18:11:02 +02:00
locales enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
public
src enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
.editorconfig
.env
.env.test
.env.test.license
.eslintrc.js
.gitignore
.prettierignore
.prettierignore.license
.prettierrc.json
.prettierrc.json.license
build.sh
CHANGELOG.md
CONTRIBUTING.md
cypress.config.ts
jest.config.ts
next-env.d.ts
next-env.d.ts.license
next.config.js fix(frontend): build messages 2024-09-01 17:57:45 +02:00
package.json fix(deps): update dependency next to v14.2.10 [security] 2024-09-18 08:42:35 +00:00
package.json.license
tsconfig.json
tsconfig.json.license