Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete page #6

Open
4 tasks
rithviknishad opened this issue Sep 7, 2024 · 4 comments
Open
4 tasks

Delete page #6

rithviknishad opened this issue Sep 7, 2024 · 4 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@rithviknishad
Copy link
Owner

Currently, there's no way to delete a page.

  • Add a command menu entry "Delete current page" under the Actions group.
  • Command should delete the page reference from configAtom.
  • Command should delete the page from the local storage.
  • Command should delete all the image files from IndexedDB.

Note

Deleting files from IndexedDB must be done with caution. Delete it after ensuring no other page reuses the same file. Files can be reused in such a manner by pasting the same image on both pages.

@rithviknishad rithviknishad added the good first issue Good for newcomers label Sep 7, 2024
@gitclonegaurang
Copy link

Hey! this issue seems interesting can I work on it?

@rithviknishad
Copy link
Owner Author

Hey @gitclonegaurang!

Yup sure! 🚀

@gitclonegaurang
Copy link

Could help me understand this issue, I think we have right now Ctrl+Delete option to delete the current canvas.

@rithviknishad
Copy link
Owner Author

rithviknishad commented Sep 9, 2024

We do not have any option to delete the current "page" right now. Reset canvas is different, it resets the canvas of the currently selected page, i.e., the current page is still present, just that the current page's elements are emptied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants