Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: If there's only one shopping list, navigate directly to it #3958

Conversation

boc-the-git
Copy link
Collaborator

What type of PR is this?

  • feature

What this PR does / why we need it:

Similar to #3764, and using some of the enhancements Michael added in #3768, this will now take you directly to the only list when you are adding a recipe to a shopping list.
Works by any method of adding to list, as the implementation is on the "add to list" pop up itself.

I've not recorded a gif.. I don't have software set up currently to do so! 🙈 Need to rectify that.

Which issue(s) this PR fixes:

None.

Testing

Manual

@michael-genson
Copy link
Collaborator

Will this redirect you if you uncheck the "show all" box? e.g. you have "show all" toggled, then you toggle it (so only one list shows). We probably only want to check the list length once

@boc-the-git
Copy link
Collaborator Author

@michael-genson good call. This latest commit should address that.

@michael-genson michael-genson enabled auto-merge (squash) August 9, 2024 14:04
@michael-genson michael-genson merged commit 66b19ee into mealie-recipes:mealie-next Aug 9, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants