Commit Graph

38 Commits

Author SHA1 Message Date
Rafi Greenberg
17896b4c5c bump superset embedded (#262) 2023-01-13 16:16:53 -08:00
Alexander Andrews
8e33ca6b7d CEC-3149: Archive Manifest option (#241)
Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
2022-11-29 13:44:44 -05: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
c5a86a5e61 CEC-2269: Embdeded Superset (#228)
Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
2022-10-28 12:51:12 -04:00
Rafi Greenberg
525c1ca6d5 CEC-2693 devops deploy to new production (#221)
* dev

* bump

* bump

* bump

* tweak

* bump

* staging

* prod

* deploy both?

* cleanup

* final

* oops
2022-10-21 11:15:29 -07:00
John Wu
9786912b02 DEVOPS-0 increase coverage requirements (#213) 2022-10-04 16:59:37 -07:00
arpanetus
84fbf57daa CEC-2545 Fix/can signals context (#210) 2022-10-03 20:50:15 +06:00
John Wu
da466a36f5 CEC-2601 Revert progress changes (#208)
* CEC-2601 Revert progress changes

* update
2022-09-28 22:13:54 -07:00
arpanetus
aa5a1e20e0 CEC-2291 Remote Commands (#194) 2022-09-07 23:21:57 +06: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
738a19c229 CEC-2056 safari map (#186)
* CEC-2056 Fix Safari map popup

* Snapshot serializer for Private styles

* Combine serializers
2022-08-09 13:26:37 -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
Rafi Greenberg
b4d06cf52f CEC-1316 azure migration (#140)
* test portal azure

* :doh:

* runner

* WIP

* values

* letsencrypt + docker cache

* stg/prd

* portal things

* cleanup

* split build/deploy + temp stage deploy

* :doh:

* try this

* and prod

* this works for now, can improve later

* no need to specify azure anymore

Co-authored-by: Drew Taylor <69828061+drew-fisker@users.noreply.github.com>
2022-04-18 17:54:14 -04: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
venkats09
2e113830a5 CEC-1167 implementing ths coverage thresold (#128) 2022-03-15 13:03:07 -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
John Wu
a720341f30 CEC-1160 Fix package warnings (#121) 2022-03-10 12:12:23 -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
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
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
74eb2707a3 Merge CEC-394 Car update log (#82) 2021-08-26 15:03:45 -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
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
c0a11de056 preliminary map for vehicles 2021-07-14 10:12:59 -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
John Wu
0d71a3f235 CEC-231 Fix control css (#39) 2021-05-10 09:31:23 -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
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
jwu-fisker
0ae42bf51d Wire up file upload form 2021-01-07 14:10:58 -08:00
jwu-fisker
d812daa1ea Add UserContext unit test for signup 2021-01-06 18:22:33 -08:00
jwu-fisker
ec653ca530 Add Nodejs version 2021-01-05 12:05:32 -08:00
jwu-fisker
c3229c4d55 Add sign in, sign up, and upload forms 2021-01-05 11:28:10 -08:00
jwu-fisker
049b94015f Create React app 2021-01-05 09:43:05 -08:00