Commit graph

53 commits

Author SHA1 Message Date
Dana Lambert
e99cf44312 Slight refactor of redirect logic code 2021-11-24 21:40:57 +00:00
Dana Lambert
044f7c78ea Add redirect demo 2021-11-24 21:40:57 +00:00
Dana Lambert
04b391ceb7 Connect download pdf endpoint to frontend 2021-11-18 11:43:18 +13:00
Dana Lambert
26d1f3ea09 Misc fixes
-  add remove orphans to start command
- ignore keys directory
- update default api url config to use /api
2021-11-18 11:21:18 +13:00
Dana Lambert
627816a3cd Add sample habitat image and zone data
- Renames fixture scripts
2021-11-10 17:34:16 +13:00
Dana Lambert
d65f48a387 Add Dockerfile for frontend 2021-11-10 15:27:16 +13:00
Dana Lambert
41d61ce3c5 Add forest position data as part of the plant results 2021-11-10 10:33:34 +13:00
Dana Lambert
4745ed578a Fix habitat image dimensions not showing entire image 2021-11-10 10:21:46 +13:00
Dana Lambert
4ee50863d8 Adjust logo size 2021-11-09 15:29:34 +13:00
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
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
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
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
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
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
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
aa3f9dc7f0 Display selected coordinates on the map in the top right 2021-10-19 16:04:04 +13:00
Dana Lambert
695aceaaa0 Place previously chosen location on map when going back 2021-10-19 10:42:48 +13:00
Dana Lambert
ef3d0e4d7e Set next active only when location is selected 2021-10-19 10:42:48 +13:00
Dana Lambert
5bef4efe36 Update filter state with clicked coordinates. 2021-10-19 10:42:48 +13:00
Dana Lambert
05665b545b Add marker to map on click with coordinate tooltip 2021-10-19 10:42:48 +13:00
Dana Lambert
19b2b00750 Fit map to NZ bounds on load 2021-10-19 10:42:48 +13:00
Dana Lambert
096c534536 Add map and description to location step with layout adjustments 2021-10-19 10:42:48 +13:00
Dana Lambert
d7a97dfb1d Add template Step component with configurable background image and content 2021-10-19 10:41:45 +13:00
Dana Lambert
aa95005fd2 Add header styled like Biosphere Capital site
- Adds Biosphere Capital logo
- Adds dummy nav with no dropdown links
2021-10-19 10:41:45 +13:00
Dana Lambert
68b1d80ffa Modify stepper to be linear 2021-10-13 07:34:38 +13:00
Dana Lambert
0104af35f7 Add sample mui stepper 2021-10-07 15:39:12 +13:00
Dana Lambert
80d5b181d9 Add basic plant repository and demo page with plant list 2021-10-07 10:22:44 +13:00