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 fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00
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 fix(config): Replace HD_DOMAIN and HD_EDITOR_BASE_URL with HD_BASE_URL 2023-02-05 22:32:31 +01:00
.env.test.license fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00
.eslintrc.js feat(package): adjust packages to workspaces 2022-12-04 20:59:46 +01:00
.gitignore fix(frontend): remove redundant rules from gitignore 2022-11-20 21:29:17 +01:00
.prettierignore fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00
.prettierignore.license fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00
.prettierrc.json fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00
.prettierrc.json.license fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00
build.sh fix(frontend): delete mock public directory only for production 2023-10-24 13:49:12 +02:00
CHANGELOG.md feat(frontend): replace forkawesome with bootstrap icons 2023-02-24 14:31:17 +01:00
CONTRIBUTING.md fix(frontend): Remove redundant information from CONTRIBUTING.md 2022-11-20 21:50:10 +01:00
cypress.config.ts fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00
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 fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00
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 fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00
tsconfig.json feat: migrate frontend app to nextjs app router 2023-09-03 22:00:34 +02:00
tsconfig.json.license fix: Move content into to frontend directory 2022-11-20 19:48:40 +01:00