givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
390 stars 82 forks source link

Menus not working #136

Closed mraf closed 5 months ago

mraf commented 5 months ago

Hi,

I've tried to update menu item links or titles in my vvveb instalation and demo, but it seems like edit button does not work. I've also tried different browsers too but no luck

image

When adding a new menu item, it appears in the list but disappears after saving.

image

Deleting an item from the list works, but only after pressing the save button. Can we make it more intuitive so admin user will know that item has been deleted as for now may think nothing changed?

givanz commented 5 months ago

Hi

Thanks for the bug reports, I fixed menu item edit not opening https://github.com/givanz/vvveb-admin-template/commit/ba3d82fac66176cb403f13b50560d7fa672e5ccb

When adding a new menu item, it appears in the list but disappears after saving.

I need to change the interface to make it more clear that the save button is saving only menu name and slug and that menu items have each their own save button in the expanded form that is shown after clicking edit.

Deleting an item from the list works, but only after pressing the save button

Delete menu item will remove the item and show a notice at the bottom of the screen.

I think that delete was not working properly because of the javascript error that also prevented edit from working.

mraf commented 5 months ago

Thanks for quick update on this!