Commit graph

5885 commits

Author SHA1 Message Date
Doruk
3cecc6779f lint fix 2025-06-19 21:04:34 +02:00
Doruk
8a5202bd35 bring back snapshot test 2025-06-19 20:56:41 +02:00
Doruk
b907d62a56 tests clean up 2025-06-19 20:55:37 +02:00
Doruk
0028db4682 boundaries test fix 2025-06-19 20:53:19 +02:00
Doruk
fd0fe646ee fix test for scale factor 2025-06-19 20:52:29 +02:00
Doruk
751c92b945 lint fix 2025-06-19 20:20:06 +02:00
Doruk
a15e897300 updated tests and various improvements 2025-06-19 20:19:52 +02:00
Peak Twilight
4160045ee4
Update src/components/HeartbeatBar.vue
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-19 20:12:06 +02:00
Peak Twilight
0439566164
Update src/pages/StatusPage.vue
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-19 20:11:36 +02:00
Peak Twilight
59043fb2b8
Update src/components/HeartbeatBar.vue
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-19 20:11:04 +02:00
Doruk
28ddaf1e27 review 2025-06-19 20:07:31 +02:00
Doruk
dc74bb7e95 lint fix 2025-06-17 21:30:03 +02:00
Doruk
29e885b6d4 fix minor issues, falsy check & unnecessary defaults & simplify to a single empty state 2025-06-17 19:50:24 +02:00
Doruk
5c6cf48a77 status page router ismplification getData 2025-06-17 19:50:24 +02:00
Doruk
91221b5cb9 keep track of original order instead of iterating through all buckets 2025-06-17 19:50:24 +02:00
Doruk
88b3cfc640 maxbeats simplification 2025-06-17 19:50:24 +02:00
Doruk
eb47b1f14f refactor _24 suffix 2025-06-17 19:50:24 +02:00
Peak Twilight
5e64226a63
Update server/routers/status-page-router.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-06-17 19:35:53 +02:00
Doruk
9e0786272f npm install timeout? 2025-06-17 16:20:38 +02:00
Doruk
9cc91c3869 npm install timeout? 2025-06-17 16:20:31 +02:00
Doruk
6c26d32a8e update uptime component with dynamic range 2025-06-17 15:28:15 +02:00
Doruk
24b6209651 lint fix 2025-06-15 08:02:51 +02:00
Doruk
100cd626cf added more edge case tests to daily data bucketeting 2025-06-15 07:58:53 +02:00
Doruk
3a5bedda88 fix distribute daily data across bucket ranges 2025-06-15 07:44:22 +02:00
Doruk
b6227e7605 linting fix 2025-06-15 00:46:00 +02:00
Doruk
eaace3eca0 added aggregation tests 2025-06-15 00:41:12 +02:00
Doruk
6defb5ddaa refactor status page router into uptime calculator 2025-06-14 23:49:03 +02:00
Doruk
c02301597a cleanup 2025-06-14 23:44:41 +02:00
Doruk
adc362a2a8 rethought beat aggregation system fully server-side 2025-06-14 23:42:40 +02:00
Doruk
1518fd528b address CommanderStorm's feedback + revert statuspage pr 2025-06-14 23:09:44 +02:00
Doruk
1f4c4a0cb1 fix range 30-90 v2 2025-06-14 23:04:57 +02:00
Doruk
8b2bf8a8c8 fix 30-90 range 2025-06-14 22:50:10 +02:00
Doruk
28eae65adb change color suggestion to primary 2025-06-14 22:34:35 +02:00
Doruk
05c9ec2ead fix client-side aggregation as well for dynamic beat bar count 2025-06-14 22:29:30 +02:00
Doruk
76b9680445 bug fix, made beats bars smaller 2025-06-14 21:58:44 +02:00
Doruk
bf7d6deb73 Remove unused client-side aggregation logic. 2025-06-14 18:57:50 +02:00
Doruk
804bb39f52 time calculation & cleanup 2025-06-14 18:40:13 +02:00
Doruk
9402c0fa00 rebucketing 2025-06-14 18:37:40 +02:00
Doruk
75fc01c95f simplifications 2025-06-14 13:38:52 +02:00
Doruk
992bcdb18e fix linting 2025-06-14 13:28:18 +02:00
Doruk
0dde42ee36 added validate and other improvements 2025-06-14 13:27:34 +02:00
Doruk
ace9ff20b5 simplified to day int instead of custom options accross all components. 2025-06-14 12:49:02 +02:00
Doruk
b41d10ec27 cleaned up empty lines + linting 2025-06-14 12:38:45 +02:00
Doruk
94adf2c9d4 cleaned up debugging 2025-06-14 12:37:45 +02:00
Doruk
e16b6cf0d1 . Number of beats adapts to container width, just like auto mode :) 2025-06-14 12:32:54 +02:00
Doruk
f47f73d76d fix timestamp format calculation according to db 2025-06-14 12:24:00 +02:00
Doruk
dbf58b8650 try stat tables first, then add fallback if pre-aggregated data fails 2025-06-14 12:22:46 +02:00
Doruk
8d2e3f130a remove client-side aggregation and add server-side support for it in new util 2025-06-14 12:16:28 +02:00
Doruk
2c6d410c60 modularized with a heartbeat range util 2025-06-14 12:10:00 +02:00
Doruk
ebd47f1a45 refactor: Clean up heartbeat range handling in status page
- Removed fallback to "auto" for heartbeat bar range in the StatusPage model.
- Simplified heartbeat range logic in the status page router to ensure consistent date handling.
- Updated socket handler to directly assign heartbeat bar range from config.
2025-06-14 12:02:37 +02:00