mealie-recipes / mealie

Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and mealie will automatically import the relevant data or add a family recipe with the UI editor
https://docs.mealie.io
GNU Affero General Public License v3.0
6.91k stars 711 forks source link

[BUG] - Unable to delete groups #4411

Open psybers opened 2 hours ago

psybers commented 2 hours ago

First Check

What is the issue you are experiencing?

Although there is a trash icon indicating groups should be able to be deleted, clicking it only goes to the edit page. That page has no delete option.

Thus there is no way to delete a group (that I can find).

Steps to Reproduce

1) create a new group 2) go to the groups page in settings 3) try clicking the trash

Please provide relevant logs

none

Mealie Version

2.0

Deployment

Docker (Linux)

Additional Deployment Details

No response

Kuchenpirat commented 2 hours ago

This is a bit of a rabit hole but pretty easy to solve.

I think we could communicate the requirements more clearly.

psybers commented 1 hour ago

I see. That definitely is not clear. A note on the page might clarify that.

Kuchenpirat commented 1 hour ago

4414 adds a tooltip to the disabled delete icon describing why it might not be possible to delete a certain group / household.

psybers commented 52 minutes ago

Nice!

One other suggestion: is it possible to stop the click from going to the edit page? Since the delete button is still drawn (but disabled) it is somewhat unexpected to click on it and go to the edit page. That might also prevent people from seeing the new tooltip as they might just try to click it and then be confused as to why there is no delete option on the next page.