Commit Graph

40 Commits

Author SHA1 Message Date
Tristan Timblin
ec7607e733 CEC-5436: add configure component (#491)
* CEC-5436: add configure component

* fix deps

* linter

* remove console log

* remove logging
2023-12-12 12:03:10 -08:00
Tristan Timblin
5ad467b116 CEC-5432: add additional options (#486)
* CEC-5432: add additional options

* fix missing dep
2023-11-29 16:36:18 -08:00
Tristan Timblin
f4652b5de7 CEC-5432: expand bulk-action to add, remove, and move vehicles between fleets (#484)
* battery indicator

* optimistic response remove from fleet

* update api to use params

* expand add to fleet to also remove

* typo

* update to post request

* CEC-5432: remove unused deps

* update mocks for delete
2023-11-17 10:44:56 -08:00
Tristan Timblin
dd33b505be CEC-5308: remove dead code (#475) 2023-11-06 12:58:33 -08:00
Tristan Timblin
342aa3e270 CEC-5292: add battery info to fleet vehicles (#474)
* CEC-5292: add battery info to fleet vehicles

* add permission requirement

* set new message

* responsive

* fix missing status

* update snapshots

* update snapshots
2023-10-26 13:42:57 -07:00
Tristan Timblin
db0d3dd319 CEC-5182: add car update status to fleet (#466) 2023-10-13 10:09:49 -07:00
Tristan Timblin
27ffdf01b0 CEC-4564: add visual nesting to CAN signal control (#406)
* add TrieSelect

* setup menu button

* CEC-4564: add trie select component

* add visual nesting

* remove unused imports
2023-08-02 15:44:08 -04:00
Tristan Timblin
5716832a81 CEC-4564: add trie select component (#404)
* add TrieSelect

* setup menu button

* CEC-4564: add trie select component

* CEC-4564: fix selectall bool check

* update tests
2023-07-31 11:08:23 -04:00
Tristan Timblin
e767e6dfdd CEC-4546: add ecu search (#391)
* CEC-4546: add ecu search

* CEC-4546: add checkbox to filter current

* add column

* set initial state to true for unique
2023-07-18 12:50:27 -04:00
Tristan Timblin
224b4b2157 CEC-4545: fix responsive ecu table (#367)
* CEC-4545: fix responsive ecu table
2023-06-21 13:41:40 -04:00
Tristan Timblin
de1a5dcd2d CEC-4499: add bulk update configs support (#357)
* add taskRunner util

* add bulk update config flow
2023-06-14 13:53:32 -04:00
Tristan Timblin
f74c717377 CEC-4498 update fleetsAPI.addFleetVehicle to send vehicle in an array (#351)
* CEC-4498 update fleet-vehicle-add api to take an array of vehicles
2023-06-12 22:41:55 -04:00
Tristan Timblin
022e88d400 CEC-4425: Fix responsive styles (#346)
* CEC-4425: Fix responsive styles
2023-06-05 15:30:54 -04:00
das31
7b061c0282 CEC-4206-ecu-page-cut-off (#321)
* CEC-4206-ecu-page-cut-off

* fix test

* Update snapshots

* Fix tooltip title warning

---------

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
Co-authored-by: John Wu <76966357+jwu-fisker@users.noreply.github.com>
2023-04-25 14:25:22 -07:00
John Wu
24ac0898af CEC-3577 Style tweak (#284) 2023-02-17 17:32:38 -08:00
Alexander Andrews
c5a86a5e61 CEC-2269: Embdeded Superset (#228)
Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
2022-10-28 12:51:12 -04:00
John Wu
0d706d8252 CEC-2211 Add CAN signals component to map (#182)
Fix timer memory leak
2022-08-05 21:32:57 -07:00
John Wu
93926d3c01 CEC-1230 Datascope opens iframe dashboard (#174)
* CEC-1230 Datascope opens iframe dashboard

* Clean up
2022-08-04 11:59:02 -07:00
Drew Taylor
d7fba4f3a6 CEC-1387 fix datascope button to appear "clickable" (#150) 2022-04-26 15:17:23 -07:00
Drew Taylor
491de89269 CEC-1387 superset integration and removal of grafana (#138)
* replace grafana with superset

* updating snapshots
2022-04-18 09:02:17 -07:00
John Wu
86eeaab869 Development (#94)
* CEC-371 Car ECU display (#79)

* Merge Development (#53)

* Use responsive iframe control for charts (#49)

* Use responsive iframe control to charts

* Move external Grafana link to Dashboard page

* Remove unused embedded style class

* Add button label

* added delete button to deploy packages

* Fix unit test warning
Remove unused route from test

* Fix styling of button

* minor fixes per pr review

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>

* Development Merge (#57)

* CEC-287 Car connection status (#59) (#60)

* Car connection status

* Formatting

* Merge Development (#64)

* Add connection status to vehicles page

* ConnectedIcon control

* Handle Style

* Development (#67)

* preliminary map for vehicles

* weird zoom bug

* passing react tests

* fixing warnings and updating snapshots

* update node environment to 14

* addressing comments by changing variable types and adding styles to home page title

* adding CODEOWNERS file

* fixing token error

* CEC-371 Update car ECUs display (#78)

* Clean up className styles
Update car status page to show update and ECUs

* Add update ecu version button
Show all ECUs on car status page
Only show car ecus for search

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>

* CEC-394 Car update log (#81)

* CEC-394 Car update status control

* Remove Datadog RUM
Remove package update components
Move control components into Controls folder
Add Car update status page

* Display update status log
Clean up unused update package code

* Remove console.logs

* no vars

* adding timestamp to vehicle popup

* modifying vehicle data query

* removing extraneous code

* removing console log

* Clean up SonarCloud warnings (#83)

* Clean up SonarCloud warnings

* Bogus security warning

* Fix another warning

* Fix unauthorized locations request

* Fix update progress control

* CEC-563 New manifest format (#88)

* Add ManifestCreateContext
Update create manifest page

* Finish UI changes and API integration

* Fixes

* Fix test

* Remove manifest ECU file version and type

* Fixes

* Add manifest ecu file type control

* Fix Sonar warnings

* Fix test

* Update codeowners

* Formatting

* CEC-553 Change file type to string (#90)

* CEC-553 File type uses string enum

* Fix test timeout

* Fix

* Merge development

* Increase timeout

* Clean up (#95)

* Clean up
Mock missing methods

* Smell

Co-authored-by: jcw-fisker <jwatson@fiskerinc.com>
Co-authored-by: John Cotten Watson <83605808+jcw-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>
Co-authored-by: Drew Taylor <dtaylor@fiskerinc.com>
2021-10-14 12:23:16 -07:00
John Wu
680280dbf2 Merge development (#86) 2021-09-13 09:15:20 -07:00
John Wu
74eb2707a3 Merge CEC-394 Car update log (#82) 2021-08-26 15:03:45 -07:00
John Wu
f273e25cf8 CEC-381 Fix install progress (#77)
* Fix install progress

* Remove unused components and inline styles

* Update test

* errors are not the final update state

* Remove max width for main container

* Progress starts at 0
2021-08-12 17:51:40 -07:00
John Wu
2b95bab38b CEC-381 Install messages and update styling (#76)
* Styling

* Handle install messages

* Update progress

* Display download and install status
2021-08-10 18:11:14 -07:00
John Wu
e50eb886e6 Reorganize app pages (#73)
* Update layout and menus

* Add breadcrumbs
Add menu icons
Add ECU drop down

* Implement submenu
Update download progress

* revamped dashboard section - failing app.test.js

* Clean up

Co-authored-by: Drew Taylor <dtaylor@fiskerinc.com>
2021-08-10 08:11:06 -07:00
John Wu
0545b54daf CEC-377 Create multi-file updates (#71)
* Replace Deploy Package with Deploy Manifest page
Stub new controls for package files

* Add Release notes and ECU FIles to Create Manifest

* Add Release notes and ECU FIles to Create Manifest

* Oops

* Replace multi release notes with single url

* Implement multiple file uploads and progress

* Update snapshots

* Unused import

* Move file to end of form
Update progress layout
2021-08-09 08:54:48 -07:00
Drew Taylor
2a186736c3 addressing comments by changing variable types and adding styles to home page title 2021-07-22 11:47:46 -07:00
Drew Taylor
eb22be3763 fixing warnings and updating snapshots 2021-07-22 10:30:38 -07:00
Drew Taylor
e09ce9bd41 passing react tests 2021-07-21 17:15:34 -07:00
John Wu
e8a84563bd Use responsive iframe control for charts (#49)
* Use responsive iframe control to charts

* Move external Grafana link to Dashboard page

* Remove unused embedded style class

* Add button label
2021-06-02 15:02:58 -07:00
John Wu
d8f14aaeba Update Dashboard Charts (#47)
* Update dashboard charts

* Remove chart time lock

* Update snapshot test
2021-06-02 11:26:38 -07:00
John Wu
c36f6976f7 CEC-252, CEC-253 Remove modal status popup, new car selection control (#45)
* Create multiselect car table control
Remove table overflow containers

* Include trim to add car form

* CEC-252 Replace modal status with link to car details page

* Remove send command from car status page
Fix menu key warning
2021-06-01 13:16:13 -07:00
John Wu
931e1521e8 CEC-244 Remote car commands, search, sortable tables (#42)
* Add sortable table header

* Send bulk commands page
Update table page sizes
All tables are sortable

* Update site layout
Add search to update packages

* Reenable Datadog

* remove dev stuff
2021-05-26 15:46:46 -07:00
John Wu
0d71a3f235 CEC-231 Fix control css (#39) 2021-05-10 09:31:23 -07:00
John Wu
fe6739a736 CEC-231 Bulk car selection control (#38)
* Bulk car selection control

* Tweak control alignment
2021-05-07 15:27:14 -07:00
John Wu
1f9db5454f Add updates by car screen and modal popup (#29) 2021-04-06 19:43:49 -07:00
John Wu
17f81822c0 Add package updates, car updates, and vehicle screens (#25) 2021-03-31 17:42:31 -07:00
John Wu
2e1f4a7a7c Change main UI layout and add VINs to add and upload forms (#16)
* Add new upload update package form
Add new add vehicle form
Add new side menu layout
Add new toolbar layout
Update and add unit tests

* Enable add get and add vehicles

* Integration issues with ota_update service

* Update get vehicle JSON format

* Fix related unit test
Add release notes field

* Add StatusContext to display error and status messages
2021-03-11 12:53:29 -08:00
John Wu
39e779dc1d Use compute auth service and fix static code analyzer warnings (#15)
* Clean up formatting

* Use new compute_auth service
Implment SSO
Implement token refresh
Clean up unit tests

* Fix unit tests

* Fix auth test
Fix warnings

* Update default settings for compute_auth
2021-03-04 14:30:56 -08:00