Commit Graph

185 Commits

Author SHA1 Message Date
Nick Krecklow
0f297b72a8
fix: provide initial value to avoid reducing empty array
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Reduce_of_empty_array_with_no_initial_value
2021-06-07 11:51:47 -05:00
Nick Krecklow
8a4ec554e2
fix: stack error caused by spread operator with large arrays 2021-05-31 01:27:20 -05:00
Nick Krecklow
97ef92ff92
enh: update to parcel2 (#237) 2021-03-30 19:04:03 -05:00
Nick Krecklow
9f8c2b5fa6
import font using <link> 2020-08-11 19:04:22 -05:00
Nick Krecklow
92dcc949ca
fix Open Sans import url 2020-08-11 19:01:25 -05:00
Hugo Manrique
b6592f6be3
Default to light Mojang status colors 2020-07-07 13:05:37 +02:00
Hugo Manrique
7961dd33ac
Default to light theme 2020-07-07 12:57:30 +02:00
Nick Krecklow
84cf5389b6
fix eslint compile error due to trailing spaces 2020-06-24 15:15:48 -05:00
Nick Krecklow
b7492b3a3b
calculate isZoomed state before mutating graph data, fixes #193 2020-06-24 15:14:31 -05:00
Nick Krecklow
7b1496511f
5.5.5 2020-06-17 22:22:29 -05:00
Nick Krecklow
0c34a01186
use default y scale for graphs 2020-06-13 00:54:31 -05:00
Nick Krecklow
7313971871
prevent undefined/null values breaking graphs or scales 2020-06-12 18:59:59 -05:00
Nick Krecklow
5b6d65e1c9
simplify isZoomed historical graph update logic 2020-06-12 18:32:53 -05:00
Nick Krecklow
6aeb8b5045
prevent historical graph zoom state from resetting during data updates 2020-06-10 18:42:51 -05:00
Nick Krecklow
d33cf682e9
tooltip.js -> plugins.js 2020-06-10 18:22:45 -05:00
Nick Krecklow
084790a3ba
ensure data[n].length aligns with timestamps.length 2020-06-10 18:18:27 -05:00
Nick Krecklow
df91b22cc0
fix tooltip series selection scaling issue 2020-06-09 22:14:19 -05:00
Nick Krecklow
d48c5afc9b
New hover tooltip layout, use template literals 2020-06-08 16:29:15 -05:00
Nick Krecklow
2336c9f78b
add maxFactor to RelativeScale to prevent large gaps 2020-06-05 17:02:31 -05:00
Nick Krecklow
2a69379923
enable spanGaps for individual server graphs 2020-05-20 22:30:34 -05:00
Nick Krecklow
a360cb4ce0
span plot gaps, change selection color, hide points 2020-05-20 22:25:37 -05:00
Nick Krecklow
2ddc09c2d3
sync vertical tick line across all server graphs 2020-05-20 19:56:25 -05:00
Nick Krecklow
99c271ebc4
move script into <head> 2020-05-12 22:21:15 -05:00
Nick Krecklow
a68e4d2460
fix missing graphData culling behavior 2020-05-12 22:10:38 -05:00
Nick Krecklow
7fd0117f74
replace uplot lib with npm package 2020-05-12 19:50:28 -05:00
Nick Krecklow
8bfd297008
remove big-graph-mobile-load-request 2020-05-11 20:53:59 -05:00
Nick Krecklow
8177c43d15
impl updated graph tooltips 2020-05-11 20:05:34 -05:00
Nick Krecklow
9d8dce716b
remove legacy flot.js hacks 2020-05-11 19:29:35 -05:00
Nick Krecklow
9a8afe2798
inline redraw function 2020-05-11 19:26:44 -05:00
Nick Krecklow
80c565a6ed
simplify server label rendering 2020-05-11 19:23:37 -05:00
Nick Krecklow
bbdbe7e599
simplify error rendering logic 2020-05-11 18:58:47 -05:00
Nick Krecklow
c2f6d04e72
share a single timestamp array between all graphData objects 2020-05-11 18:12:29 -05:00
Nick Krecklow
59ec7d151f
inline #isArrayUtil, remove jQuery 2020-05-11 04:25:30 -05:00
Nick Krecklow
84004f22be
merge graph timestamps into single array, use seconds 2020-05-11 04:12:46 -05:00
Nick Krecklow
ef0c41ee1d
remove graph smoothing behavior, add null playerCount support 2020-05-11 03:10:23 -05:00
Nick Krecklow
19190f8d79
fix timestamp, graph spacing 2020-05-11 02:35:11 -05:00
Nick Krecklow
19a7ce7d91
wip moving historical graph to uPlot, remove flot.js dependency 2020-05-11 02:28:41 -05:00
Nick Krecklow
9987434fea
make tooltipPlugin more generic for further use 2020-05-11 00:42:02 -05:00
Nick Krecklow
1ff9478988
wire uPlot tooltips into the existing tooltip system 2020-05-11 00:37:22 -05:00
Nick Krecklow
8d211434df
reference graphData instead of obscure self.data 2020-05-10 23:42:44 -05:00
Nick Krecklow
b96b9dacc5
replace Flot.js with uPlot for server graphs 2020-05-10 23:39:35 -05:00
Nick Krecklow
320dc3c2fb
send playerCount in payload directly instead of nesting into legacy data structure 2020-05-08 16:13:24 -05:00
Nick Krecklow
4dfecce966
serve favicons over hashed paths for improved caching 2020-05-08 04:47:10 -05:00
Nick Krecklow
96acf3614b
explicitly set serverRegistration.playerCount when firing #addServer 2020-05-08 03:35:22 -05:00
Nick Krecklow
4104c4144a
remove timeout tasks since updates occur in bulk now 2020-05-08 03:27:01 -05:00
Nick Krecklow
63a01ace95
remove console.log debug call 2020-05-08 02:59:51 -05:00
Nick Krecklow
3491c73b89
store pingHistory as player count directly 2020-05-08 02:52:48 -05:00
Nick Krecklow
37a88677cf
always update favicon if supplied 2020-05-08 02:42:46 -05:00
Nick Krecklow
e45f8b6639
simplify addServer/pingHistory & placeholder generation prior to optimizations 2020-05-08 02:39:30 -05:00
Nick Krecklow
f467fa1938
add serverGraphDuration config option 2020-05-08 01:54:04 -05:00