hedgedoc / react-client

The frontend of the upcoming version 2.0

Home Page:https://hedgedoc.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deduplicate delete modal

mrdrogdrog opened this issue · comments

Which part of the project should be enhanced?
Note deletion modal

Is your enhancement request related to a problem? Please describe.
Right now we have two implementations of the "do you want to delete the note" modal in the history and in the editor sidebar. This could be deduplicated.

Describe the solution you'd like
Deduplicate the note deletion modal.

Describe alternatives you've considered
Maintain two components that do the same.

Additional context
Maybe it's a good idea to restructure our folder structure a bit, so it's not only sorted by "common" and "per page" but a bit more by purpose.