Commit graph

132 commits

Author SHA1 Message Date
Dana Lambert
6711719908 Add provided step background images 2021-11-09 15:29:18 +13:00
Dana Lambert
d5d029cd2f Review fixes
- Remove redundant print statements
- Update endpoint for csv download
2021-11-09 15:16:17 +13:00
Dana Lambert
460fcb5c09 Fix console warnings
- remove unused project specifics step
- add dependents to habitat selector useEffect
- change == to === in zone selector
2021-11-08 17:12:06 +13:00
Dana Lambert
e2a627d758 Add Poppins as global font, fixes button centering issue 2021-11-08 17:10:50 +13:00
Dana Lambert
2cacd25c16 Add download button for csv and move plants request to results 2021-11-08 17:10:12 +13:00
Dana Lambert
35aa9cbe70 Create csv download endpoint 2021-11-08 17:00:04 +13:00
Dana Lambert
edd2054763 Create plant display fields on the backend 2021-11-08 15:51:05 +13:00
Dana Lambert
73e7fe88f8 Fix zone filter if no zone is specified in params 2021-11-08 11:01:13 +13:00
Dana Lambert
fe84079885 Add admin autocomplete, search fields and ordering to zone field in ZoneImageSegment 2021-11-08 11:01:13 +13:00
Dana Lambert
de0b5abb7b Add zone filter on backend 2021-11-08 11:01:13 +13:00
Dana Lambert
98a679eaf3 Remove projects specifics step from stepper and summary (keeps code) 2021-11-08 11:01:13 +13:00
Dana Lambert
11042b029a Update summary content with habitat and zone data 2021-11-08 11:01:13 +13:00
Dana Lambert
01a3328ec2 Update habitat selector to reset image/zone on habitat change 2021-11-08 11:01:13 +13:00
Dana Lambert
f92bb7290c Create zone segment selection step 2021-11-08 11:01:13 +13:00
Dana Lambert
c79d287384 Add habitat image endpoint, view and serializer 2021-11-08 11:01:13 +13:00
Dana Lambert
29b9051773 Refactor get_zone_pk_mapping method 2021-11-08 10:53:38 +13:00
Dana Lambert
316df45784 Add habitat selection and habitat image selection 2021-11-05 14:18:05 +13:00
Dana Lambert
71b4118b4c Add SiteRepository for habitat/zone related requests 2021-11-05 11:18:53 +13:00
Dana Lambert
42bd5845fa Fix typo in PlantRepository 2021-11-05 11:17:47 +13:00
Dana Lambert
2d20c3b2d2 Fix soil selector default value 2021-11-05 11:17:23 +13:00
Dana Lambert
06e6f4322c Add /habitats endpoint and fix plants zone serializer 2021-11-05 11:16:53 +13:00
Dana Lambert
b5b39a5c18 Alter the habitat image model to use a related name images 2021-11-05 11:13:59 +13:00
Dana Lambert
2f165e4b38 Fix load site data command ingestion logic and update fixtures 2021-11-04 15:00:50 +13:00
Dana Lambert
625c637f99 Add zones to plant fixture creation and extract spreadsheet constants 2021-11-04 14:11:50 +13:00
Dana Lambert
d48f202634 Add zones to plant model 2021-11-04 14:08:31 +13:00
Dana Lambert
34561a85bb Add intial zones and habitats fixtures 2021-11-04 11:18:56 +13:00
Dana Lambert
6b65ac77b3 Add command to initially load habitat and zone data 2021-11-04 11:18:42 +13:00
Dana Lambert
745b0b3007 Add Habitat, Zone, HabitatImage and ZoneImageSegment models 2021-11-04 11:18:04 +13:00
Dana Lambert
677ffb2c32 Add results table 2021-11-02 15:47:01 +13:00
Dana Lambert
05121fbdba Update reset operation to also reset filters 2021-11-02 11:30:36 +13:00
Dana Lambert
8638fd3041 Make step content scrollable overflow adjust results step
- Results step is now the last step but doesn't restrict the user from going back
2021-11-02 11:11:55 +13:00
Dana Lambert
039d8d14ec Update plant ingestion script for new spreadsheet format 2021-11-02 09:20:51 +13:00
Dana Lambert
8855bcb2ba Update commonname field to have a max_length of 200 2021-11-02 09:20:47 +13:00
Dana Lambert
bb561b0529 Add summary step to the wizard 2021-10-22 16:11:52 +13:00
Dana Lambert
727dfbe818 Layout adjustments 2021-10-22 16:11:42 +13:00
Dana Lambert
d3acc27339 Add location details to map screen 2021-10-22 16:03:37 +13:00
Dana Lambert
f3d2595b23 Add location repository for frontend 2021-10-22 16:02:36 +13:00
Dana Lambert
49bcc85116 Add api endpoints for collecting location details
- includes soil order name and code, ecological district, ecological region and address from linz
2021-10-22 16:01:38 +13:00
Dana Lambert
2302ed6fc6 Add utils file with helper methods to request data from linz + docs 2021-10-22 16:01:31 +13:00
Dana Lambert
473cc9ca6e Add sample step components for the remaining steps with accompaning text
- rename step subfolders from <name>step to <name>
2021-10-20 16:52:06 +13:00
Dana Lambert
06e33d7ac6 Some refactoring of existing information panels
- extracting out static strings where possible
- create StepInformation component
- rename step components to end in 'Step'
2021-10-20 16:15:15 +13:00
Dana Lambert
dd60ce03ee Fix spelling error for PlantRepository 2021-10-20 15:03:25 +13:00
Dana Lambert
2deb3faec0 Load previous soil variant selection during step navigation 2021-10-20 13:14:12 +13:00
Dana Lambert
6303bca92e Fix filter update method on frontend 2021-10-20 12:38:18 +13:00
Dana Lambert
72110cd19f Add all fields to plant serializer 2021-10-20 12:37:45 +13:00
Dana Lambert
cc3c3e7e9a Add soil variant filter 2021-10-20 12:36:48 +13:00
Dana Lambert
cb348b0f5d Fix soil variant spreadsheet import bug where all variants added 2021-10-20 12:36:06 +13:00
Dana Lambert
c4fdd04e8b Add soil variant step to the frontend
- Renamed location step folder
2021-10-20 09:51:49 +13:00
Dana Lambert
10ae4f46ce Modify frontend api call for plants to be filtered 2021-10-19 16:07:13 +13:00
Dana Lambert
12ebe31cf5 Add coordinate filter on the backend
- filters plants based on ecological region and soil order
2021-10-19 16:06:21 +13:00