Commit Graph

177 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 0b5713c74e
[client] Select the right initial reading type 2019-01-19 13:50:45 +00:00
Starbeamrainbowlabs 95f2e673e2
[client] Make reading type selector work 2019-01-19 13:35:25 +00:00
Starbeamrainbowlabs fb67fa7999
[client] Display reading types in the UI, but it doesn't do anything yet 2019-01-19 13:14:00 +00:00
Starbeamrainbowlabs 408e0d4cec
[server] Add list-reading-types API action 2019-01-18 23:39:56 +00:00
Starbeamrainbowlabs 187c0c8bce
[client] Prettyificate the marker content even moar 2019-01-18 23:11:21 +00:00
Starbeamrainbowlabs 44d818e3fb
[client] Don't display the name in the device property table 2019-01-18 23:03:08 +00:00
Starbeamrainbowlabs 73cd2a77dc
[server/device-info] Actually use the device-id parameter 2019-01-18 23:02:24 +00:00
Starbeamrainbowlabs 962768272a
Merge branch 'master' of github.com:ConnectedHumber/Air-Quality-Web 2019-01-18 23:00:11 +00:00
Starbeamrainbowlabs c581c5bbee
[client] Add debugging statement 2019-01-18 23:00:04 +00:00
Starbeamrainbowlabs cfc8d0feac
[client] Make popup content prettier 2019-01-18 22:59:57 +00:00
Starbeamrainbowlabs 10824f2920
Make popup content prettier 2019-01-18 22:58:22 +00:00
Starbeamrainbowlabs 19029a942b
[client] Get basic device marker popups working 2019-01-18 22:43:28 +00:00
Starbeamrainbowlabs 11f54d1bd5
README: Document new API action 2019-01-18 21:51:40 +00:00
Starbeamrainbowlabs 575a6b1dd6
[server] Add device-info api call 2019-01-18 21:49:14 +00:00
Starbeamrainbowlabs a0130a72c9
[client] Add settings panel! 2019-01-18 21:25:30 +00:00
Starbeamrainbowlabs a21cb1c3eb
Fix the heatmap. We may need to tweak the blob size a bit though 2019-01-18 20:12:30 +00:00
Starbeamrainbowlabs c4e29e7637
Remove webgl heatmap, as it doesn't work right.
It's a shame it doesn't do what we want - looks like we'll have to find 
another one.....
2019-01-18 19:45:28 +00:00
Starbeamrainbowlabs e86032c847
[client] Try tweaking the heatmap, but it looks like we're going to have to swap it out
Looks like https://www.npmjs.com/package/leaflet-heatmap is a good place 
to look for a replacement
2019-01-18 00:18:34 +00:00
Starbeamrainbowlabs 16d58918b9
[client] Increase heatmap blob size 2019-01-17 17:38:10 +00:00
Starbeamrainbowlabs 8c74a293e8
Fix error with heatmap, but I'm unsure that it's rendering correctly 2019-01-17 17:37:29 +00:00
Starbeamrainbowlabs 794f7d3c73
Try to get the heatmap working, but it isn't just yet. 2019-01-17 17:31:59 +00:00
Starbeamrainbowlabs aa88da0617
[server] Tweak measurement data properties 2019-01-17 17:02:22 +00:00
Starbeamrainbowlabs 3a62ef08d9
[server/fetch-data] Dedupe records & add property to indicate the # of records 2019-01-17 16:51:37 +00:00
Starbeamrainbowlabs f51cac03ca
[client] Push body behind map 2019-01-17 16:39:47 +00:00
Starbeamrainbowlabs d1baf89b17
[client] Refactor header to allow clickable access to layer control 2019-01-17 16:38:15 +00:00
Starbeamrainbowlabs 7864051443
Remove debugging calls 2019-01-17 16:13:55 +00:00
Starbeamrainbowlabs a3cc45a44c
[client] Display device markers. Hooray! 2019-01-17 16:13:27 +00:00
Starbeamrainbowlabs 4a2b8fc3c6
[server/list-devices] Tweak prorperty names 2019-01-17 15:52:42 +00:00
Starbeamrainbowlabs f0781948f3
[server] Add list-devices API action 2019-01-17 15:39:50 +00:00
Starbeamrainbowlabs d9420b82c4
[fetch-data] Send content-length header 2019-01-17 15:33:10 +00:00
Starbeamrainbowlabs 845deedd36
Document server-side API 2019-01-17 15:25:34 +00:00
Starbeamrainbowlabs a13f813771
Add cache-control header sending in production mode 2019-01-17 14:51:19 +00:00
Starbeamrainbowlabs 26fdc94215
README: Fix heading 2019-01-17 14:38:32 +00:00
Starbeamrainbowlabs 2c470efcb9
Add PR template & licence/contributing sections to README 2019-01-17 14:38:13 +00:00
Starbeamrainbowlabs a41eb8fcfd
Fill out the README a bit 2019-01-17 14:31:09 +00:00
Starbeamrainbowlabs 7d0227f332
Add title to page 2019-01-17 14:13:22 +00:00
Starbeamrainbowlabs 542f0afcb0
Add leaflet-fullscreen 2019-01-17 14:07:31 +00:00
Starbeamrainbowlabs a65f5f619f
Correct attribution text 2019-01-17 13:58:56 +00:00
Starbeamrainbowlabs b2a3b35dd9
Get a basic map displaying.
Nothing fanceh yet, but we're getting there :D
2019-01-17 13:56:25 +00:00
Starbeamrainbowlabs c45db0ddee
Build css with rollup too! 2019-01-17 12:48:09 +00:00
Starbeamrainbowlabs 6882ff4737
Add application structure diagram. I might blog about it actually. 2019-01-15 23:52:37 +00:00
Starbeamrainbowlabs 0a5588a905
Add todo 2019-01-15 23:03:53 +00:00
Starbeamrainbowlabs ca955f3c89
Formatting 2019-01-15 19:26:14 +00:00
Starbeamrainbowlabs dc4d821f27
[production] Bugfix: Variable name correction 2019-01-15 19:24:09 +00:00
Starbeamrainbowlabs bc6944ba02
[production] Recursively create missing directories 2019-01-15 19:22:14 +00:00
Starbeamrainbowlabs 9f0442d1cf
Add production optimisations 2019-01-15 19:19:17 +00:00
Starbeamrainbowlabs edf52fe3df
Correct perfdata ms calculation 2019-01-15 19:06:49 +00:00
Starbeamrainbowlabs 6123e2c679
Use timediff -> time_to_sec -> abs to make datetime fuzzy 2019-01-15 17:27:35 +00:00
Starbeamrainbowlabs 102bd13864
Fix measurement data query (I think) 2019-01-15 17:05:21 +00:00
Starbeamrainbowlabs 9f6bea64d4
Fix measurement data query, but it's not quite right yet 2019-01-15 17:02:24 +00:00