-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Description
Currently, when a user clicks “New Project” inside the Planet interface, the existing project is immediately reset without asking for confirmation.
This behavior can lead to accidental loss of unsaved work. Users may unintentionally click the button and lose their current project state without warning.
A confirmation step should be added before resetting the workspace to prevent unintended data loss.
Current Behavior
- Clicking New Project inside Planet
- Immediately closes Planet.
- Resets the current workspace.
- Loads a new empty project.
- No confirmation dialog is shown.
- Unsaved changes can be lost without warning.
Expected Behavior
- When clicking New Project, the user should be prompted with a confirmation dialog.
- The confirmation should clearly state that unsaved changes will be lost.
- If the user selects:
- Confirm → Proceed with creating a new project.
- Cancel → Keep the current project unchanged and remain in Planet.
- This ensures user safety and prevents accidental data loss.
Video
Remix.of.Happy-BDay-Walter.-.Google.Chrome.2026-02-25.15-05-45.mp4
Proposed Approach
- Add a confirmation dialog before calling loadNewProject() or initialiseNewProject().
- The dialog could be:
- A modal dialog, or
- A contextual dropdown confirmation near the button.
- Only trigger project reset if the user confirms.
This change improves UX and aligns with common application behavior for destructive actions.
Environment
- Operating System: Windows
- Browser (if applicable): Chrome
- Version of Software/Project: 3.4.1
Checklist
- I have read and followed the project's code of conduct.
- I have searched for similar issues before creating this one.
- I have provided enough information to understand the issue.
- I am willing to contribute to the resolution of this issue.
Thank you for contributing to our project! We appreciate your help in improving it.
📚 See contributing instructions.
🙋🏾🙋🏼 Questions: Community Matrix Server.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels