Commit Graph

60 Commits

Author SHA1 Message Date
John Wu
70255d40e4 CEC-3898 Update ecu table (#297)
* CEC-3898 Update ecu table

* smells

* smells

* smells

* smells

* Fix test

* Clean up Car status tests
2023-03-20 16:04:27 -07:00
das31
324e3d2b91 CEC-3514 create can self serve page (#288)
* first push

* fix snapshot

* remove unused vars

* update snap

* remove some console logs

* Remove snapshot

* Update

* CEC-3770 Update cert expire text (#282)

* 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

* CEC-3577 Style tweak (#284)

* CEC-3577: trex logs (#285)

* CEC-3577: trex logs

add filtering
add progress bar for log fetching
always fetch all the logs
request canceling

* don't hide progress

* CEC-3751, CEC-3478 misc window status and invalid location value (#287)

* CEC-3751 misc window status
CEC-3478 invalid location value

* Fix snapshot
Update browser list

* merge develop update snap

* resolve comments

* add date and time picker seperately, use checkbox for dropdown

* added verification for date and fixed time picker

* fix snap

* resolve comments

* removed small bug

* tweak layout

* added snap shot test for can signals

* small change

* Fix test

* fix sms snap

* change function name

* mock can signals api

* resolved comments

* fix ci

* Clean up

---------

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
Co-authored-by: John Wu <76966357+jwu-fisker@users.noreply.github.com>
Co-authored-by: Eduard Voronkin <116690094+eduardvoronkin@users.noreply.github.com>
2023-03-10 00:13:27 -05:00
Eduard Voronkin
749f1672da 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
2023-02-17 14:53:36 -08:00
John Wu
0da2289f37 CEC-3672 Use SUMS version instead of Version (#279) 2023-02-10 16:31:19 -08:00
John Wu
9cf84fc426 CEC-3672 Update manifest version on deploy (#277)
* CEC-3672 Add versions to CarUpdatesContext
Stub out getSoftwareVersions and updateManifestVersion

* CEC-3672 update version on deploy

* Validate version before updating
2023-02-09 11:51:23 -08:00
John Wu
c5a5839d41 CEC-3519 Add car version history (#260)
* CEC-3519 Add car version history
CEC-3455 Delete button is icon and remove column
CEC-3496 Fix Issue delete

* smell

* Remove tab from issues details page

* Fix date format
2023-01-13 15:29:31 -08:00
das31
28135b4829 CEC-2752-Add-Mobile-Issue-Tracker (#250)
* first commit

* removed comments

* remove more comments

* fix build issues

* fix unused vars

* update snapshot

* fix test

* Fix connect ECONNREFUSED 127.0.0.1:80

* Test Magna side menu

* attempt to pass test

* fix test

* remove comments

* fix some code smells

* fix test

* resolve comments

* fix bug

* resolved comments

* resolve comments

* resolve comments

* update snapshot

* resolved comments

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2023-01-09 13:17:41 -05:00
arpanetus
7d27a0193f CEC-2389 Add unit tests for SMS Context and SMS form (#247) 2022-12-14 22:34:11 +06:00
Alexander Andrews
2d298368c5 CEC-2970: Multiple Superset Dashboards (#229)
Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
2022-11-02 14:37:08 -04:00
arpanetus
9a9766df12 CEC-2579 Add ability to edit manifest (#226) 2022-10-26 03:54:20 +06:00
John Wu
aaf47f4cc7 CEC-2920 Aftersales certificates (#225)
* CEC-2920 aftersales certificates

* smells

* smells
2022-10-25 11:00:50 -07:00
Alexander Andrews
58890ea40e CEC-2654: Revert Map polls for current visible area (#222) (#223)
Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
2022-10-24 17:31:26 -04:00
Alexander Andrews
b45c70bd52 CEC-2654: Map polls for curren visible area (#222)
Update index.jsx
Added some tests, still don't meet  threshold

Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
2022-10-24 13:08:18 -07:00
Alexander Andrews
9b80853784 CEC-2608: Changed warn to warning (#209)
Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
2022-10-03 13:44:59 -04:00
arpanetus
84fbf57daa CEC-2545 Fix/can signals context (#210) 2022-10-03 20:50:15 +06:00
arpanetus
f3d0b523d8 CEC-2384 Vehicle details show associated fleets (#203) 2022-09-29 23:34:05 +06:00
John Wu
b622e42286 CEC-2601 (#204) 2022-09-27 10:29:09 -07:00
arpanetus
aa5a1e20e0 CEC-2291 Remote Commands (#194) 2022-09-07 23:21:57 +06:00
arpanetus
8d0dbf8030 CEC-2144, CEC-2338 Add deploy by fleets and fix fleets table (#192)
* Add fix for fleets search

* Decompose fleets table

* Add deploy by fleets

* Add snapshots
2022-08-30 03:31:26 +06:00
John Wu
05d841159c CEC-2075 Remove supplier active directory id (#167)
* CEC-2075 Remove supplier oid

* Clean up
2022-07-18 10:39:07 -07:00
John Wu
fe40c26c56 CEC-1965 Supplier update and approval (#162)
* CEC-1965 Supplier update and approval
Fix calling connectedcars for no VINs
Search sets table page to 0

* PR comments
2022-07-01 12:39:21 -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
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
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
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
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
Drew Taylor
378e58a310 removed greeting and fixed grafana mock 2021-08-10 15:52:10 -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
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
John Wu
a3b6b01bf3 CEC-287 Car connection status (#59)
* Car connection status

* Formatting
2021-06-23 14:48:19 -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
64995ef7a6 CEC-222, CEC-214 Send car commands and log filtering (#41)
* Send car commands

* Log filter control

* Fix message format

* Move VehicleContext
2021-05-18 12:51:24 -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
4280191e49 CEC-179 Car download progress (#32)
* Display download progress

* Change default

* Fix

* Fix

* Update readme

* Update readme and defaults
Fix Dockerfile
2021-04-30 12:58:31 -07:00
John Wu
1f9db5454f Add updates by car screen and modal popup (#29) 2021-04-06 19:43:49 -07:00
John Wu
f796441f37 Add Datadog RUM (#28) 2021-04-05 17:15:07 -07:00
John Wu
17f81822c0 Add package updates, car updates, and vehicle screens (#25) 2021-03-31 17:42:31 -07:00
John Wu
bf401e68eb Handle api error json (#18)
* Handle api error json

* Fix get vehicles error handling
Update .env.template
2021-03-17 15:11:41 -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