Commit Graph

70 Commits

Author SHA1 Message Date
Rafi Greenberg
01d13a5cac CEC-4772 (#399) (#402)
* CEC-4674: add bulk cancel updates (#386)

* add bulk cancel updates

* add permission check

* remove unused import

* make trigger multi-line

* 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

* CEC-4745: add vins nullcheck for bulk actions bulk actions (#395)

* nullcheck bulk actions

* remove unused var

* update snapshots

* CEC-4772 - carsconnected takes VINs in req body

---------

Co-authored-by: Paul Adamsen <117673433+pauladamseniii@users.noreply.github.com>
Co-authored-by: Tristan Timblin <ttimblin@fiskerinc.com>
2023-07-26 12:01:58 -07:00
Tristan Timblin
754e445c09 CEC-4640: add bulk add to fleet (#384)
* refactor bulkactions component

* refactor bulk actions

* update dom tests

* add addToFleet hook

* make signal optional

* implement code splitting

* add deps

* remove test label
2023-07-10 17:30:11 -04:00
Tristan Timblin
11406aa8da CEC-4523: Add bulk archive support (#379)
* CEC-4523: add archive endpoint and action
2023-07-03 12:07:19 -04:00
Paul Adamsen
26eb084da5 CEC-4543 - Add location to digital twin map (#376) 2023-06-26 19:33:44 -04:00
Paul Adamsen
787bb12260 CEC-4595 - show online status of cars in fleet (#374)
* CEC-4595 - show online status of cars in fleet

* fix mocking
2023-06-26 11:55:38 -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
Paul Adamsen
a701d4ceec CEC-4341 - Fix Can signal export select all (#340)
* CEC-4341 - Fix Can signal export select all

* fix code smell
2023-05-23 09:30:08 -04:00
John Wu
2345daf82e CEC-4350 fix column name (#337) 2023-05-19 16:35:53 -07:00
John Wu
5d9ec1986f CEC-4350 rename config to coding_string_data (#335) 2023-05-19 16:12:52 -07:00
Paul Adamsen
55ae0f20b9 CEC-3933 - use VehiclePaths for location drawing (#306)
* CEC-3933 - Parse VehiclePaths location data

* changes

* fixes

* stuff

* sort of works

* fix

* progress

* refactor

* fix vehicle paths query

* digital twin shows map

* new dashboard

* wider digital twin map

* snapshot

* latest; using polylines

* lag lng changes

* stuff

* path showing up

* stuff

* things

* revert home page

* whitespace

* validation

* more stuff

* fix button issue

* tests pass without mocking data

* fix code smells

* remove map from digital twin, add to tab

* fix bug

* marker click event working

* individual colors

* possible fix

* fix warning

* merge and remove unused code

* small fixes

* re add dashboard

* snaps
2023-04-28 16:56:41 -04:00
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