feat: nutritional balancing module#74
Closed
Minozzzi wants to merge 82 commits into
Closed
Conversation
…lancing component
…summary component
…animal navigation component
…animal information component
…e empty nutritional balancing
… animal information items
…itional balancing summary items
…lancing form validations
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new "Nutritional Balancings" feature to the application, including complete CRUD functionality, UI components, and support for filtering with the NOT_IN operator. Key changes include:
- New nutritional balancing module with screens, forms, and data management
- Enhanced DataTable component to support optional sorting and pagination
- Filter system improvements to support array values and NOT_IN filtering
- New Badge UI component with Storybook documentation
- Extended animal and cultivation models to include additional fields
Reviewed Changes
Copilot reviewed 117 out of 117 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/core/presentation/hooks/hook-form.hook.ts | Added handleSubmitWithCustomError for custom form error handling |
| src/core/presentation/components/ui/table/body.tsx | Added showLastRowBorder prop for conditional border styling |
| src/core/presentation/components/ui/data-table/data-table.tsx | Made sorting and pagination optional; added alignment and noBorder support |
| src/core/presentation/components/ui/combobox/combobox.tsx | Added className prop for custom styling |
| src/core/presentation/components/ui/badge/* | New Badge component with variants and Storybook stories |
| src/core/masker/masks/* | Added decimal mask and formatNumber utility |
| src/core/infra/http/api-http-client/api-http-client.ts | Added array value support for filters |
| src/core/mocks/utils/* | Added NOT_IN filter support and refactored filtering logic |
| src/core/domain/types/filter-type.ts | Updated FilterValue to accept arrays |
| src/app/modules/nutritional-balancings/* | Complete new module for nutritional balancing management |
| src/app/modules/animals/* | Extended animal model with weight, ecc, and milkProduction fields |
| src/app/modules/general-cultivations/* | Added type field to cultivation model |
| Multiple animal screens | Fixed date filter type checking for DatePicker |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
… the new/edit form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.