Commit graph

138 commits

Author SHA1 Message Date
278adb8468
Work on the voronoi overlay some more
We still need to write some masty rendering code, and lots of other 
connecting glue
2019-06-09 23:51:41 +01:00
e12d333a04
svg -> this.svg 2019-05-29 21:08:22 +01:00
3642cb0a17
Add todo comments 2019-05-29 21:08:01 +01:00
c1b13cda22
Start implementing VoronoiOverlay, but there's a looong way to go. 2019-05-29 21:06:00 +01:00
a8444fdde6
Port SVGWriter to javascript 2019-05-29 20:21:03 +01:00
439547b438
Flip text to the other side of the guage 2019-05-09 21:38:42 +01:00
cd5ac2a620
Flip guage upside-down 2019-05-09 21:34:01 +01:00
6413171e6d
Display the changelog, but only on the 1st time after an update 2019-05-09 13:38:51 +01:00
721c813599
Add heatmap guage to right-hand-side (part of #31) 2019-05-09 13:32:01 +01:00
e5303d62f0
Bugfix: Correct and document GenerateCSSGradient(). 2019-05-09 11:41:35 +01:00
a91c2283af
Create GenerateCSSGradient function, but it's not used yet. 2019-04-23 16:09:46 +01:00
9194a1f372
Bugfix: Immediately update heatmap on blob size change. Fixes #27. 2019-04-23 15:54:10 +01:00
38c4e0a585
Update changelog 2019-04-23 15:49:15 +01:00
0c446f2864
Update gradients of PM2.5 to match DEFRA standards 2019-04-23 14:43:21 +01:00
deb02b0ede
[client] Refactor to support new HTTP API changes 2019-04-16 18:08:15 +01:00
122d44f3b2
[client] Handle devices with no data gracefully 2019-04-16 17:15:32 +01:00
4971d641e7
Strengthen iso8601-js-period tree-shaking anchor 2019-04-14 22:23:32 +01:00
5458d581e5
Tweak tree-shaking anchor 2019-04-14 22:09:33 +01:00
98361ec2a9
Bugfix: Let's do some debugging 2019-04-14 21:59:06 +01:00
90fd9da348
Ensure terser doesn't tree-shake iso8601-js-period 2019-04-14 21:49:15 +01:00
7486dcddde
Merge branch 'heatmap-time' into dev 2019-04-14 21:02:25 +01:00
3a58dd29ae
Tone down the fps & disable dynamic time slider drag updates 2019-04-14 21:01:54 +01:00
835768830c
Prune the reading cache, but I'm unsure how effective it is. 2019-04-14 17:39:15 +01:00
8d61990828
Initial time dimension implementation.
It's _nasty_, we might need to dispose of leaflet-timedimension 
altogether
2019-04-13 14:54:44 +01:00
d011a61b7e
[client] Exception -> Error 2019-03-29 21:03:38 +00:00
840619ef0d
[client] Disable auto-zoom on cluster click 2019-03-21 18:29:26 +00:00
61baac288a
Start trying to add a time dimension to the heatmap, but it doesn't work yet. 2019-03-18 20:44:12 +00:00
850060a6c0
Bugfix: Correct dynamic adjustment of x axis labels on device graph 2019-03-07 18:37:51 +00:00
28323e86d9
For #15. Attempt to fix it, but I'm unsure as to whether it's worked or not. 2019-02-26 19:09:00 +00:00
cd71310154
Add advanced date/time picker interface to the device graph 2019-02-24 22:36:10 +00:00
1449c22783
[client] Bugfix: Select reading type defs correctly 2019-02-20 18:51:45 +00:00
fc3723a924
[client] Bugfix: Updat to use new DB structure 2019-02-20 18:41:40 +00:00
2f218e1c88
Bugfix: Update client UI to support new DB structure changes 2019-02-20 17:44:02 +00:00
69a581094a
Update changelog 2019-02-20 17:35:54 +00:00
b417cce31d
Bugfix: Wrap string-based errors in an instance of error with a helpful default message. 2019-02-20 17:35:13 +00:00
9b2baba10b
Use hourglass when fetching data from the server 2019-02-10 14:45:15 +00:00
12d4f4c8d2
Device graph: Add basic time quick selectors 2019-02-10 14:29:16 +00:00
3c9fe2a6d9
Bugfix: Default to the 1st reading type if we can't find PM25 2019-02-10 13:40:23 +00:00
eff8b69d38
Use new HTTP API parameter in client 2019-02-07 19:27:21 +00:00
88f0d5615c
Device info: change default tab from info to data 2019-02-02 14:52:45 +00:00
043b16e732
Add report bug button 2019-02-01 18:57:06 +00:00
697d857e74
Refactor tabs to use a library.
We still need to refactor the css to match, though
2019-02-01 18:37:51 +00:00
68b86a2f91
[client] Add version, build date, and changelog to UI 2019-01-26 22:14:18 +00:00
844d23e0a6
Add version file & auto-insertion into client app code 2019-01-26 22:00:37 +00:00
2d2df3a1dc
[client] Theme tabs & buttons 2019-01-26 17:06:30 +00:00
38b393cd43
[client] Create initial tabbed interface for popup 2019-01-26 16:49:25 +00:00
50c500c1ec
[client/popup] Bugfix: Handle unspecified values 2019-01-26 11:56:23 +00:00
5934f96aaa
[client] Add attributions 2019-01-21 11:48:29 +00:00
db09e6a56f
[client/device-graph] Tweak suggested temperature range 2019-01-21 00:03:29 +00:00
218e498c4a
[client/map] Bugfix: Request OpenStreet maps over HTTPS by default 2019-01-20 23:41:45 +00:00
3a166a0563
[client/device-graph] Bugfix: Avoid issues when no data can be fetched 2019-01-20 22:47:05 +00:00
f73cf8b1f6
[client/device-graph] Allow reading type selection works! Finally :P 2019-01-20 22:32:34 +00:00
25ab294d1c
[client/device-graph] Refactor reading for customising the reading type 2019-01-20 21:54:40 +00:00
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
a4ab7a0e61
[client/device-graph] Add pretty colour 2019-01-20 21:23:44 +00:00
27e8602354
[client/device-graph] It works. Yay! :D 2019-01-20 21:11:45 +00:00
051690c9e1
[client/device graph] Style buttons 2019-01-20 20:53:12 +00:00
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
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
69fd4959a0
Remove Chart.JS and tidy up 2019-01-20 00:17:54 +00:00
4a9d67e292
[client] Try Chart.JS, but it's causing an error! 2019-01-19 22:04:51 +00:00
0cefd047f4
[server] Add device-data-bounds API call 2019-01-19 16:08:47 +00:00
556585e848
Add temperature gradient 2019-01-19 15:14:59 +00:00
497da77e61
[client/heatmap] Add horrible hack to change gradient based on reading type 2019-01-19 15:09:38 +00:00
45509725e4
[client/heatmap] Dynamically change gradient based on reading type 2019-01-19 14:31:46 +00:00
0b5713c74e
[client] Select the right initial reading type 2019-01-19 13:50:45 +00:00
95f2e673e2
[client] Make reading type selector work 2019-01-19 13:35:25 +00:00
fb67fa7999
[client] Display reading types in the UI, but it doesn't do anything yet 2019-01-19 13:14:00 +00:00
187c0c8bce
[client] Prettyificate the marker content even moar 2019-01-18 23:11:21 +00:00
44d818e3fb
[client] Don't display the name in the device property table 2019-01-18 23:03:08 +00:00
c581c5bbee
[client] Add debugging statement 2019-01-18 23:00:04 +00:00
cfc8d0feac
[client] Make popup content prettier 2019-01-18 22:59:57 +00:00
19029a942b
[client] Get basic device marker popups working 2019-01-18 22:43:28 +00:00
a0130a72c9
[client] Add settings panel! 2019-01-18 21:25:30 +00:00
a21cb1c3eb
Fix the heatmap. We may need to tweak the blob size a bit though 2019-01-18 20:12:30 +00:00
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
16d58918b9
[client] Increase heatmap blob size 2019-01-17 17:38:10 +00:00
8c74a293e8
Fix error with heatmap, but I'm unsure that it's rendering correctly 2019-01-17 17:37:29 +00:00
794f7d3c73
Try to get the heatmap working, but it isn't just yet. 2019-01-17 17:31:59 +00:00
f51cac03ca
[client] Push body behind map 2019-01-17 16:39:47 +00:00
d1baf89b17
[client] Refactor header to allow clickable access to layer control 2019-01-17 16:38:15 +00:00
7864051443
Remove debugging calls 2019-01-17 16:13:55 +00:00
a3cc45a44c
[client] Display device markers. Hooray! 2019-01-17 16:13:27 +00:00
542f0afcb0
Add leaflet-fullscreen 2019-01-17 14:07:31 +00:00
a65f5f619f
Correct attribution text 2019-01-17 13:58:56 +00:00
b2a3b35dd9
Get a basic map displaying.
Nothing fanceh yet, but we're getting there :D
2019-01-17 13:56:25 +00:00
c45db0ddee
Build css with rollup too! 2019-01-17 12:48:09 +00:00
bb6e1a7c07
Setup client-side build 2019-01-13 13:15:11 +00:00