-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backoffice] Correction des champs du backoffice (#3014)
## Linked issues - Correction du tableau de MAJ des segments de flottes - Passage de deux sections du backoffice REG en champs monitor-ui - Corrections des tests cypress associés ---- - [ ] Tests E2E (Cypress) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced components for creating and editing regulatory topics, fleet segments, and regulatory texts with validation and submission capabilities. - Added a component for daytime selection in fishing period regulation forms. - Enhanced fleet segment management with functionalities for listing, creating, updating, and deleting fleet segments. - Streamlined regulation editing with simplified control flows and improved form interactions. - Implemented new UI components for selecting regulatory law types, regions, and topics with dynamic state management. - **Bug Fixes** - Fixed consistency issues in database operations related to fleet segments. - Adjusted UI interactions and assertions for better reliability in fleet segment management. - Refined form validation checks and interactions in regulation updates for enhanced usability. - **Refactor** - Reorganized import paths across various components and use cases to align with new module structures. - Simplified functions and control flows in regulation confirmation and saving processes. - Removed unused imports and components to clean up the codebase. - **Style** - Updated styling properties for various components and styled components for improved UI consistency. - Adjusted dimensions of the `SquareButton` component for better UI alignment. - **Tests** - Modified and streamlined test scenarios for fleet segment management and regulation editing. - Updated Cypress tests to reflect changes in UI interactions and logic flows. - **Chores** - Updated import paths and removed redundant imports across the project to enhance code maintainability. - **Documentation** - Enhanced inline documentation for new features and significant changes to facilitate understanding and maintenance. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Showing
74 changed files
with
1,674 additions
and
2,281 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
291 changes: 96 additions & 195 deletions
291
frontend/cypress/e2e/backoffice/fleet_segments.spec.ts
Large diffs are not rendered by default.
Oops, something went wrong.
233 changes: 81 additions & 152 deletions
233
frontend/cypress/e2e/backoffice/new_regulation.spec.ts
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.