Skip to content

Commit 5a2ea81

Browse files
KarimJCbracyw
andauthored
Added Pie Chart (#350)
* Added Pie Chart Working pie chart with updating values. No animation on the pie chart anymore. * Squashed commit of the following: commit dc20e92e96c3f74ef77b79d6f669f280a0bf8c01 Author: Jack Rubacha <rubacha.jack03@gmail.com> Date: Mon May 26 20:54:02 2025 -0400 Update deps 2 (#387) commit 7268dfe37a8a3b27c720e77ed00e3a84dc1745d3 Author: wyattb <bracy.w@northeastern.edu> Date: Wed May 21 06:21:19 2025 -0400 added replacement of local runId's on conflict commit 5780a9258d2095d565c2eb6cac2374e396d6a133 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon May 19 20:54:08 2025 -0400 Fix Uploading commit 7621090c7c764f5f37f1374cc0e8646dc52d4293 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon May 19 07:31:07 2025 -0400 Update Charybdis commit 5df7edd67daa9072fe99d1013b48532729c64d76 Author: Jack Rubacha <rubacha.jack03@gmail.com> Date: Thu May 15 23:43:08 2025 -0400 Daemon endpoints and more (#386) * add video and serial insert request * added message rate * fixup math, change key to metadata * quick lil fix * msgs per second support + dataTypes name change * prettier * whole num msgs/sec --------- Co-authored-by: wyattb <bracy.w@northeastern.edu> commit 5b2aa63ac2f374dd7bc56e55dcb32c18da90ab1e Author: wyattb <bracy.w@northeastern.edu> Date: Wed May 14 12:01:35 2025 -0400 add logo svg commit e7473101f27fea226f76682ba0adaa7a9d3f37de Author: wyattb <bracy.w@northeastern.edu> Date: Wed May 14 12:00:21 2025 -0400 add icon and title for tab info commit 365b56aee767dfab68b9d16b17df633c62312a6d Author: Jack Rubacha <rubacha.jack03@gmail.com> Date: Mon May 12 13:36:22 2025 -0400 make defaults prod for charybdis commit 35be589945fc2da31ca13beef9460e1c29b5be7c Author: wyattb <bracy.w@northeastern.edu> Date: Sat May 10 19:40:40 2025 -0400 remove typo on info background commit d24655bc36f771f3176dbf2156ea4b7b00ad4bf9 Author: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Date: Fri May 9 20:58:27 2025 -0400 Fix navbar, Graph sidebar and realtime scrolling fix (#384) * graph labels click fix + realtime scroll fix * added more options to nav-bar commit 440cd88c36ba0917c6b12ac5cfa8c65c5b1fdc4e Author: Jack Rubacha <rubacha.jack03@gmail.com> Date: Thu May 8 17:23:47 2025 -0400 Remove parsing of MQTT header time (#383) * Remove parsing of MQTT header time * fix logic commit f8e1149b932898220aca1fd30aaff595db619ec1 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun May 4 18:09:55 2025 +0000 Bump clap from 4.5.35 to 4.5.37 in /scylla-server (#377) commit cf26a95f0c7865f379d4fb63037cb1f5d8393ae2 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun May 4 18:03:32 2025 +0000 Bump tokio-util from 0.7.14 to 0.7.15 in /scylla-server (#376) commit e9001181912a37d377f1a3f76d44c2ac484517e8 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun May 4 18:03:04 2025 +0000 Bump docker/build-push-action from 6.15.0 to 6.16.0 (#378) commit 0ad3003a0f4d125c473dc1e828f39eb219d247de Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun May 4 18:02:22 2025 +0000 Bump chrono from 0.4.40 to 0.4.41 in /scylla-server (#380) commit 0bd4b0752cd294499ef787580352317a443e5a06 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun May 4 18:02:02 2025 +0000 Bump axum from 0.8.3 to 0.8.4 in /scylla-server (#381) commit 7ca046cec78390aab594454bb4c2a2320ea8b86e Merge: 6da0594c 8c88a788 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Thu May 1 09:57:15 2025 -0400 Merge pull request #382 from Northeastern-Electric-Racing/new-EM-page commit 8c88a788d9b9283930ad24269ab9ac2606684baf Author: wyattb <bracy.w@northeastern.edu> Date: Thu May 1 09:50:54 2025 -0400 added precision, working new graph commit 3df85664cd09737f7021c255e5474dc887da5ea2 Author: wyattb <bracy.w@northeastern.edu> Date: Wed Apr 30 18:04:36 2025 -0400 fixed bugs on graph screen commit 6a75083f47be95b252c437a0320bad8734c756d6 Merge: 050b8f52 7e104d52 Author: wyattb <bracy.w@northeastern.edu> Date: Wed Apr 30 17:11:11 2025 -0400 Merge branch 'develop' into new-EM-page commit 7e104d52dc1f57dd17d5a89a9a34debcb09aa83d Author: wyattb <bracy.w@northeastern.edu> Date: Wed Apr 30 15:33:25 2025 -0400 got rid of subject values datatypes - graph commit 050b8f52f4a9daf78dc94442ace591b2bb7d2a77 Author: wyattb <bracy.w@northeastern.edu> Date: Wed Apr 30 09:29:13 2025 -0400 new nav bar / info background fix commit 6da0594c266022c0d2d40f25ebcf7de2db9a2066 Author: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Date: Tue Apr 29 22:01:39 2025 -0400 balancing view, change all segment view (#375) commit 039b0d94d7e83b865853f199d5fe6cdfc4951a2c Author: Peyton McKee <mckee.p@northeastern.edu> Date: Tue Apr 29 18:26:01 2025 -0400 Fix Run Times (#373) * Fix Run Times * Use unix * Send to Socket with no time * Add Back Passsword commit 9c98f4fe121201de3a8c088d82535454a97eefbf Author: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Date: Tue Apr 29 17:55:54 2025 -0400 optional y-axis (#374) * optional y-axis * multi yaxis button change * comment change commit 2981d8798c4f31627d2db62f9fecc37a1d313c8c Author: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Date: Tue Apr 29 09:00:40 2025 -0400 Fix bms beta2 (#372) * fix header sizing, and bms beta cell inversing * no more extra 10 cell commit b63f058baac1a5b29d9a416516c78dc171ce35d5 Author: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Date: Mon Apr 28 15:49:34 2025 -0400 Cell map fix selection (#370) commit 4364069471ec16049ef18cd1cc9cfc733954d3ea Author: justinsoto <justinsoto2424@gmail.com> Date: Mon Apr 28 10:50:57 2025 -0400 * Finished basic dynamic form. User input is printed to the console. * implemented working template * #272 - clean up and MVP * Squashed commit of the following: commit 4f31caa89c7af6e1665ad3365d79aa822913eb83 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 11 21:44:29 2025 -0400 Fix Backend Url commit 7f4bd0130d4f6f4f2ebca98db7d95a7de443df79 Merge: e72037df a0dd635d Author: Peyton McKee <mckee.p@northeastern.edu> Date: Fri Apr 11 21:26:11 2025 -0400 Merge pull request #364 from Northeastern-Electric-Racing/Reversing-Cells Reversing heat-map, 3 digit precision for voltages on cell view commit a0dd635d39e333753923c078b61d188a829a98a5 Author: wyattb <bracy.w@northeastern.edu> Date: Fri Apr 11 13:11:43 2025 -0400 only beta reversed commit b73766d38bed15c18189c7dbef992665f80eaa25 Author: wyattb <bracy.w@northeastern.edu> Date: Fri Apr 11 12:55:38 2025 -0400 Reversing heat-map, 3 digit precision for voltages on cell view commit e72037df6abb538afbb8900acdfb49bcdc6f0c0e Merge: ae08fab0 f2ffc6e9 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Thu Apr 10 00:31:04 2025 -0400 Merge pull request #357 from Northeastern-Electric-Racing/Uploadable-Playbackable-Videos Uploadable playbackable videos commit f2ffc6e961285415d58da17af0ac3e1c13877049 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 10 00:26:29 2025 -0400 Format commit 74f8b894de172a6ca1feac9080559b9a73aa983a Merge: e5d60243 ae08fab0 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Wed Apr 9 23:49:40 2025 -0400 Merge branch 'develop' into Uploadable-Playbackable-Videos commit ae08fab0954c2f338bad55e6c2b2d8d2fccbeb3d Author: Peyton McKee <mckee.p@northeastern.edu> Date: Mon Apr 7 23:32:07 2025 -0400 Use Datetime for cloud data (#363) * Use Datetime for cloud data * cargo fmt * scylla- data is stored with microseconds epoch unix * fixed data_service test * fixed data service test * cargo fmt --------- Co-authored-by: wyattb <bracy.w@northeastern.edu> commit e5d60243b9fcc2980598882da8eaa53af82b1372 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Apr 7 19:32:07 2025 -0400 Format commit c1b09904b91c05c6916eed1471252f70424adb16 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Apr 7 19:02:25 2025 -0400 Bump clap from 4.5.34 to 4.5.35 in /scylla-server (#361) Bumps [clap](https://github.com/clap-rs/clap) from 4.5.34 to 4.5.35. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.34...clap_complete-v4.5.35) --- updated-dependencies: - dependency-name: clap dependency-version: 4.5.35 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 97a8188982654e9a5501a162090d6d634365f83f Author: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Date: Mon Apr 7 19:01:37 2025 -0400 Segment Views (#358) * #327 - initial setup * #327 - header touchup * #327 - fix prettier * #327 - abstracted segment logic into utils file * #327 - fixed broken routing * #328 - start on heat map * #328 - cleaning up bms utils * #328 - minor changes * Beginning of shift to dynamic routes / topics + bms utils * #328 - MVP for cell service and heatmap connection with selector view * #328 - added cellNumber support * #328 - no more 2 * for Volt and burning enums * #328 - MVP for cell and heatmap * #328 - fix chip diag logic * #328 - different sized top info bckgrnd right label * Squashed commit of the following: commit 7471f9b8892806c2d8c70a9332bca078277ac44e Merge: 4070b14 4bc2091 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Wed Mar 26 15:39:42 2025 -0400 Merge pull request #348 from Northeastern-Electric-Racing/Fault-page Fault page commit 4bc2091cc0cbd76a9aa49cb9550b4241bb19209f Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 25 17:37:57 2025 -0400 Only Limit Range on Realtime commit 4070b140c2205568da17ed57c14cb5ff358ea91f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 25 10:50:40 2025 -0400 Bump tokio from 1.43.0 to 1.44.1 in /scylla-server (#346) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.43.0 to 1.44.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.44.1) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 30cc0b7679da95924b9bb53e37f613eaddb2b46e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 25 10:35:15 2025 -0400 Bump socketioxide from 0.16.1 to 0.16.2 in /scylla-server (#351) Bumps [socketioxide](https://github.com/totodore/socketioxide) from 0.16.1 to 0.16.2. - [Release notes](https://github.com/totodore/socketioxide/releases) - [Changelog](https://github.com/Totodore/socketioxide/blob/main/CHANGELOG.md) - [Commits](https://github.com/totodore/socketioxide/compare/v0.16.1...v0.16.2) --- updated-dependencies: - dependency-name: socketioxide dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 5f678f63c738d658dd7ff9dab7e1ba54b4e7f065 Merge: e42affd 36e4a18 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 18:50:14 2025 -0400 Merge branch 'develop' into Fault-page commit e42affd196291c6c49794b391f2603c39f0603a5 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 16:33:37 2025 -0400 Combine Graph And Fault Page commit 08c0d74d3d778a99bebbc2b638e6b82e3eb19eef Author: wyattb <bracy.w@northeastern.edu> Date: Fri Mar 21 21:49:43 2025 -0400 add working mat alert icon commit e6bf2f6faed434f045ac9ced27b7de917f5585ec Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 13:00:06 2025 -0400 Remove Unused Import commit c325cd62aea00eb52821227472bd7962440d0187 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 11:37:59 2025 -0400 Remove Logs commit 5d5fb517205efaf1aef4b20b79fa8a9a47abdda7 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:53:02 2025 -0400 Fmt commit 1a7ea42a7a8a04c9b60c159ed3fbb6ce78e7a984 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:49:37 2025 -0400 Two Data Functions commit 5ac148e70e5dc1a8dbe2ac5bd1369bc2be228f60 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 00:00:54 2025 -0400 Working Fault Page commit 387dcee5ada30a49086b8c23f8b2eca7d9e5b8b0 Merge: da6c768 76e64e0 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:47 2025 -0400 Merge branch 'develop' into Fault-page commit da6c768bfb66781b1436bb7289f2ea38c5b61abd Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:05 2025 -0400 Initial Fault Page * #328 - integrating fault page with appRoutes * Squashed commit of the following: commit 848cbc2fa26ce85cad39eb3e0321096019f422f7 Author: wyattb <bracy.w@northeastern.edu> Date: Wed Apr 2 23:49:01 2025 -0400 commit 36af72b4f6b597babf2d9b25efaec1ac96cbf608 Author: emirdur <emirdurakovicofficial@gmail.com> Date: Wed Apr 2 21:13:48 2025 -0400 seg init * #330 - rough draft * #328 - add highlight to heatmap * changed fault graph header * #328 - remove scylla server typescript * #328 - minor fix to seg at a glance * Squashed commit of the following: commit 7471f9b8892806c2d8c70a9332bca078277ac44e Merge: 4070b14 4bc2091 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Wed Mar 26 15:39:42 2025 -0400 Merge pull request #348 from Northeastern-Electric-Racing/Fault-page Fault page commit 4bc2091cc0cbd76a9aa49cb9550b4241bb19209f Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 25 17:37:57 2025 -0400 Only Limit Range on Realtime commit 4070b140c2205568da17ed57c14cb5ff358ea91f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 25 10:50:40 2025 -0400 Bump tokio from 1.43.0 to 1.44.1 in /scylla-server (#346) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.43.0 to 1.44.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.44.1) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 30cc0b7679da95924b9bb53e37f613eaddb2b46e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 25 10:35:15 2025 -0400 Bump socketioxide from 0.16.1 to 0.16.2 in /scylla-server (#351) Bumps [socketioxide](https://github.com/totodore/socketioxide) from 0.16.1 to 0.16.2. - [Release notes](https://github.com/totodore/socketioxide/releases) - [Changelog](https://github.com/Totodore/socketioxide/blob/main/CHANGELOG.md) - [Commits](https://github.com/totodore/socketioxide/compare/v0.16.1...v0.16.2) --- updated-dependencies: - dependency-name: socketioxide dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 5f678f63c738d658dd7ff9dab7e1ba54b4e7f065 Merge: e42affd 36e4a18 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 18:50:14 2025 -0400 Merge branch 'develop' into Fault-page commit e42affd196291c6c49794b391f2603c39f0603a5 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 16:33:37 2025 -0400 Combine Graph And Fault Page commit 08c0d74d3d778a99bebbc2b638e6b82e3eb19eef Author: wyattb <bracy.w@northeastern.edu> Date: Fri Mar 21 21:49:43 2025 -0400 add working mat alert icon commit e6bf2f6faed434f045ac9ced27b7de917f5585ec Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 13:00:06 2025 -0400 Remove Unused Import commit c325cd62aea00eb52821227472bd7962440d0187 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 11:37:59 2025 -0400 Remove Logs commit 5d5fb517205efaf1aef4b20b79fa8a9a47abdda7 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:53:02 2025 -0400 Fmt commit 1a7ea42a7a8a04c9b60c159ed3fbb6ce78e7a984 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:49:37 2025 -0400 Two Data Functions commit 5ac148e70e5dc1a8dbe2ac5bd1369bc2be228f60 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 00:00:54 2025 -0400 Working Fault Page commit 387dcee5ada30a49086b8c23f8b2eca7d9e5b8b0 Merge: da6c768 76e64e0 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:47 2025 -0400 Merge branch 'develop' into Fault-page commit da6c768bfb66781b1436bb7289f2ea38c5b61abd Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:05 2025 -0400 Initial Fault Page * #328 - fix prettier * #328 - added two precision, various bms debug fixes * #328 - convert some of info background to signals * removed console log * #328 - all comments addressed * #328 - heatmap style fixes commit 5072e377f115b878b057429541c0c3feaa36b9d0 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Apr 7 18:59:19 2025 -0400 Bump tokio from 1.44.1 to 1.44.2 in /scylla-server (#362) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.44.1 to 1.44.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.44.2) --- updated-dependencies: - dependency-name: tokio dependency-version: 1.44.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 2128389375e813bde011f7ac4d8e8af162a677e8 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Apr 7 18:43:39 2025 -0400 Bump diesel from 2.2.8 to 2.2.9 in /scylla-server (#359) Bumps [diesel](https://github.com/diesel-rs/diesel) from 2.2.8 to 2.2.9. - [Release notes](https://github.com/diesel-rs/diesel/releases) - [Changelog](https://github.com/diesel-rs/diesel/blob/v2.2.9/CHANGELOG.md) - [Commits](https://github.com/diesel-rs/diesel/compare/v2.2.8...v2.2.9) --- updated-dependencies: - dependency-name: diesel dependency-version: 2.2.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 579d6bd30a4ad0bc9344afc9904da03c684d860a Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Apr 7 15:49:41 2025 -0400 Format commit c4a99a942a5cf6327b4eae08ea305d4c9f7a038f Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 5 15:26:56 2025 -0400 Address Comments commit f83a04beb65bfbbf410fdd9c681eafb4a8b4a3e2 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 4 20:28:27 2025 -0400 Undo Compose Changes commit 55c7901d299f335e5ef29f7000b2f671e33db6b4 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 4 18:38:55 2025 -0400 Optimize Streaming of playback videos commit d819a7db71dcdb2ab8f4fe966d56de4eeb26c77e Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 3 21:53:59 2025 -0400 Formatting commit 01368cb4e74f3d957075be9c92633bc76be90296 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 3 21:49:34 2025 -0400 Get Correct Name commit ccc07b31f2907ba6c5c3a1eee418ae13d0624b6a Author: Jack Rubacha <rubacha.jack03@gmail.com> Date: Thu Apr 3 20:55:45 2025 -0400 fixup fault regex (#355) commit cafae15e857444a4377238e38786792d37170228 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 3 20:40:12 2025 -0400 Conform to ServerData commit 1a0e60a4499a9ea83a3f7c871c99938863521b6c Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 3 02:57:38 2025 -0400 Add Update Videos Button commit 2f897bfc6f6cef9556c2348b6c572a248cb2cea6 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 3 02:23:44 2025 -0400 Uploadable Playbackable Videos commit c5b5a60be65bb517bdc68ebd8a606e5f558ef36d Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Mar 31 13:42:15 2025 -0400 Bump clap from 4.5.32 to 4.5.34 in /scylla-server (#353) Bumps [clap](https://github.com/clap-rs/clap) from 4.5.32 to 4.5.34. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.32...clap_complete-v4.5.34) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 90feb5c45a81f1be70e20d4fb155eef393045a8d Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Mar 31 13:42:05 2025 -0400 Bump axum from 0.8.1 to 0.8.3 in /scylla-server (#354) Bumps [axum](https://github.com/tokio-rs/axum) from 0.8.1 to 0.8.3. - [Release notes](https://github.com/tokio-rs/axum/releases) - [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/axum/commits/axum-v0.8.3) --- updated-dependencies: - dependency-name: axum dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 211a69a495de21540768f3c0fa6afe474accf26d Merge: 7471f9b8 b09db9d2 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Wed Mar 26 20:48:00 2025 -0400 Merge pull request #352 from Northeastern-Electric-Racing/fix-charybdis Charybdis Fixes commit b09db9d2a52f009d3b5f17070cad5697e8bb6f6d Author: wyattb <bracy.w@northeastern.edu> Date: Wed Mar 26 19:14:05 2025 -0400 charybdis - unique btwn runid and time cloud + non-duplicated runs support commit 7471f9b8892806c2d8c70a9332bca078277ac44e Merge: 4070b140 4bc2091c Author: Peyton McKee <mckee.p@northeastern.edu> Date: Wed Mar 26 15:39:42 2025 -0400 Merge pull request #348 from Northeastern-Electric-Racing/Fault-page Fault page commit 4bc2091cc0cbd76a9aa49cb9550b4241bb19209f Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 25 17:37:57 2025 -0400 Only Limit Range on Realtime commit 5f678f63c738d658dd7ff9dab7e1ba54b4e7f065 Merge: e42affd1 36e4a185 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 18:50:14 2025 -0400 Merge branch 'develop' into Fault-page commit e42affd196291c6c49794b391f2603c39f0603a5 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 16:33:37 2025 -0400 Combine Graph And Fault Page commit 08c0d74d3d778a99bebbc2b638e6b82e3eb19eef Author: wyattb <bracy.w@northeastern.edu> Date: Fri Mar 21 21:49:43 2025 -0400 add working mat alert icon commit e6bf2f6faed434f045ac9ced27b7de917f5585ec Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 13:00:06 2025 -0400 Remove Unused Import commit c325cd62aea00eb52821227472bd7962440d0187 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 11:37:59 2025 -0400 Remove Logs commit 5d5fb517205efaf1aef4b20b79fa8a9a47abdda7 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:53:02 2025 -0400 Fmt commit 1a7ea42a7a8a04c9b60c159ed3fbb6ce78e7a984 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:49:37 2025 -0400 Two Data Functions commit 5ac148e70e5dc1a8dbe2ac5bd1369bc2be228f60 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 00:00:54 2025 -0400 Working Fault Page commit 387dcee5ada30a49086b8c23f8b2eca7d9e5b8b0 Merge: da6c768b 76e64e0e Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:47 2025 -0400 Merge branch 'develop' into Fault-page commit da6c768bfb66781b1436bb7289f2ea38c5b61abd Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:05 2025 -0400 Initial Fault Page * #272 - working squash * #272 - actual mvp... need to allow overflow on selector * #272 - prettier * #272 - working edit run * #272 - functional edit run * Squashed commit of the following: commit 4f1f7131a6ac785fa791f4e6f5e7cbfdc236013b Merge: 58e8a89f 92a8e7af Author: Peyton McKee <mckee.p@northeastern.edu> Date: Sun Apr 27 10:08:43 2025 -0400 Merge pull request #369 from Northeastern-Electric-Racing/graph-fix-apex Graph fix apex commit 92a8e7afe655a771583105064e8ffa8da05c283e Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sun Apr 27 10:03:45 2025 -0400 Remove Logs commit 58e8a89fbb36e1db62201a5f2f3b77f39f184653 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sun Apr 27 09:38:40 2025 -0400 Car Command Dashboard commit 7f7959471640a95e80f9db335953d72f38959fe2 Author: wyattb <bracy.w@northeastern.edu> Date: Sun Apr 27 00:53:00 2025 -0400 commit 2cfab842599b0dbf4eb5eb901d77e085b42f9c5e Author: wyattb <bracy.w@northeastern.edu> Date: Sun Apr 27 00:32:40 2025 -0400 commit fd316cb2b561556dcbf309220366c4ba88ccd3fd Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 23:20:50 2025 -0400 commit a79a754ab5d5e39e291ceacb35077dbd65302845 Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 19:09:47 2025 -0400 commit 52c7c802e10f7eef1762dab31250799ece368f7f Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 17:54:29 2025 -0400 commit faa854c37c327e84354b7d9741f68eacec5a47ef Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 15:14:14 2025 -0400 testing commit 730c8f147843ddeaeb61e302833fc8635745ad69 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 25 18:09:59 2025 -0400 Remove Compresion commit 47344fce68a387abc14bc1d7a017b80c0c59e43d Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 25 15:07:17 2025 -0400 Fix Date Pipe commit 478559bfb8972efd5d0b11c58c643fdb15fbd28d Author: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Date: Fri Apr 25 03:11:12 2025 -0400 commit 748b72463fdec2ab5b77033db8479c6c4d9efeb0 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 24 17:04:27 2025 -0400 Add Indexing to Database commit a76eca15ba41d31f4fe4dbed7878100ebe24753a Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 24 15:21:31 2025 -0400 Add Accumulator Level Heat Map commit 89cd4d2cadc746a2cb23691a8028069dcc3c0dc7 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 24 12:13:14 2025 -0400 Fix Charybdis Uploads and Dumps commit 2ea1d96c636795fe9f0f063f27d137ed0118e8b8 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Apr 22 18:03:41 2025 -0400 Fix Memory Issues commit c7ca5dd63eaf38cde89d01d47a2ba6a776bf49e3 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Apr 22 16:05:47 2025 -0400 Transition to copy download commit d939ddec9c251718bfd2bc0d9808fe5a0ac1e0c1 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Apr 21 22:10:02 2025 -0400 Undo Env Change commit c3622c900dd7c05b09411748f7a9b0f7d6ce9689 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Apr 21 22:09:13 2025 -0400 Fix Charybdis and Fix Bad Indexing commit cc94d322bc389178f39d037182332684692da73f Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 19 21:28:21 2025 -0400 Fix Limiting Range for Historical Data commit d424a13bb13ae840dfd405c1e139c5888e2ed2d1 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 19 17:29:52 2025 -0400 Actually fix the timestamps commit f86a9b3345ce8607ae21c6ff5b17fd4cc055ddc4 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 19 16:52:37 2025 -0400 Convert back to i32 for client * fix sliding x-axis * white legend graph * fixed cell view --------- Co-authored-by: wyattb <bracy.w@northeastern.edu> Co-authored-by: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> commit 4f1f7131a6ac785fa791f4e6f5e7cbfdc236013b Merge: 58e8a89f 92a8e7af Author: Peyton McKee <mckee.p@northeastern.edu> Date: Sun Apr 27 10:08:43 2025 -0400 Merge pull request #369 from Northeastern-Electric-Racing/graph-fix-apex Graph fix apex commit 92a8e7afe655a771583105064e8ffa8da05c283e Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sun Apr 27 10:03:45 2025 -0400 Remove Logs commit 58e8a89fbb36e1db62201a5f2f3b77f39f184653 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sun Apr 27 09:38:40 2025 -0400 Car Command Dashboard commit 7f7959471640a95e80f9db335953d72f38959fe2 Author: wyattb <bracy.w@northeastern.edu> Date: Sun Apr 27 00:53:00 2025 -0400 commit 2cfab842599b0dbf4eb5eb901d77e085b42f9c5e Author: wyattb <bracy.w@northeastern.edu> Date: Sun Apr 27 00:32:40 2025 -0400 commit fd316cb2b561556dcbf309220366c4ba88ccd3fd Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 23:20:50 2025 -0400 commit a79a754ab5d5e39e291ceacb35077dbd65302845 Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 19:09:47 2025 -0400 commit 52c7c802e10f7eef1762dab31250799ece368f7f Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 17:54:29 2025 -0400 commit faa854c37c327e84354b7d9741f68eacec5a47ef Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 15:14:14 2025 -0400 testing commit 730c8f147843ddeaeb61e302833fc8635745ad69 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 25 18:09:59 2025 -0400 Remove Compresion commit 47344fce68a387abc14bc1d7a017b80c0c59e43d Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 25 15:07:17 2025 -0400 Fix Date Pipe commit 478559bfb8972efd5d0b11c58c643fdb15fbd28d Author: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Date: Fri Apr 25 03:11:12 2025 -0400 commit 748b72463fdec2ab5b77033db8479c6c4d9efeb0 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 24 17:04:27 2025 -0400 Add Indexing to Database commit a76eca15ba41d31f4fe4dbed7878100ebe24753a Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 24 15:21:31 2025 -0400 Add Accumulator Level Heat Map commit 89cd4d2cadc746a2cb23691a8028069dcc3c0dc7 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 24 12:13:14 2025 -0400 Fix Charybdis Uploads and Dumps commit 2ea1d96c636795fe9f0f063f27d137ed0118e8b8 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Apr 22 18:03:41 2025 -0400 Fix Memory Issues commit c7ca5dd63eaf38cde89d01d47a2ba6a776bf49e3 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Apr 22 16:05:47 2025 -0400 Transition to copy download commit d939ddec9c251718bfd2bc0d9808fe5a0ac1e0c1 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Apr 21 22:10:02 2025 -0400 Undo Env Change commit c3622c900dd7c05b09411748f7a9b0f7d6ce9689 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Apr 21 22:09:13 2025 -0400 Fix Charybdis and Fix Bad Indexing commit cc94d322bc389178f39d037182332684692da73f Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 19 21:28:21 2025 -0400 Fix Limiting Range for Historical Data commit d424a13bb13ae840dfd405c1e139c5888e2ed2d1 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 19 17:29:52 2025 -0400 Actually fix the timestamps commit f86a9b3345ce8607ae21c6ff5b17fd4cc055ddc4 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 19 16:52:37 2025 -0400 Convert back to i32 for client commit 4f31caa89c7af6e1665ad3365d79aa822913eb83 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 11 21:44:29 2025 -0400 Fix Backend Url commit 7f4bd0130d4f6f4f2ebca98db7d95a7de443df79 Merge: e72037df a0dd635d Author: Peyton McKee <mckee.p@northeastern.edu> Date: Fri Apr 11 21:26:11 2025 -0400 Merge pull request #364 from Northeastern-Electric-Racing/Reversing-Cells Reversing heat-map, 3 digit precision for voltages on cell view commit a0dd635d39e333753923c078b61d188a829a98a5 Author: wyattb <bracy.w@northeastern.edu> Date: Fri Apr 11 13:11:43 2025 -0400 only beta reversed commit b73766d38bed15c18189c7dbef992665f80eaa25 Author: wyattb <bracy.w@northeastern.edu> Date: Fri Apr 11 12:55:38 2025 -0400 Reversing heat-map, 3 digit precision for voltages on cell view commit e72037df6abb538afbb8900acdfb49bcdc6f0c0e Merge: ae08fab0 f2ffc6e9 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Thu Apr 10 00:31:04 2025 -0400 Merge pull request #357 from Northeastern-Electric-Racing/Uploadable-Playbackable-Videos Uploadable playbackable videos commit f2ffc6e961285415d58da17af0ac3e1c13877049 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 10 00:26:29 2025 -0400 Format commit 74f8b894de172a6ca1feac9080559b9a73aa983a Merge: e5d60243 ae08fab0 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Wed Apr 9 23:49:40 2025 -0400 Merge branch 'develop' into Uploadable-Playbackable-Videos commit ae08fab0954c2f338bad55e6c2b2d8d2fccbeb3d Author: Peyton McKee <mckee.p@northeastern.edu> Date: Mon Apr 7 23:32:07 2025 -0400 Use Datetime for cloud data (#363) * Use Datetime for cloud data * cargo fmt * scylla- data is stored with microseconds epoch unix * fixed data_service test * fixed data service test * cargo fmt --------- Co-authored-by: wyattb <bracy.w@northeastern.edu> commit e5d60243b9fcc2980598882da8eaa53af82b1372 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Apr 7 19:32:07 2025 -0400 Format commit c1b09904b91c05c6916eed1471252f70424adb16 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Apr 7 19:02:25 2025 -0400 Bump clap from 4.5.34 to 4.5.35 in /scylla-server (#361) Bumps [clap](https://github.com/clap-rs/clap) from 4.5.34 to 4.5.35. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.34...clap_complete-v4.5.35) --- updated-dependencies: - dependency-name: clap dependency-version: 4.5.35 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 97a8188982654e9a5501a162090d6d634365f83f Author: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Date: Mon Apr 7 19:01:37 2025 -0400 Segment Views (#358) * #327 - initial setup * #327 - header touchup * #327 - fix prettier * #327 - abstracted segment logic into utils file * #327 - fixed broken routing * #328 - start on heat map * #328 - cleaning up bms utils * #328 - minor changes * Beginning of shift to dynamic routes / topics + bms utils * #328 - MVP for cell service and heatmap connection with selector view * #328 - added cellNumber support * #328 - no more 2 * for Volt and burning enums * #328 - MVP for cell and heatmap * #328 - fix chip diag logic * #328 - different sized top info bckgrnd right label * Squashed commit of the following: commit 7471f9b8892806c2d8c70a9332bca078277ac44e Merge: 4070b14 4bc2091 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Wed Mar 26 15:39:42 2025 -0400 Merge pull request #348 from Northeastern-Electric-Racing/Fault-page Fault page commit 4bc2091cc0cbd76a9aa49cb9550b4241bb19209f Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 25 17:37:57 2025 -0400 Only Limit Range on Realtime commit 4070b140c2205568da17ed57c14cb5ff358ea91f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 25 10:50:40 2025 -0400 Bump tokio from 1.43.0 to 1.44.1 in /scylla-server (#346) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.43.0 to 1.44.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.44.1) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 30cc0b7679da95924b9bb53e37f613eaddb2b46e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 25 10:35:15 2025 -0400 Bump socketioxide from 0.16.1 to 0.16.2 in /scylla-server (#351) Bumps [socketioxide](https://github.com/totodore/socketioxide) from 0.16.1 to 0.16.2. - [Release notes](https://github.com/totodore/socketioxide/releases) - [Changelog](https://github.com/Totodore/socketioxide/blob/main/CHANGELOG.md) - [Commits](https://github.com/totodore/socketioxide/compare/v0.16.1...v0.16.2) --- updated-dependencies: - dependency-name: socketioxide dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 5f678f63c738d658dd7ff9dab7e1ba54b4e7f065 Merge: e42affd 36e4a18 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 18:50:14 2025 -0400 Merge branch 'develop' into Fault-page commit e42affd196291c6c49794b391f2603c39f0603a5 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 16:33:37 2025 -0400 Combine Graph And Fault Page commit 08c0d74d3d778a99bebbc2b638e6b82e3eb19eef Author: wyattb <bracy.w@northeastern.edu> Date: Fri Mar 21 21:49:43 2025 -0400 add working mat alert icon commit e6bf2f6faed434f045ac9ced27b7de917f5585ec Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 13:00:06 2025 -0400 Remove Unused Import commit c325cd62aea00eb52821227472bd7962440d0187 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 11:37:59 2025 -0400 Remove Logs commit 5d5fb517205efaf1aef4b20b79fa8a9a47abdda7 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:53:02 2025 -0400 Fmt commit 1a7ea42a7a8a04c9b60c159ed3fbb6ce78e7a984 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:49:37 2025 -0400 Two Data Functions commit 5ac148e70e5dc1a8dbe2ac5bd1369bc2be228f60 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 00:00:54 2025 -0400 Working Fault Page commit 387dcee5ada30a49086b8c23f8b2eca7d9e5b8b0 Merge: da6c768 76e64e0 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:47 2025 -0400 Merge branch 'develop' into Fault-page commit da6c768bfb66781b1436bb7289f2ea38c5b61abd Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:05 2025 -0400 Initial Fault Page * #328 - integrating fault page with appRoutes * Squashed commit of the following: commit 848cbc2fa26ce85cad39eb3e0321096019f422f7 Author: wyattb <bracy.w@northeastern.edu> Date: Wed Apr 2 23:49:01 2025 -0400 commit 36af72b4f6b597babf2d9b25efaec1ac96cbf608 Author: emirdur <emirdurakovicofficial@gmail.com> Date: Wed Apr 2 21:13:48 2025 -0400 seg init * #330 - rough draft * #328 - add highlight to heatmap * changed fault graph header * #328 - remove scylla server typescript * #328 - minor fix to seg at a glance * Squashed commit of the following: commit 7471f9b8892806c2d8c70a9332bca078277ac44e Merge: 4070b14 4bc2091 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Wed Mar 26 15:39:42 2025 -0400 Merge pull request #348 from Northeastern-Electric-Racing/Fault-page Fault page commit 4bc2091cc0cbd76a9aa49cb9550b4241bb19209f Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 25 17:37:57 2025 -0400 Only Limit Range on Realtime commit 4070b140c2205568da17ed57c14cb5ff358ea91f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 25 10:50:40 2025 -0400 Bump tokio from 1.43.0 to 1.44.1 in /scylla-server (#346) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.43.0 to 1.44.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.44.1) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 30cc0b7679da95924b9bb53e37f613eaddb2b46e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 25 10:35:15 2025 -0400 Bump socketioxide from 0.16.1 to 0.16.2 in /scylla-server (#351) Bumps [socketioxide](https://github.com/totodore/socketioxide) from 0.16.1 to 0.16.2. - [Release notes](https://github.com/totodore/socketioxide/releases) - [Changelog](https://github.com/Totodore/socketioxide/blob/main/CHANGELOG.md) - [Commits](https://github.com/totodore/socketioxide/compare/v0.16.1...v0.16.2) --- updated-dependencies: - dependency-name: socketioxide dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 5f678f63c738d658dd7ff9dab7e1ba54b4e7f065 Merge: e42affd 36e4a18 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 18:50:14 2025 -0400 Merge branch 'develop' into Fault-page commit e42affd196291c6c49794b391f2603c39f0603a5 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 16:33:37 2025 -0400 Combine Graph And Fault Page commit 08c0d74d3d778a99bebbc2b638e6b82e3eb19eef Author: wyattb <bracy.w@northeastern.edu> Date: Fri Mar 21 21:49:43 2025 -0400 add working mat alert icon commit e6bf2f6faed434f045ac9ced27b7de917f5585ec Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 13:00:06 2025 -0400 Remove Unused Import commit c325cd62aea00eb52821227472bd7962440d0187 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 11:37:59 2025 -0400 Remove Logs commit 5d5fb517205efaf1aef4b20b79fa8a9a47abdda7 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:53:02 2025 -0400 Fmt commit 1a7ea42a7a8a04c9b60c159ed3fbb6ce78e7a984 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:49:37 2025 -0400 Two Data Functions commit 5ac148e70e5dc1a8dbe2ac5bd1369bc2be228f60 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 00:00:54 2025 -0400 Working Fault Page commit 387dcee5ada30a49086b8c23f8b2eca7d9e5b8b0 Merge: da6c768 76e64e0 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:47 2025 -0400 Merge branch 'develop' into Fault-page commit da6c768bfb66781b1436bb7289f2ea38c5b61abd Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:05 2025 -0400 Initial Fault Page * #328 - fix prettier * #328 - added two precision, various bms debug fixes * #328 - convert some of info background to signals * removed console log * #328 - all comments addressed * #328 - heatmap style fixes commit 5072e377f115b878b057429541c0c3feaa36b9d0 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Apr 7 18:59:19 2025 -0400 Bump tokio from 1.44.1 to 1.44.2 in /scylla-server (#362) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.44.1 to 1.44.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.44.2) --- updated-dependencies: - dependency-name: tokio dependency-version: 1.44.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 2128389375e813bde011f7ac4d8e8af162a677e8 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Apr 7 18:43:39 2025 -0400 Bump diesel from 2.2.8 to 2.2.9 in /scylla-server (#359) Bumps [diesel](https://github.com/diesel-rs/diesel) from 2.2.8 to 2.2.9. - [Release notes](https://github.com/diesel-rs/diesel/releases) - [Changelog](https://github.com/diesel-rs/diesel/blob/v2.2.9/CHANGELOG.md) - [Commits](https://github.com/diesel-rs/diesel/compare/v2.2.8...v2.2.9) --- updated-dependencies: - dependency-name: diesel dependency-version: 2.2.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 579d6bd30a4ad0bc9344afc9904da03c684d860a Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Apr 7 15:49:41 2025 -0400 Format commit c4a99a942a5cf6327b4eae08ea305d4c9f7a038f Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 5 15:26:56 2025 -0400 Address Comments commit f83a04beb65bfbbf410fdd9c681eafb4a8b4a3e2 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 4 20:28:27 2025 -0400 Undo Compose Changes commit 55c7901d299f335e5ef29f7000b2f671e33db6b4 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 4 18:38:55 2025 -0400 Optimize Streaming of playback videos commit d819a7db71dcdb2ab8f4fe966d56de4eeb26c77e Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 3 21:53:59 2025 -0400 Formatting commit 01368cb4e74f3d957075be9c92633bc76be90296 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 3 21:49:34 2025 -0400 Get Correct Name commit ccc07b31f2907ba6c5c3a1eee418ae13d0624b6a Author: Jack Rubacha <rubacha.jack03@gmail.com> Date: Thu Apr 3 20:55:45 2025 -0400 fixup fault regex (#355) commit cafae15e857444a4377238e38786792d37170228 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 3 20:40:12 2025 -0400 Conform to ServerData commit 1a0e60a4499a9ea83a3f7c871c99938863521b6c Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 3 02:57:38 2025 -0400 Add Update Videos Button commit 2f897bfc6f6cef9556c2348b6c572a248cb2cea6 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 3 02:23:44 2025 -0400 Uploadable Playbackable Videos commit c5b5a60be65bb517bdc68ebd8a606e5f558ef36d Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Mar 31 13:42:15 2025 -0400 Bump clap from 4.5.32 to 4.5.34 in /scylla-server (#353) Bumps [clap](https://github.com/clap-rs/clap) from 4.5.32 to 4.5.34. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.32...clap_complete-v4.5.34) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 90feb5c45a81f1be70e20d4fb155eef393045a8d Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Mar 31 13:42:05 2025 -0400 Bump axum from 0.8.1 to 0.8.3 in /scylla-server (#354) Bumps [axum](https://github.com/tokio-rs/axum) from 0.8.1 to 0.8.3. - [Release notes](https://github.com/tokio-rs/axum/releases) - [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/axum/commits/axum-v0.8.3) --- updated-dependencies: - dependency-name: axum dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 211a69a495de21540768f3c0fa6afe474accf26d Merge: 7471f9b8 b09db9d2 Author: Peyton McKee <mckee.p@northeastern.edu> Date: Wed Mar 26 20:48:00 2025 -0400 Merge pull request #352 from Northeastern-Electric-Racing/fix-charybdis Charybdis Fixes commit b09db9d2a52f009d3b5f17070cad5697e8bb6f6d Author: wyattb <bracy.w@northeastern.edu> Date: Wed Mar 26 19:14:05 2025 -0400 charybdis - unique btwn runid and time cloud + non-duplicated runs support commit 7471f9b8892806c2d8c70a9332bca078277ac44e Merge: 4070b140 4bc2091c Author: Peyton McKee <mckee.p@northeastern.edu> Date: Wed Mar 26 15:39:42 2025 -0400 Merge pull request #348 from Northeastern-Electric-Racing/Fault-page Fault page commit 4bc2091cc0cbd76a9aa49cb9550b4241bb19209f Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 25 17:37:57 2025 -0400 Only Limit Range on Realtime commit 4070b140c2205568da17ed57c14cb5ff358ea91f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 25 10:50:40 2025 -0400 Bump tokio from 1.43.0 to 1.44.1 in /scylla-server (#346) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.43.0 to 1.44.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.43.0...tokio-1.44.1) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 30cc0b7679da95924b9bb53e37f613eaddb2b46e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 25 10:35:15 2025 -0400 Bump socketioxide from 0.16.1 to 0.16.2 in /scylla-server (#351) Bumps [socketioxide](https://github.com/totodore/socketioxide) from 0.16.1 to 0.16.2. - [Release notes](https://github.com/totodore/socketioxide/releases) - [Changelog](https://github.com/Totodore/socketioxide/blob/main/CHANGELOG.md) - [Commits](https://github.com/totodore/socketioxide/compare/v0.16.1...v0.16.2) --- updated-dependencies: - dependency-name: socketioxide dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 5f678f63c738d658dd7ff9dab7e1ba54b4e7f065 Merge: e42affd1 36e4a185 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 18:50:14 2025 -0400 Merge branch 'develop' into Fault-page commit e42affd196291c6c49794b391f2603c39f0603a5 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Mar 24 16:33:37 2025 -0400 Combine Graph And Fault Page commit 08c0d74d3d778a99bebbc2b638e6b82e3eb19eef Author: wyattb <bracy.w@northeastern.edu> Date: Fri Mar 21 21:49:43 2025 -0400 add working mat alert icon commit e6bf2f6faed434f045ac9ced27b7de917f5585ec Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 13:00:06 2025 -0400 Remove Unused Import commit c325cd62aea00eb52821227472bd7962440d0187 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 11:37:59 2025 -0400 Remove Logs commit 5d5fb517205efaf1aef4b20b79fa8a9a47abdda7 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:53:02 2025 -0400 Fmt commit 1a7ea42a7a8a04c9b60c159ed3fbb6ce78e7a984 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 10:49:37 2025 -0400 Two Data Functions commit 5ac148e70e5dc1a8dbe2ac5bd1369bc2be228f60 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Wed Mar 19 00:00:54 2025 -0400 Working Fault Page commit 387dcee5ada30a49086b8c23f8b2eca7d9e5b8b0 Merge: da6c768b 76e64e0e Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:47 2025 -0400 Merge branch 'develop' into Fault-page commit da6c768bfb66781b1436bb7289f2ea38c5b61abd Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Mar 18 23:45:05 2025 -0400 Initial Fault Page * final fixes * delete piechart animations * sane starting values --------- Co-authored-by: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Co-authored-by: wyattb <bracy.w@northeastern.edu>
1 parent dc20e92 commit 5a2ea81

6 files changed

Lines changed: 101 additions & 33 deletions

File tree

angular-client/src/components/motor-info/motor-info.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
<typography variant="info-value" [content]="getTotalUsage([motorUsage, coolUsage]).toString()" />
2222
<typography variant="info-unit" [content]="'kWh'" />
2323
</hstack>
24-
<typography variant="info-subtitle" content="Motor Temp" />
24+
<typography variant="info-subtitle" content="Total Motor Usage" />
2525
</vstack>
2626
</hstack>
2727
</vstack>
2828
</hstack>
29-
<pie-chart style="margin-top: -40px" [data]="piechartData" />
29+
<pie-chart style="margin-right: -45px; margin-top: -20px" [data]="piechartData" title="Current Motor Usage" />
3030
</div>
3131
</info-background>
Lines changed: 71 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, OnInit, inject } from '@angular/core';
1+
import { Component, OnDestroy, OnInit, inject } from '@angular/core';
22
import Storage from 'src/services/storage.service';
33
import { DataTypeEnum } from 'src/data-type.enum';
44
import { floatPipe } from 'src/utils/pipes.utils';
@@ -10,8 +10,7 @@ import TypographyComponent from '../typography/typography.component';
1010
import HStackComponent from '../hstack/hstack.component';
1111
import VStackComponent from '../vstack/vstack.component';
1212
import ThermometerComponent from '../thermometer/thermometer.component';
13-
14-
// need access motor temp, motor consumption, and motor cooling
13+
import { Subscription } from 'rxjs';
1514

1615
@Component({
1716
selector: 'motor-info',
@@ -28,31 +27,88 @@ import ThermometerComponent from '../thermometer/thermometer.component';
2827
ThermometerComponent
2928
]
3029
})
31-
export default class MotorInfoComponent implements OnInit {
30+
export default class MotorInfoComponent implements OnInit, OnDestroy {
3231
private storage = inject(Storage);
3332
motorUsage: number = 100;
3433
coolUsage: number = 0;
3534
motorTemp: number = 0;
35+
motorController: number = 0;
36+
lvBoards: number = 0;
37+
battboxFans: number = 0;
38+
pumps: number = 0;
39+
private subscriptions: Subscription[] = [];
3640

3741
piechartData: { value: number; name: string }[] = [];
3842

3943
ngOnInit() {
40-
this.storage.get(DataTypeEnum.MOTOR_TEMP).subscribe((value) => {
41-
this.motorTemp = floatPipe(value.values[0]);
42-
});
43-
this.storage.get(DataTypeEnum.MOTOR_USAGE).subscribe((value) => {
44-
this.motorUsage = floatPipe(value.values[0]);
45-
});
46-
this.storage.get(DataTypeEnum.COOL_USAGE).subscribe((value) => {
47-
this.coolUsage = floatPipe(value.values[0]);
48-
});
44+
this.subscriptions.push(
45+
this.storage.get(DataTypeEnum.MOTOR_TEMP).subscribe((value) => {
46+
this.motorTemp = floatPipe(value.values[0]);
47+
this.updatePieChart();
48+
}),
49+
this.storage.get(DataTypeEnum.MOTOR_USAGE).subscribe((value) => {
50+
this.motorUsage = floatPipe(value.values[0]);
51+
this.updatePieChart();
52+
}),
53+
this.storage.get(DataTypeEnum.COOL_USAGE).subscribe((value) => {
54+
this.coolUsage = floatPipe(value.values[0]);
55+
this.updatePieChart();
56+
}),
57+
this.storage.get(DataTypeEnum.BATTBOX_FANS).subscribe((value) => {
58+
this.battboxFans = floatPipe(value.values[0]);
59+
this.updatePieChart();
60+
}),
61+
this.storage.get(DataTypeEnum.PUMPS).subscribe((value) => {
62+
this.pumps = floatPipe(value.values[0]);
63+
this.updatePieChart();
64+
}),
65+
this.storage.get(DataTypeEnum.MOTOR_CONTROLLER).subscribe((value) => {
66+
this.motorController = floatPipe(value.values[0]);
67+
this.updatePieChart();
68+
}),
69+
this.storage.get(DataTypeEnum.LV_BOARDS).subscribe((value) => {
70+
this.lvBoards = floatPipe(value.values[0]);
71+
this.updatePieChart();
72+
})
73+
);
74+
75+
// Calculate total usage of the four components
76+
const totalUsed = this.motorController + this.battboxFans + this.pumps + this.lvBoards;
77+
// Calculate the remaining unused portion out of 20
78+
const remainingUnused = Math.max(0, 20 - totalUsed);
79+
80+
this.piechartData = [
81+
{ value: this.motorController, name: 'Motor Controller' },
82+
{ value: this.battboxFans, name: 'Battbox Fans' },
83+
{ value: this.pumps, name: 'Pumps' },
84+
{ value: this.lvBoards, name: 'LV Boards' },
85+
{ value: remainingUnused, name: 'None' }
86+
];
87+
}
88+
89+
updatePieChart() {
90+
// Calculate total usage of the four components
91+
const totalUsed = this.motorController + this.battboxFans + this.pumps + this.lvBoards;
92+
// Calculate the remaining unused portion out of 20
93+
const remainingUnused = Math.max(0, 20 - totalUsed);
94+
4995
this.piechartData = [
50-
{ value: this.motorUsage, name: 'Motor' },
51-
{ value: this.coolUsage, name: 'Cooling' }
96+
{ value: this.motorController, name: 'Motor Controller' },
97+
{ value: this.battboxFans, name: 'Battbox Fans' },
98+
{ value: this.pumps, name: 'Pumps' },
99+
{ value: this.lvBoards, name: 'LV Boards' },
100+
{ value: remainingUnused, name: 'None' }
52101
];
53102
}
54103

55104
getTotalUsage(values: number[]) {
56105
return values.reduce((acc, value) => acc + value, 0);
57106
}
107+
108+
ngOnDestroy(): void {
109+
this.subscriptions.forEach((subscription) => {
110+
subscription.unsubscribe();
111+
});
112+
this.subscriptions = [];
113+
}
58114
}
Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<apx-chart
2-
[series]="chartOptions.series"
3-
[colors]="chartOptions.colors"
4-
[stroke]="chartOptions.stroke"
5-
[chart]="chartOptions.chart"
6-
[plotOptions]="chartOptions.plotOptions"
7-
[labels]="chartOptions.labels"
8-
[legend]="chartOptions.legend"
9-
[dataLabels]="chartOptions.dataLabels"
10-
[fill]="chartOptions.fill"
2+
[series]="this.chartOptions.series"
3+
[colors]="this.chartOptions.colors"
4+
[stroke]="this.chartOptions.stroke"
5+
[chart]="this.chartOptions.chart"
6+
[plotOptions]="this.chartOptions.plotOptions"
7+
[labels]="this.chartOptions.labels"
8+
[legend]="this.chartOptions.legend"
9+
[dataLabels]="this.chartOptions.dataLabels"
10+
[fill]="this.chartOptions.fill"
11+
[title]="this.chartOptions.title"
1112
/>

angular-client/src/components/pie-chart/pie-chart.component.ts

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { Component, ElementRef, Input, Renderer2, OnInit, inject } from '@angular/core';
2-
1+
import { Component, ElementRef, Input, Renderer2, OnInit, inject, input } from '@angular/core';
32
import { ApexNonAxisChartSeries, ApexPlotOptions, ApexChart, ApexFill, NgApexchartsModule } from 'ng-apexcharts';
43
import Theme from 'src/services/theme.service';
54

@@ -9,6 +8,7 @@ export type ChartOptions = {
98
labels: string[];
109
plotOptions: ApexPlotOptions;
1110
fill: ApexFill;
11+
title: ApexTitleSubtitle;
1212
};
1313

1414
@Component({
@@ -25,13 +25,14 @@ export default class PieChartComponent implements OnInit {
2525
public chartOptions!: Partial<ChartOptions> | any;
2626
@Input() data: { value: number; name: string }[] = [];
2727
@Input() backgroundColor: string = Theme.infoBackground;
28+
title = input<string>('Pie Chart');
2829
currentWidth: number = 0;
2930

3031
ngOnInit() {
3132
this.setChartWidth();
32-
setTimeout(() => {
33+
setInterval(() => {
3334
this.setChartOptions();
34-
});
35+
}, 2000);
3536
}
3637

3738
setChartOptions() {
@@ -51,13 +52,16 @@ export default class PieChartComponent implements OnInit {
5152
}
5253
}
5354
},
54-
colors: ['#ce2727', '#2799ce', '#3cba40', '#ba3cb4', '#efce29'],
55+
colors: ['#ce2727', '#2799ce', '#3cba40', '#ba3cb4', '#808080'],
5556
chart: {
5657
width: '100%',
5758
type: 'pie',
5859
background: this.backgroundColor,
5960
redrawOnParentResize: true,
60-
foreColor: '#ffffff'
61+
foreColor: '#ffffff',
62+
animations: {
63+
enabled: false
64+
}
6165
},
6266
dataLabels: {
6367
style: {
@@ -67,6 +71,9 @@ export default class PieChartComponent implements OnInit {
6771
labels,
6872
legend: {
6973
offsetX: 10
74+
},
75+
title: {
76+
text: this.title()
7077
}
7178
};
7279
}

angular-client/src/data-type.enum.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ export enum DataTypeEnum {
1818

1919
// MPU
2020
SPEED = 'MPU/State/Speed',
21+
MOTOR_CONTROLLER = 'MPU/Current/Motor_Controller',
22+
BATTBOX_FANS = 'MPU/Current/Battbox_Fans',
23+
PUMPS = 'MPU/Current/Pumps',
24+
LV_BOARDS = 'MPU/Current/LV_Boards',
2125

2226
// DTI
2327
MOTOR_TEMP = 'DTI/Temps/Motor_Temperature',

compose/compose.calypso.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ services:
88
#- CALYPSO_CAN_ENCODE=false
99
#- CALYPSO_SOCKETCAN_IFACE=vcan0
1010
# in sim or prod mode
11-
- CALYPSO_SIREN_HOST_URL=siren:1883
11+
- CALYPSO_SIREN_HOST_URL=siren:1883

0 commit comments

Comments
 (0)