Commit Graph

300 Commits

Author SHA1 Message Date
John Wu
81aeedc521 CEC-1369 Fix display of update error (#139)
* CEC-1369 Fix display of update error

* Update snapshot
2022-04-18 16:22:22 -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
Drew Taylor
11c85e57d6 CEC-1256/CEC-1330 fixing filters length function (#137)
* fixing filters length function

* adding filters testing

* code smell

* code smells

* bug
2022-04-14 19:03:22 -07:00
Drew Taylor
07f77cabdb CEC-1256/CEC-1330 data logger for vehicles/fleets and details tabs for vehicles/fleets (#136)
* forms for fleet can filters

* unit tests for fleet filters

* removing warnings

* updating regex

* added fleet details page

* fleet pages

* smoothed out bugs

* fleets done

* working update, delete vehicles

* finished mocks, still need snapshots and context tests

* contexts done

* snapshot tests

* updating code smells

* smells
2022-04-14 18:11:22 -07:00
John Wu
afa3c1e529 CEC-1320 Update for memory regions (#135)
* CEC-1320 Update for memory regions

* Clean up
2022-04-11 15:43:10 -07:00
John Wu
a9fc0e00c7 CEC-1317 npm update (#134) 2022-04-06 13:30:24 -07:00
John Wu
350134e187 CEC-532 Display manifest file properties (#133)
* CEC-532 Display update file properties

* npm audit fix
2022-04-06 12:34:39 -07:00
Drew Taylor
6eb32d1522 CEC-1182 fleet filter forms (#131)
* forms for fleet can filters

* unit tests for fleet filters

* removing warnings

* updating regex
2022-03-29 10:19:14 -07:00
Drew Taylor
4af3c70ec7 CEC-1183/CEC-1201 fleet vehicles forms (#130)
* working fleet vehicles forms

* snapshots and api tests
2022-03-22 14:15:49 -07:00
John Wu
4daf171b1e CEC-1216 Remove unused components (#129)
* CEC-1216 Remove unused components

* Remove import
2022-03-21 17:21:59 -07:00
venkats09
220716051b CEC-1167 ota admin portal (#127)
* Add test coverage script

* Remove unnecessary check

* CEC-1167 unit test and code coverage

* included sonar job

* updated the workflow

* updated sonar properties

* updated sonar properties

* updated sonar properties

* updated sonar properties

* updated sonar properties

* updated sonar properties

* updated sonar properties

* updated sonar properties

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2022-03-15 09:36:01 -07:00
Drew Taylor
34d670c101 CEC-1058 fleet forms (#123)
* working fleets page

* unit tests

* snapshots

* updating messages and snapshots

* updating extraneous snaps
2022-03-11 15:48:30 -08:00
John Wu
2d7f51f3f4 CEC-1050 Self download indicator (#119) 2022-03-09 17:12:09 -08:00
Drew Taylor
b7223b8bc6 CEC-464 can filters forms (#118)
* can filters forms and lists

* unit tests

* updating warnings and tests

* merge develop

* fixed snapshots

* update jest mocks

* updating tests
2022-03-03 11:33:07 -08:00
John Wu
3b9252097a CEC-1050 New manifest format (#117)
* CEC-1050 Manifest changes

* Fix delete bug

* Add approve update button

* Code smell

* Remove update approval
2022-03-01 16:56:25 -08:00
John Wu
a858b842c6 CEC-775 Manifest details component (#114)
* CEC-775 Manifest details component

* Code smells

* Fix build warning
2022-01-17 08:59:55 -08:00
John Wu
cb5035cf96 CEC-660 Fix release notes field (#113) 2021-11-29 17:25:56 -08:00
John Wu
1410878170 Refresh button label (#112)
* Update ECU refresh button label

* Update snapshot

* remove
2021-11-19 10:02:05 -08:00
John Wu
410962fe97 Handle case ECU is not in message (#111) 2021-11-15 15:40:35 -08:00
John Wu
537e8ed30b Diplay ECU name in update status (#110)
Optimize car update status progress control
Remove car update status page test
Replace with individual component tests
2021-11-15 09:12:03 -08:00
John Wu
4318ce9048 CEC-624 Display update status info and ECU (#108) 2021-11-11 17:10:52 -08:00
John Wu
0f4047e966 CEC-638 Should be EKS (#107)
* Should be EKS

* Update snapshot
2021-11-11 10:12:54 -08:00
John Wu
3d15395d90 CEC-638 Add EK test ECU (#106)
* CEC-638 Add EK ECU

* Update test
2021-11-10 17:19:01 -08:00
John Wu
a81d4960c1 Fix template function (#105) 2021-11-09 16:08:04 -08:00
John Wu
251eb63ec1 CEC-607 Parameterize Grafana (#103)
* CEC-607 Parameterize Grafana

* Update urls
2021-11-09 11:23:10 -08:00
John Wu
16c3e2902b Setup environment vars for staging and production (#99)
* 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

* Clean up (#95)

* Clean up
Mock missing methods

* Smell

* Setup environment vars

* fix

* Load env file
Remove env var default values

* Dockerfile requires environment value
Do not need dev Dockerfile

* Github Actions pipeline + git flow (#100)

* test workflow

* oops

* latest slack action for custom message

* this works

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>
Co-authored-by: Rafi Greenberg <72412693+rafi-fisker@users.noreply.github.com>
2021-11-03 17:50: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
d1815e2ff9 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
2021-08-18 09:14:13 -07:00
jwu-fisker
3e66959521 Merge branch 'development' into main 2021-08-13 09:33:19 -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
Drew Taylor
378e58a310 removed greeting and fixed grafana mock 2021-08-10 15:52:10 -07:00
jwu-fisker
3e256dc407 Merge branch 'development' into main 2021-08-10 09:28:47 -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
John Wu
5d82356991 CEC-377 Fix carstatus page (#72) 2021-08-06 09:46:42 -07:00
Drew Taylor
0f377d5467 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
2021-08-03 16:34:37 -07:00
Drew Taylor
8d5a6c7a7f fixing token error 2021-07-22 12:08:20 -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
856364370f merging dev into branch 2021-07-22 09:53:32 -07:00
Drew Taylor
e09ce9bd41 passing react tests 2021-07-21 17:15:34 -07:00
John Wu
83105fb7ca CEC-247, CEC-261 Manifest and ECU display (#65)
* CEC-261 Add ECU list control

* CEC-261 Update vehicle service mock

* CEC-247 Manifest screens

* Fix test

* Remove dynamic dates from mocks

* Remove timezone from mock dates

* Fix test for date string timezone difference
2021-07-16 10:49:10 -07:00
Drew Taylor
1bb679a3f8 weird zoom bug 2021-07-14 17:09:17 -07:00
Drew Taylor
c0a11de056 preliminary map for vehicles 2021-07-14 10:12:59 -07:00
John Wu
ab37cd598f CEC-287 Add connection status to vehicles page (#63)
* Add connection status to vehicles page

* ConnectedIcon control

* Handle Style
2021-06-25 10:17:03 -07:00
John Wu
8bb245a417 CEC-279 Add logger (#62)
* CEC-279 Add logger

* Error log 500 status requests
2021-06-24 10:17:34 -07:00
John Wu
f4e4261d01 CEC-287, CEC-279 Fix car connections and add logger (#61)
* Display cars if connection statuses call errors

* Fix connection error
Add logger
2021-06-23 16:33:35 -07:00