Commit graph

76 commits

Author SHA1 Message Date
Matthew Northcott
0f36c79dbf [#40] Review changes
- add comment about Suspense
- add missing key attributes
- remove redundant fragments
- prettier formatting
- rename React component files with .jsx extension
2023-02-10 14:20:15 +13:00
Matthew Northcott
a03de013de [#40] Add /apply route with address selector 2023-02-08 14:48:24 +13:00
Matthew Northcott
108e3e0f67 [#40] Rewrite SVG loader to fix conflict with react-router 2023-02-08 14:48:24 +13:00
Matthew Northcott
fe59b0c854 [#40] Implement router 2023-02-08 14:48:24 +13:00
Matthew Northcott
9a7b9474d4 Update frontend packages
- update dependencies
- add react-router-dom
2023-02-08 14:48:24 +13:00
Matthew Northcott
47b6c48aea [#44] Loading Indicator
- add loading indicator to plant list
- format PlantList.js and ResultsStep.js
2023-02-08 14:28:52 +13:00
Matthew Northcott
c1796c22a6 Fixes and improvements 2023-02-08 14:24:48 +13:00
Matthew Northcott
436075f11c Update homepage title text 2022-08-05 13:39:53 +12:00
Matthew Northcott
3a013511aa Display 25 results in table by default 2022-08-05 13:37:46 +12:00
Matthew Northcott
b3aebebe88 Add tooltips to Stepper component 2022-08-05 13:37:22 +12:00
Alistair McIntyre
9e1c98dc24 Docs and head tag fix 2021-12-20 11:50:01 +13:00
Dana Lambert
9ff26d1b21 Update sand dune zones 2021-12-17 19:09:59 +13:00
Dana Lambert
2eae995998 Add frontend support for zone tooltips 2021-12-13 11:57:11 +13:00
Dana Lambert
d88ec0d3b1 Updates to SVG mappings 2021-12-09 07:48:19 +13:00
Dana Lambert
405b6dc68c Fix bug where user can proceed without selecting an image varition (when multiple) 2021-12-09 07:48:19 +13:00
Dana Lambert
1b09723463 Fix initial zone selection
- Also fixes useEffect console errors
2021-12-09 07:48:19 +13:00
Dana Lambert
a61f782ac4 Add habitat svgs and fixtures 2021-12-09 07:48:19 +13:00
Dana Lambert
2c2a362b9a Add frontend support for svg zone selection 2021-12-09 07:48:19 +13:00
Dana Lambert
f25c7bb7df Display additional region information on summary step 2021-12-08 03:35:11 +00:00
Dana Lambert
77135650cf Add results description 2021-12-01 10:12:55 +13:00
Dana Lambert
958d3af462 Add forest info tooltip 2021-12-01 10:12:55 +13:00
Dana Lambert
a050f0083e Fix development nginx setup
- Expose 3000 for hot reload
- Apply conditional for respository base URL
- Include static files for django admin
2021-12-01 09:39:45 +13:00
Dana Lambert
043d89bd04 Refactor how base API url is set on frontend 2021-11-25 20:00:02 +00:00
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