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

feat: rename and delete items #35

Closed zivnadel closed 1 year ago

zivnadel commented 1 year ago

I have added options to delete and rename items using keybinds. You can now use the Delete key to delete items and the R key to rename them. However, there is one bug that I haven't been able to fix with the rename functionality. In handleRenameItem, the setItems state updating function doesn't update the state for some reason. I have checked the code, and everything seems fine. Looking for help on that.

I will soon add UI buttons to perform these actions, in addition to the keybinds.