Skip to content

Comments

chore: refactor data management pages#7107

Draft
Kuchenpirat wants to merge 30 commits intomealie-recipes:mealie-nextfrom
Kuchenpirat:refactor-data-management-pages
Draft

chore: refactor data management pages#7107
Kuchenpirat wants to merge 30 commits intomealie-recipes:mealie-nextfrom
Kuchenpirat:refactor-data-management-pages

Conversation

@Kuchenpirat
Copy link
Collaborator

@Kuchenpirat Kuchenpirat commented Feb 20, 2026

What this PR does / why we need it:

The Data Management Pages have quite a lot of very redundant code.
This is an attempt in solving that by introducing the GroupDataPage Component.

Right now this encompasses the following pages:

  • categories
  • foods
  • labels
  • tags
  • tools
  • units
  • recipes (will be probably not be included as it does use a custom crud table component)

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

First PR after being back, so i might be out of it a bit.

I also updated the AutoForm Component:

  • Updated some out of date code and removed a bunch of stuff we were not using at all.
  • made it expose an isValid prop that can be used to track validity in the parent components.
  • Made it validate on input instead of lazy. if there was a reason for it we can default to lazy but i think imediate feedback on inputs is quite valuable.
  • updated to use our existing color picker component

Testing

Manual testing of the new flow and the pages that use the updated AutoForm component

@github-actions github-actions bot added the chore label Feb 20, 2026
@Kuchenpirat Kuchenpirat marked this pull request as draft February 20, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant