aws / aws/graph-explorer

[Feature Request] Clearing the canvas cannot be undone

Open
#310 0 comments 0 reactions 0 assignees View on GitHub
enhancement exploration usability
Dominant language
TypeScript
Stars
481
Forks
108
Avg merge
6d 8h
Merged PRs (30d)
5

Description

## Description
When a user clears the canvas it is cleared immediately and there is no way to undo or go back.

This is unfortunate when done on accident.

![CleanShot 2024-04-23 at 10 23 22@2x](https://github.com/aws/graph-explorer/assets/212862/15b7e9be-500e-4368-b67c-41b714174826)

## Preferred Solution

The simplest approach would be to add a confirmation modal to the process to ensure the user is aware that the action cannot be undone.

If we had a way to snapshot the graph in the canvas and restore that snapshot, we could offer an undo action (potentially viable after #298)

---

> [!TIP]
> Please use a 👍 reaction to provide a +1/vote.
>
> This helps the community and maintainers prioritize this request.

> [!IMPORTANT]
> If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.