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: Set default number of days on meal planner #3650

Conversation

boc-the-git
Copy link
Collaborator

What type of PR is this?

  • feature

What this PR does / why we need it:

Allows a user to set their default number of days for the meal planner - which previously was always a week.
The implementation was workshopped on Discord.
Importantly I made the default something used on page load, and independent of what someone might choose in the calendar on that instance of the page. (see 2nd gif)

meal_planner_default_days

meal_planner_default_days2

Which issue(s) this PR fixes:

None.

Testing

Manual.

@boc-the-git
Copy link
Collaborator Author

.. I'm not opposed to UI improvements.. I just wasn't seeing a lot of scope for it with what Vuetify had available to me.

@michael-genson
Copy link
Collaborator

Should it maybe go into the settings menu instead? Otherwise LGTM, though I'd like to get eyes from someone else since I don't use the meal planner

@boc-the-git
Copy link
Collaborator Author

Should it maybe go into the settings menu instead?

On Discord the consensus was to put it here (in development channel).

I agree in theory settings would make sense but the current settings is actually very specific to "meal plan rules" and not really a general settings page.

@michael-genson
Copy link
Collaborator

Ah okay, I vaguely remember that. Thanks!

@michael-genson michael-genson enabled auto-merge (squash) May 26, 2024 21:23
@michael-genson michael-genson merged commit e3c642d into mealie-recipes:mealie-next May 26, 2024
10 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