Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signalement - Lors de l'écriture d'un signalement, le raffraichissement de l'app efface les données saisies dans le formulaire #2941

Closed
louptheron opened this issue Feb 19, 2024 · 0 comments · Fixed by #3002
Assignees
Labels
dev feat. enhancement feature enhancement

Comments

@louptheron
Copy link
Collaborator

louptheron commented Feb 19, 2024

Stocker dans le local storage les modifications en cours ?
Attention à bien effacer les valeurs quand on change de navire.

@louptheron louptheron added feat. enhancement feature enhancement dev labels Feb 19, 2024
louptheron added a commit that referenced this issue Mar 5, 2024
…ent de l'app efface les données saisies dans le formulaire (#3002)

## Linked issues

- Resolve #2941

----

- [ ] Tests E2E (Cypress)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new `ReportingForm` component for creating or editing
vessel reporting data.
	- Added visibility and layout adjustments for the `VesselSidebar`.
- Enhanced vessel reporting by supporting `EditableReporting` and
`EditedReporting` types.
- Implemented a new `useGetInLocalStorage` hook for retrieving data from
local storage.

- **Bug Fixes**
- Fixed incorrect type usage in various reporting components and utility
functions.
- Adjusted styling for `BeaconMalfunctionDetails` and
`VesselStatusSelect` for improved specificity.

- **Refactor**
- Refactored `EditReporting` component for better prop handling and
styling.
	- Optimized `useEffect` hooks in `VesselReportings` for dispatch calls.
- Updated import paths to use module aliases for enhanced code
readability.

- **Style**
	- Updated `VesselCardOverlay` styling based on the number of warnings.
	- Removed unused `BackofficeSecondaryButton` styled component.

- **Documentation**
	- No visible changes to end-users.

- **Tests**
	- No visible changes to end-users.

- **Chores**
	- No visible changes to end-users.

- **Revert**
	- No visible changes to end-users.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@louptheron louptheron self-assigned this Mar 19, 2024
@louptheron louptheron moved this to Done in Board MonitorFish May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev feat. enhancement feature enhancement
Projects
Archived in project
1 participant