Commit Graph

47 Commits

Author SHA1 Message Date
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
7c358a6052 CEC-4525: add support for /tags endpoint and implement a new action for it (#361)
* add action for adding tags
2023-06-16 14:48:48 -04:00
John Wu
8752445aeb CEC-4250, CEC-4251 Fix timed out test (#328) 2023-05-02 17:13:26 -07:00
John Wu
234252a100 CEC-3360 Magna should not see archive control (#302)
* CEC-3360 Magna should  not see archive control

* fixes
2023-03-24 16:00:05 -07:00
John Wu
6ddcf795a1 CEC-3944 Static dashboard (#301)
* CEC-3944 Static dashboard

* Unit test
2023-03-22 19:39:48 -07: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
John Wu
2ec340efc5 CEC-3301, CEC-3317 Magna security dll and remote commands (#249)
* CEC-3301, CEC-3317 Magna security dll and remote commands

* Fix test
2022-12-12 10:59:30 -08:00
John Wu
b7e13382c4 CEC-3119 Magna access (#235)
* CEC-3119 Magna access

* Clean up

* Update test provider
2022-11-14 13:30:57 -08:00
jwu-fisker
33bfc4fb13 Revert "CEC-2977 Filter portal access based on auth provider (#231)"
This reverts commit f2f046968e.
2022-11-08 16:49:10 -08:00
arpanetus
f2f046968e CEC-2977 Filter portal access based on auth provider (#231)
* fix/fleet-vehicles-search

* fix/fleet-name-update

* Update hasRole logic, create RoleWrap component

* Add MAGNA and MAGNAGROUP env vars

* Add Permissions

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2022-11-08 16:46:33 -08: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
John Wu
153c6bdcf7 CEC-2385 Only show software updates (#193)
* CEC-2385 Only show software updates

* Update browser list

* update threshold

* Clean up
2022-09-02 09:56:52 -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
arpanetus
00af90902e CEC-758 Add SMS send page and result (#173)
* Add SMS send and result pages

* Update snapshot

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2022-08-02 01:11:11 +06: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
John Wu
56bef0c34d CEC-749 Generate cert UI (#141)
* Add Create Certificate page

* Tests

* Update permission check

* Use Azure
2022-04-18 16:50:51 -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
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
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
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
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
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
jwu-fisker
c369480f24 Fix unit test warning
Remove unused route from test
2021-06-09 10:56:39 -07:00
jcw-fisker
067e465b59 added delete button to deploy packages 2021-06-09 10:36:00 -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
5943b42a91 CEC-244 Add search (#43)
* Add search to car send command page
Add snapshot check
2021-05-27 09:03:42 -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
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
7a1125cb1f CEC-180 Cache Control (#30)
* Set cache expire to 1 day
Add snapshot tests for new screens

* Fix table pagniation random ids for snapshot tests

* Auto reload on chunk load error

* OTA Admin Portal => Admin Portal
2021-04-13 17:52:10 -07:00
John Wu
f796441f37 Add Datadog RUM (#28) 2021-04-05 17:15:07 -07:00
John Wu
aea873e920 Add role checks (#21)
* Add role checks

* Remove moved Roles enum
2021-03-22 11:29:35 -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
John Wu
98bcab5b81 Fix link json again (#12)
Use id token instead of access token
2021-02-03 08:35:06 -08:00
jwu-fisker
ab0453c09b Add 404 page 2021-01-07 21:34:39 -08:00
jwu-fisker
30408840e9 Fix waitFor in some tests 2021-01-07 16:21:42 -08:00
jwu-fisker
a2e27ca6a1 Update Upload form tests with mocked provider 2021-01-07 15:19:08 -08:00
jwu-fisker
8fc6b3b6d8 Clean up 2021-01-07 08:11:37 -08:00
jwu-fisker
bd7d15721d Refactor rendering 2021-01-07 08:10:09 -08:00
jwu-fisker
75eeb0e4e9 Update app routes test 2021-01-06 21:54:09 -08:00
jwu-fisker
049b94015f Create React app 2021-01-05 09:43:05 -08:00