Commit Graph

183 Commits

Author SHA1 Message Date
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
Rafi Greenberg
6a20f8f003 environment variable ENV->ENVIRONMENT 2021-11-09 13:37:52 -08:00
Rafi Greenberg
75deb9b0cd DEVOPS-86 match cloud deploy (#104) 2021-11-09 13:27:49 -08:00
John Wu
251eb63ec1 CEC-607 Parameterize Grafana (#103)
* CEC-607 Parameterize Grafana

* Update urls
2021-11-09 11:23:10 -08:00
Rafi Greenberg
a5902f06b3 Docker-caching-and-better-slack-notifications (#102)
* test docker caching and slack

* try this

* this _might_ do it

* cleanup

* just realized this is running on self-hosted, so github cache doesn't make sense

* fix logging noise

* cache npm modules during test

* fiskerBot and icon

* quotes (just in case)
2021-11-05 09:09:04 -07: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
ec3a31a15a Development (#101)
* 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

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-11-03 17:42:29 -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
ba7611d6aa Development (#87)
* 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

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-11 17:19:25 -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
7cb9d39bbd Merge pull request #75 from Fisker-Inc/cleanup
removed greeting and fixed grafana mock
2021-08-10 16:18:47 -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
070e4f923c Merge pull request #68 from Fisker-Inc/car-location-visualizer
fixing token error
2021-07-22 13:07:37 -07:00
Drew Taylor
8d5a6c7a7f fixing token error 2021-07-22 12:08:20 -07:00
Drew Taylor
4a360237b1 Merge pull request #66 from Fisker-Inc/car-location-visualizer
CEC-337: car location visualizer
2021-07-22 11:53:11 -07:00
Drew Taylor
c2d8c1dc90 adding CODEOWNERS file 2021-07-22 11:51:27 -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
293e1308fd update node environment to 14 2021-07-22 10:50:09 -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
jwu-fisker
df50ef79b9 Merge branch 'development' into main 2021-07-16 15:59:35 -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
91a4f397d5 Merge Development (#64)
* Add connection status to vehicles page

* ConnectedIcon control

* Handle Style
2021-06-25 10:25:51 -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
jwu-fisker
a4d4e8f68c Merge branch 'development' into main 2021-06-24 10:20:50 -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