From 749f1672da16a7eb16b67c741661995f538c27d6 Mon Sep 17 00:00:00 2001 From: Eduard Voronkin <116690094+eduardvoronkin@users.noreply.github.com> Date: Fri, 17 Feb 2023 14:53:36 -0800 Subject: [PATCH 1/5] CEC-3577: fetch T.Rex log from the cloud (#283) * CEC-3577: fetch T.Rex log from the cloud * tabs? * CSS * smells * fix smells and warnings * suggestions --- .../App/__snapshots__/App.test.js.snap | 28 +- src/components/Cars/Status/TRexLogsTab.jsx | 36 +++ .../Status/__snapshots__/index.test.jsx.snap | 28 +- src/components/Cars/Status/index.jsx | 5 + src/components/Controls/TRexLogs/index.jsx | 258 ++++++++++++++++++ src/services/__mocks__/vehiclesAPI.js | 35 +++ src/services/vehiclesAPI.js | 11 + 7 files changed, 397 insertions(+), 4 deletions(-) create mode 100644 src/components/Cars/Status/TRexLogsTab.jsx create mode 100644 src/components/Controls/TRexLogs/index.jsx diff --git a/src/components/App/__snapshots__/App.test.js.snap b/src/components/App/__snapshots__/App.test.js.snap index 8878484..d1a399a 100644 --- a/src/components/App/__snapshots__/App.test.js.snap +++ b/src/components/App/__snapshots__/App.test.js.snap @@ -9851,7 +9851,7 @@ exports[`App Route /vehicle-status authenticated 1`] = ` - ECUs + T.Rex logs - Remote Commands + ECUs + + Remote Commands + + + + +