Commit Graph

252 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 218e498c4a
[client/map] Bugfix: Request OpenStreet maps over HTTPS by default 2019-01-20 23:41:45 +00:00
Starbeamrainbowlabs b9cbea5c96
build: Compress code in production environments 2019-01-20 23:22:09 +00:00
Starbeamrainbowlabs 6f7e682927
build: Formatting fix 2019-01-20 23:15:40 +00:00
Starbeamrainbowlabs 3a166a0563
[client/device-graph] Bugfix: Avoid issues when no data can be fetched 2019-01-20 22:47:05 +00:00
Starbeamrainbowlabs f73cf8b1f6
[client/device-graph] Allow reading type selection works! Finally :P 2019-01-20 22:32:34 +00:00
Starbeamrainbowlabs ee6cf4a86e
[server] Bugfix: Filter result of device-data action by reading type 2019-01-20 22:03:06 +00:00
Starbeamrainbowlabs 25ab294d1c
[client/device-graph] Refactor reading for customising the reading type 2019-01-20 21:54:40 +00:00
Starbeamrainbowlabs 5efa223376
[client/device-graph] Add colours for the different reading types
....but you can't switch between them yet.
2019-01-20 21:31:16 +00:00
Starbeamrainbowlabs a4ab7a0e61
[client/device-graph] Add pretty colour 2019-01-20 21:23:44 +00:00
Starbeamrainbowlabs 27e8602354
[client/device-graph] It works. Yay! :D 2019-01-20 21:11:45 +00:00
Starbeamrainbowlabs 051690c9e1
[client/device graph] Style buttons 2019-01-20 20:53:12 +00:00
Starbeamrainbowlabs 01404172b5
[client] Fix some bugs in the device chart, but there are a bunch still to go. 2019-01-20 20:09:20 +00:00
Starbeamrainbowlabs b34ba0dc0b
[server/device-data] Add start/end datetime checking 2019-01-20 18:12:00 +00:00
Starbeamrainbowlabs a34efe5c25
[client] Display chart, but it's not working right just yet.
Also do some re-organisation in the pop-up to install a flexbox.
2019-01-20 15:18:29 +00:00
Starbeamrainbowlabs 9595f9153d
[client/build] Get assets copying correctly. Hooray! :D 2019-01-20 14:18:53 +00:00
Starbeamrainbowlabs cbe46ae0ce
[client/build] Try copying assets to app/ automagically, but we need a different plugin. 2019-01-20 00:56:40 +00:00
Starbeamrainbowlabs 765dd1f91a
[client/build/rollup] Reconfigure postcss-url to copy, not rebase 2019-01-20 00:42:56 +00:00
Starbeamrainbowlabs 69fd4959a0
Remove Chart.JS and tidy up 2019-01-20 00:17:54 +00:00
Starbeamrainbowlabs 4a9d67e292
[client] Try Chart.JS, but it's causing an error! 2019-01-19 22:04:51 +00:00
Starbeamrainbowlabs 8bff9acbd8
README: Document new device-data API action 2019-01-19 21:19:06 +00:00
Starbeamrainbowlabs 39869afea0
[server] Add device-data API action 2019-01-19 21:12:11 +00:00
Starbeamrainbowlabs 0cefd047f4
[server] Add device-data-bounds API call 2019-01-19 16:08:47 +00:00
Starbeamrainbowlabs 556585e848
Add temperature gradient 2019-01-19 15:14:59 +00:00
Starbeamrainbowlabs 497da77e61
[client/heatmap] Add horrible hack to change gradient based on reading type 2019-01-19 15:09:38 +00:00
Starbeamrainbowlabs 45509725e4
[client/heatmap] Dynamically change gradient based on reading type 2019-01-19 14:31:46 +00:00
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