feat: cultivation pests module#73
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces comprehensive functionality for managing cultivation pests, implementing both general cultivation pests and property-specific cultivation pests with CRUD operations, mock handlers, and UI components.
- Adds complete CRUD operations for both general cultivation pests and property-specific cultivation pests
- Implements UI screens, forms, and data tables for pest management with validation and error handling
- Integrates mock service handlers and seed data generation for testing
Reviewed Changes
Copilot reviewed 75 out of 75 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/core/mocks/browser.ts | Registers mock handlers for pest management endpoints |
| src/app/modules/general-cultivations/presentation/types/general-cultivation-pest-types.ts | Defines filter and sort types for general cultivation pests |
| src/app/modules/general-cultivations/presentation/hooks/queries/all-general-cultivation-pests-query.hook.ts | Implements query hook for fetching all general cultivation pests |
| src/app/modules/general-cultivations/mocks/handlers/general-cultivation-pests-handlers/*.ts | Provides mock HTTP handlers for general cultivation pest operations |
| src/app/modules/general-cultivations/main/factories/use-cases/general-cultivation-pests-use-cases/*.ts | Creates factories for general cultivation pest use case instances |
| src/app/modules/general-cultivations/domain/use-cases/general-cultivation-pests-use-cases/*.ts | Defines use case interfaces for general cultivation pest operations |
| src/app/modules/general-cultivations/domain/models/general-cultivation-pests-model.ts | Establishes model types for general cultivation pests |
| src/app/modules/general-cultivations/data/use-cases/general-cultivation-pests-use-cases/*.ts | Implements remote use cases for general cultivation pest API calls |
| src/app/modules/cultivations/presentation/validations/cultivation-pest-form-schema.ts | Defines validation schema for cultivation pest forms |
| src/app/modules/cultivations/presentation/types/cultivation-pest-types.ts | Defines filter and sort types for cultivation pests |
| src/app/modules/cultivations/presentation/screens/*.tsx | Implements cultivation pest management screens and UI layout |
| src/app/modules/cultivations/presentation/hooks/**/*.ts | Provides hooks for cultivation pest queries and context management |
| src/app/modules/cultivations/presentation/forms/cultivation-pest-form/*.tsx | Implements create and edit forms for cultivation pests |
| src/app/modules/cultivations/presentation/contexts/cultivation-pest-context.tsx | Manages state and actions for cultivation pest operations |
| src/app/modules/cultivations/presentation/components/cultivation-pest-/.tsx | Provides data table and delete dialog components |
| src/app/modules/cultivations/mocks/handlers/cultivation-pests-handlers/*.ts | Provides mock HTTP handlers for cultivation pest operations |
| src/app/modules/cultivations/main/factories/use-cases/cultivation-pests-use-cases/*.ts | Creates factories for cultivation pest use case instances |
| src/app/modules/cultivations/domain/use-cases/cultivation-pests-use-cases/*.ts | Defines use case interfaces for cultivation pest operations |
| src/app/modules/cultivations/domain/models/cultivation-pests-model.ts | Establishes model types for cultivation pests |
| src/app/modules/cultivations/data/use-cases/cultivation-pests-use-cases/*.ts | Implements remote use cases for cultivation pest API calls |
| scripts/seed/data/*.mjs | Generates seed data for testing pest management features |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Contributor
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 75 out of 75 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
2025-10-16.21-34-29.2.mp4