-
Notifications
You must be signed in to change notification settings - Fork 48
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
Réimplémentation de la sensibilité #441
base: develop
Are you sure you want to change the base?
Commits on Jul 26, 2021
-
feat(map): Add layerGroups by id_type
Add layerGroups to the map for the user to be able to filter along the different cells (Department, cities, 10km, 1km) Added id_type to all queries to be able to filter along this property
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for c571627 - Browse repository at this point
Copy the full SHA c571627View commit details -
feat(map): Zoom, snogylop and features
Correct zoom function to work on all "fiches" by adding a zoomMaille function Added snogylop to ficheCommune.html and invert: true in style of map Changed layerGroup by featureGroup to have bringToBack and bringToFront functions Add bringToFront and bringToBack to respectively the 1km² cell and the department because it was impossible to click on a city cell
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 56dac33 - Browse repository at this point
Copy the full SHA 56dac33View commit details -
feat(map): Updated sql to match db modifications
Changed the sql files to be able to reproduce the changes done on the database.
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 16f83aa - Browse repository at this point
Copy the full SHA 16f83aaView commit details -
style(map): add hover and click effect
Tested if it was possible to add hover and click effect to hightlight a specific cell. Added ZIndex values for the filter to be more robust
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 15e5bff - Browse repository at this point
Copy the full SHA 15e5bffView commit details -
refactor: changed lastObservationsCommuneMaille
Beforehand the lastObservationsCommuneMaille selected from the vm_observations which was not coherent. Now it selects from vm_observations_mailles. Add columns to select and removed the last_obs intermediate Enabled to get the id of the cell and its type.
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for fd8c979 - Browse repository at this point
Copy the full SHA fd8c979View commit details -
style: improved style function and changed colors
Cells border color is now grey Made styleMailleClickedOrHover more versatile styleMailleClickedOrHover now takes the --main-color css var to fill the cells with the main color of the atlas Removed setZIndex because it was useless
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for bc3a976 - Browse repository at this point
Copy the full SHA bc3a976View commit details -
style: Add main-color-rgb to liste espece
Added a new var (main-color-rgb) which is the same as main-color variable but with a rgb description enabling to set different opacity depending on the state (hover or click) of the row in the tabEspece
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for eb2c73e - Browse repository at this point
Copy the full SHA eb2c73eView commit details -
feat: better layering and click management
Now the layers stack properly when the user activate or deactivate them from the Control (top hand right corner). Add a selected variable enabling the clicked cell to stay filled even if the mouse exits the cell (mouseout event called)
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 246639e - Browse repository at this point
Copy the full SHA 246639eView commit details -
style: removed unsused css directive added before
Before was used to find a way to set background opacity other than by using rgb formulation
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for c05b02f - Browse repository at this point
Copy the full SHA c05b02fView commit details -
style: forgot to put back rgba for tabEspece.hover
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 59146e5 - Browse repository at this point
Copy the full SHA 59146e5View commit details -
fix: corrected sql query and corrected id_type
Sql query was from vm_observations whereas we are in a Maille function so it should be from vm_observations_maille Corrected a copy paste mistake on id_type Added dateobs in lastObservationsCommune
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for f847c92 - Browse repository at this point
Copy the full SHA f847c92View commit details -
refactor: add function to gather better city obs
The older function took oservations based on Insee whereas it should take info from the observations requested before. This new function is based on the observations dictionnary that is computed from the vm_observations (maille or not) and take the taxons info Used this function in atlasRoutes.py
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 0482100 - Browse repository at this point
Copy the full SHA 0482100View commit details -
feat: worked on communes to make the sensi work
mapHome.js: Clarified code mapGenerator.js: Move control layer bloc for more clarity as well Added id_type in property for geojson of commune Corrected a bug by added addTo(map) in displayMailleLayerLastObs mapHome.js: simplified code
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for c0a66e8 - Browse repository at this point
Copy the full SHA c0a66e8View commit details -
Maxime Vergez committed
Jul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for f9aa473 - Browse repository at this point
Copy the full SHA f9aa473View commit details -
Maxime Vergez committed
Jul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 1e43d77 - Browse repository at this point
Copy the full SHA 1e43d77View commit details -
fix(sql): returns the date object, not a str
To be compatible with the new get_taxons_from_obs function, the date object must be returned and not an str conversion
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for dc551be - Browse repository at this point
Copy the full SHA dc551beView commit details -
fix(sql): corrected bug when no species are found
The function crashed when there were no taxons in a particular city. Changed also the request for it to be more versatile in terms of cd_ref (bugged when there was one taxon)
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for f85ef5b - Browse repository at this point
Copy the full SHA f85ef5bView commit details -
feat(sql): Changed vm to be compatible with sensib
atlas.sql: add centroid to vm_observations to be compatible with point mode Changed st_contains by st_intersect as mentionned in an issue observations_mailles.sql: Changed tables where to take infos Make this vm independant from vm_observations Removed index since it take to much space atlas_synthese.sql: Changed index since it was not working with observations that do not have type_code Returns Point when there is no sensibility instead of a mesh cell
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for ec88d60 - Browse repository at this point
Copy the full SHA ec88d60View commit details -
style(species): Add css variable for species tab
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 5e91d4f - Browse repository at this point
Copy the full SHA 5e91d4fView commit details -
fix(map): bump leaflet version and rm snogilop
Need to update leaflet for bringToFront/BringToBack to work Remove dependency to snogilop (had to test for compatibility)
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for c486cdc - Browse repository at this point
Copy the full SHA c486cdcView commit details -
style(species): add rgb equivalent primary color
To be able to alter the background transparency of the species list on the main page, we need to have a rgb color. Indeed rgba() css function does not work on hexadecimal colors. It adds complexity but this seems to be the only way
Maxime Vergez committedJul 26, 2021 Configuration menu - View commit details
-
Copy full SHA for 79218de - Browse repository at this point
Copy the full SHA 79218deView commit details
Commits on Jul 29, 2021
-
fix(species): Corrected a city bug in FicheEspece
In FicheEspece: the displayed cities were not right. There was no instersection between the observation and the cities. Now for instance, for a department level observation all the cities in the department will appear...
Maxime Vergez committedJul 29, 2021 Configuration menu - View commit details
-
Copy full SHA for 0a644cf - Browse repository at this point
Copy the full SHA 0a644cfView commit details -
feat(popup): Removes duplicates in popup
In popup showing species, removes duplicates so that only different species are displayed
Maxime Vergez committedJul 29, 2021 Configuration menu - View commit details
-
Copy full SHA for 1163790 - Browse repository at this point
Copy the full SHA 1163790View commit details
Commits on Aug 3, 2021
-
feat(sql): observations_maille.sql is more robust
Changed the plain id number to a Select with a Like to enter directly the mesh cell type It might be a parameter in the settings.ini in the future
Maxime Vergez committedAug 3, 2021 Configuration menu - View commit details
-
Copy full SHA for 358bd88 - Browse repository at this point
Copy the full SHA 358bd88View commit details
Commits on Sep 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 44e7486 - Browse repository at this point
Copy the full SHA 44e7486View commit details
Commits on Sep 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 54ae9cc - Browse repository at this point
Copy the full SHA 54ae9ccView commit details
Commits on Sep 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1d110c0 - Browse repository at this point
Copy the full SHA 1d110c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6bef1c - Browse repository at this point
Copy the full SHA a6bef1cView commit details
Commits on Dec 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6a48d89 - Browse repository at this point
Copy the full SHA 6a48d89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28d005f - Browse repository at this point
Copy the full SHA 28d005fView commit details