Front report form
From Version 3 to latest version, here are the new changes :
Uncoupling MapModule - Part 1
- All map initialisation pertaining to Reports is now deported to a dedicated ReportMapSourceService
- Added the scale to the map
- Creation of the abstract class MapSource as a blueprint for future map sources
- Creation of the multi MAP_SOURCE injection token as a way to collect throughout the app the various map sources
Uncoupling MapModule - Part 2
- Transferred ReportFormComponent into its own ReportModule
- ReportModule provides ReportMapSourceService as a MAP_SOURCES
Uncoupling MapModule - Part 3
- Created the new Dynamic Box feature area with its own Module
- Transferred the "Signaler un mauvais réseau" into its own ActionMenuComponent
- Transferred the ".left-container" into its own DynamicBoxComponent
- Created a DynamicBoxService so that the whole app can interact with the Dynamic Box
- Added Angular CDK to be able to use Portal for the content of Dynamic Box
Uncoupling MapModule - Part 4
- Enforcing the new policy to always hide a Subject from other classes
- The DynamicBoxService is now able to differentiate when we're displaying a Form or not
- The Back-End now sends back the department of a city searched through its coordinates
- MapViewComponent can now display a new alert when needed, with the appropriate message
- Added new ngx-dsfr version
Uncoupling MapModule - Part 5
- The MarkerDetailComponent became the LocationDetailsComponent
- LocationDetailsComponent is now aware of which type of coordinates we use for display
- The icons part works now on a system of features
- The Locale has been set to fr-FR for the whole app
- MapComponent can now center the map onto a specific location on demand
- A new MapService enables the rest of the app to interact with the map reactively
- MapViewComponent can now determine if a member of a Project Team has clicked outside their jurisdiction
- Improvements of ReportFormComponent's Template
- ReportFormComponent is now using Typed Forms
- ReportFormComponent is now listening to the map for when a user clicks on a new city
- ReportsService can now ask the Back-End to create a Report
HTML and CSS optimization to rely less and less on images
Fixed Unit Tests
( I just made it so that they all pass. Unfortunately, didn't have time to actually add Unit Tests but, hey... you know what it is
Edited by Florian GESTA