Commit Graph

43 Commits

Author SHA1 Message Date
Alexander Andrews
bf0fb5363b CEC-4100: Added push config changes to vin (#338) 2023-05-23 17:16:46 -04:00
das31
8ece05a4b9 CEC-3943-display-ecu-vin-timeline (#303)
* first push

* fix test

* Fix test

* resolve comments

* fix undefined

* align items and change search field

* fix dates

* resolve comments

* fix lint

* fix test

---------

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2023-03-27 12:05:40 -04: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
John Wu
7b6a2bfa11 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
2023-03-02 12:26:41 -08:00
das31
e031d9f2dd CEC-3556-fix-eslist (#272)
* ignore test files

* update snapshots

* fix build errors

* fix build errors

* fix snap shot

* fix more snaps

* fix snap shot
2023-01-27 16:20:51 -05:00
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
ae2d5e69f3 CEC-3119 Fix tabs (#238) 2022-11-16 15:32:48 -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
c5a86a5e61 CEC-2269: Embdeded Superset (#228)
Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
2022-10-28 12:51:12 -04:00
John Wu
9786912b02 DEVOPS-0 increase coverage requirements (#213) 2022-10-04 16:59:37 -07:00
Alexander Andrews
618cc68196 CEC-425 Added Delete Verification Prompt (#198)
Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
2022-09-20 09:40:28 -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
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
dependabot[bot]
058edb63ba Bump terser from 5.12.0 to 5.14.2 (#170)
Bumps [terser](https://github.com/terser/terser) from 5.12.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.12.0...v5.14.2)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25 18:06:17 -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
John Wu
d9cbf9ef23 CEC-1772 Use Node 16 for Github actions (#160)
* CEC-1772 Use Node 16 for Github actions

* Update package-lock.json
2022-05-27 11:15:37 -07:00
dependabot[bot]
8fde694801 Bump async from 2.6.3 to 2.6.4 (#155)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 14:29:58 -07:00
dependabot[bot]
1337f01f58 Bump ejs from 3.1.6 to 3.1.8 (#154)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.8)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 11:49:27 -07: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
John Wu
a9c154c472 CEC-1160 Last dependabot fix (#122) 2022-03-10 12:48:36 -08: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
17f81822c0 Add package updates, car updates, and vehicle screens (#25) 2021-03-31 17:42:31 -07:00
John Wu
e1f0006d5e Web Worker Sign Out and Use Go API (#13)
* Calculate checksum and send with file upload

* Limit file upload and display rejected file error

* Add sign in timeout

* Check auth token structure before setting
Clean up

* Use web worker timer to sign out
Remove checksum
Point to Go ota update

* Remove checksum dependency
2021-02-08 15:23:36 -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
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