Skip to content

feat: nutritional balancing module#74

Closed
Minozzzi wants to merge 82 commits into
developfrom
feat/86dxjj1vr_nutritional_balancing
Closed

feat: nutritional balancing module#74
Minozzzi wants to merge 82 commits into
developfrom
feat/86dxjj1vr_nutritional_balancing

Conversation

@Minozzzi
Copy link
Copy Markdown
Collaborator

@Minozzzi Minozzzi commented Nov 4, 2025

No description provided.

@Minozzzi Minozzzi requested a review from Copilot November 4, 2025 22:52
@Minozzzi Minozzzi self-assigned this Nov 4, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/core/infra/http/api-http-client/api-http-client.ts
Comment thread src/core/mocks/utils/filter-data.ts
@Minozzzi Minozzzi requested review from viniciuspegorini and removed request for viniciuspegorini February 28, 2026 22:11
@Minozzzi Minozzzi closed this Feb 28, 2026
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.

2 participants