yonatanmgr / mathberet

Mathberet is a self-hosted digital mathematics notebook written in React and Typescript, designed for math students who need a platform for graphing, sketching, and writing in LaTeX.
MIT License
177 stars 12 forks source link

Dragging file into a folder that already have file with that name doesn't raise error #27

Closed zivnadel closed 1 year ago

zivnadel commented 1 year ago

Describe the bug Dragging file into a folder that already have file with that name doesn't raise error. Instead, it shows that there are 2 files with the same name under that directory. In the actual file system, the file that was dragged is vanished, and there is only one file in that name under that directory.

To Reproduce Try to drag a file into a directory that already has a file with that name.

Expected behavior An error modal should pop up, and the dragged file should stay at it original location.

Desktop:

zivnadel commented 1 year ago

@yonatanmgr please assign this to me.