Commit graph

126 commits

Author SHA1 Message Date
b91794fa61
Implement a colourizer algorithm, but there's a better way of doing it with SVG.
Plan:
 - Fetch SVG
 - Find + replace special marker with colour
 - Generate data URL (See btoa())
 - Use it in a Marker in Leaflet
2020-04-02 22:13:46 +01:00
ef9424650e
Disable the tour, since it's causing a crash on startup 2020-04-02 20:26:48 +01:00
10f136cec3
Bugfix: Fix the firstrun tour for the new version of shepard.js. Fixes #55. 2019-10-29 20:58:47 +00:00
91eb5859fc
Small formatting tweak 2019-10-29 20:47:26 +00:00
c7333b4da2
Add leaflet-easyprint 2019-09-18 22:41:42 +01:00
a4e5fc78f4
Merge pull request #51 from Mr-Pepp/dev 2019-08-13 15:16:29 +01:00
f3a7d8f766
Make remaining whitespace changes 2019-08-13 15:05:21 +01:00
Milo
77a776caeb
Added TAGS to string & code structure improvements
- Used tags for bold writing.
- change no_"action" to just "action" to make it easier to understand.
2019-08-13 14:55:22 +01:00
Milo
016bd03362
Changed Tour.mjs
- Bold action writting
- completed tour on exit
- previous button at end
2019-08-13 14:55:07 +01:00
Milo
dee2681744 Tour is completed once you exit / finish the tour.
Changed the final step so that it uses this.get_buttons() and altered 
the function a bit.
2019-08-12 12:26:55 +01:00
Milo
5a5bf193dd Made text that tells you to complete an action bold.
- This only applies to text that state the action that you have to 
complete in order to proceed to the next step in the tour.
2019-08-03 00:29:34 +01:00
Milo
d2f45412a0 Added "Previous" button to the end of the tour.
(Small Change)
2019-08-01 19:37:38 +01:00
d4a6253aeb
Round dates in the device graph 2019-07-31 19:42:33 +01:00
5ef5cec040
Round dates when making heatmap api requests 2019-07-31 19:31:05 +01:00
8b2b907948
Strip another artifact of leaflet-timedimension 2019-07-22 15:37:17 +01:00
63bc4e536d
Make some minor UI adjustments
We also add initial prefers-color-scheme: dark support
2019-07-20 14:13:21 +01:00
14f9cf4a60
Bugfix: Move close button in the changelog dialog box from the bottom to the top of the content 2019-07-20 11:49:53 +01:00
10086bdb09
Display device sensor information in the device info tab 2019-07-18 23:14:19 +01:00
659af6cf5d
Bugfix: Don't crash if no data could be found for a specific reading type 2019-06-30 21:41:28 +01:00
902b17eed4
Display last seen in the device pop
We still want to automatically recolour the marker though, so #36 will 
have to stay open for now
2019-06-30 21:31:34 +01:00
58d40f8f4e
Display loading animation when updating the heatmap 2019-06-30 18:48:31 +01:00
98ebc02ec7
Reorder & optimise loading of UI elements 2019-06-30 18:40:26 +01:00
c91a895f9d
Tweak tour 2019-06-30 18:23:44 +01:00
25a1bf66d9
Add loading animation while we're bringing in the overlay & device markers 2019-06-30 18:11:36 +01:00
ed7b5aec9b
Only run the tour once 2019-06-11 15:38:20 +01:00
fa433c88b0
Implement initial tour. 2019-06-11 15:35:31 +01:00
bc3c631c89
Remove heatmap blob radius ui setting 2019-06-11 14:44:07 +01:00
c3b7423c7f
Rewire the UI, and style the voronoi diagram a bit
chroma.js is great - thanks @gka :D
2019-06-11 14:00:59 +01:00
38345222e7
Finish off initial voronoi diagram implementation & update changelog.
Next up, we need to reconnect the UI
2019-06-11 13:45:26 +01:00
4df93a3683
Use chroma to determine the colour to display, but we're not displaying it yet 2019-06-11 13:28:47 +01:00
b9d60c7e32
Re-add the guage at the side 2019-06-11 12:42:59 +01:00
78f4a5946a
Re-enable the layer manager in the top-left 2019-06-11 12:22:01 +01:00
e09419b018
Switch to GeoJSON. It's sooo much simpler! 2019-06-11 12:13:20 +01:00
03033c0b24
Add GeoJSON note 2019-06-11 01:07:11 +01:00
85fc5563d4
Re-enable the marker cluster system 2019-06-11 00:43:11 +01:00
6ce69098dc
Work on the proportions, but it's displaying upside-down!
...there's quite a ways to go.
2019-06-11 00:32:01 +01:00
d3978310b4
Get it displaying device locations, but they aren't lined up yet. 2019-06-11 00:19:37 +01:00
388b269590
Get a basic voronoi diagram showing. yay! 2019-06-10 23:24:28 +01:00
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