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 feat: migrate frontend app to nextjs app router 2023-09-03 22:00:34 +02:00
src enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
.editorconfig chore: fix and reformat editorconfig 2023-04-24 13:39:33 +02:00
.env fix: add .env file symlinks 2023-04-13 10:39:17 +02:00
.env.test
.env.test.license
.eslintrc.js
.gitignore
.prettierignore
.prettierignore.license
.prettierrc.json
.prettierrc.json.license
build.sh fix(frontend): delete mock public directory only for production 2023-10-24 13:49:12 +02:00
CHANGELOG.md
CONTRIBUTING.md
cypress.config.ts
jest.config.ts fix(frontend): fix test configuration due to breaking change 2023-08-13 20:55:10 +02:00
next-env.d.ts feat: migrate frontend app to nextjs app router 2023-09-03 22:00:34 +02:00
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 feat: migrate frontend app to nextjs app router 2023-09-03 22:00:34 +02:00
tsconfig.json.license