Skip to content

[UI/UX] New Project in Planet resets current project without confirmation (risk of data loss) #5908

@anshukaushik4700

Description

@anshukaushik4700

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions