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
5.59k stars 608 forks source link

feat: If only 1 shopping list, navigate straight to it (Shopping List QoL) #3764

Closed boc-the-git closed 1 week ago

boc-the-git commented 1 week ago

What type of PR is this?

What this PR does / why we need it:

If you only have one shopping list available to you at /shopping-lists, this will navigate you directly into it. There is also a button to go back to the list that disables that behaviour (via a query param) should you wish.

shopping_list_redirect

Which issue(s) this PR fixes:

None.

Special notes for your reviewer:

Credit @Kuchenpirat for the v-container stuff on _id.vue <3

Testing

Manual

boc-the-git commented 1 week ago

Good call @Kuchenpirat, after the wording change the new translation wasn't necessarily! 🙈