adobe / adobe/da-live

[EW] Prevent silent overwrites when creating new files

Open
#1,232 1 comment 0 reactions 1 assignee Claimed by @anfibiacreativa View on GitHub
ew
Dominant language
JavaScript
Stars
34
Forks
71
Avg merge
2d 11h
Merged PRs (30d)
29

Description

Currently, if you create a new page with a name that already exists, it silently overwrites the existing one without any warning and you lose all the content.

We should either:
- Give the user a warning in a dialog
- Make it the same behaviour as when you paste a page with an existing name. Today, in that case, you get it as `{name}-copy`. For the create scenario, it could be `{name}-1`

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.