Commit Graph

49 Commits

Author SHA1 Message Date
padamsen_fisker
6bd5bd1c39 CEC-5672 - UI for adding SUMS versions 2024-01-30 16:57:19 -05:00
padamsen_fisker
076b7ab7b5 CEC-5443 - Ability to add Flashpack/ECU mappings 2023-11-30 10:59:31 -05:00
Paul Adamsen
37c76481ab CEC-4693 - Hide Aftersales EU (#390)
* CEC-4543 - Add location to digital twin map

* remember previous deployment tab

* different name

* CEC-4693 - Generate EU certificates for aftersales

* CEC-4693 - Hide Aftersales EU

* fix condtional
2023-07-11 16:02:03 -04:00
Tristan Timblin
022e88d400 CEC-4425: Fix responsive styles (#346)
* CEC-4425: Fix responsive styles
2023-06-05 15:30:54 -04:00
John Wu
8752445aeb CEC-4250, CEC-4251 Fix timed out test (#328) 2023-05-02 17:13:26 -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
8dfc516986 CEC-4232 superset login url (#325)
* CEC-4231: Link to superset portal

* Update snapshots

* CEC-4232 Superset login url

* Update snapshots

* snapshots

---------

Co-authored-by: Alexander Andrews <alexander.e.andrews.ce@gmail.com>
Co-authored-by: Alexander Andrews <45926661+alexander-e-andrews@users.noreply.github.com>
2023-04-28 10:48:04 -07:00
Alexander Andrews
05b8e9fc3d CEC-4231: Link to superset portal (#324)
* CEC-4231: Link to superset portal

* Update snapshots

---------

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2023-04-28 10:14:39 -07:00
John Wu
c2780a066f CEC-3944 Remove paths dashboard (#307) 2023-03-29 15:31:45 -07:00
Paul Adamsen
897d1e9869 CEC-3360 - Magna portal viewable by Fisker-QA (#299)
* CEC-3360 - Magna portal viewable by Fisker-QA

* unit test

* more roles for qa

* use role manufacture

* fix test

* fix env vars

* further changes

* new token

* testing improvements, etc

* Remove RebuildPermissions

* Manga dashboards

* Fix snapshot

---------

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2023-03-23 18:10:02 -04:00
John Wu
6ddcf795a1 CEC-3944 Static dashboard (#301)
* CEC-3944 Static dashboard

* Unit test
2023-03-22 19:39:48 -07:00
das31
8090bfdc6f CEC-3759-Collapsible-Sidemenu (#292)
* first push

* Code smell

---------

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2023-03-17 17:08:43 -04: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
aa585bebc3 CEC-3119 Magna Create Certs (#236)
* CEC-3119 FiskerQA
Give Magna access to create certs

* Comment
2022-11-15 12:19:43 -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
61982c4ba5 CEC-3071: Fixed Duplicate datascope menu (#232)
* CEC-3071: Fixed Duplicate datascope menu

* Mde item type dynamic

Co-authored-by: Alexander Andrews <aandrews@fiskerinc.com>
2022-11-07 09:38:32 -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
arpanetus
260a8033bb CEC-2152 Add persistent page size for tables (#175)
* Add persistent page size

* Add permissions for sms as well

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
2022-08-05 17:03:38 +06: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
67061bfaaf Fix datascope link (#153)
* Fix datascope link

* Update snapshots
2022-05-17 11:11:05 -07:00
Drew Taylor
c644f24194 CEC-1387 updating superset dns names (#142)
* updating superset dns names

* updating snapshots
2022-04-18 17:49:55 -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
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
John Wu
251eb63ec1 CEC-607 Parameterize Grafana (#103)
* CEC-607 Parameterize Grafana

* Update urls
2021-11-09 11:23:10 -08:00
John Wu
680280dbf2 Merge development (#86) 2021-09-13 09:15:20 -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
John Wu
f273e25cf8 CEC-381 Fix install progress (#77)
* Fix install progress

* Remove unused components and inline styles

* Update test

* errors are not the final update state

* Remove max width for main container

* Progress starts at 0
2021-08-12 17:51:40 -07:00
John Wu
2b95bab38b CEC-381 Install messages and update styling (#76)
* Styling

* Handle install messages

* Update progress

* Display download and install status
2021-08-10 18:11:14 -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
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
e8a84563bd 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
2021-06-02 15:02:58 -07:00
John Wu
a8fff2f85c CEC-227, CEC-244 Add dashboard page, update car command control (#46)
* Create multiselect car table control
Remove table overflow containers

* Include trim to add car form

* CEC-252 Replace modal status with link to car details page

* Remove send command from car status page
Fix menu key warning

* Change car command control data
Add Grafana menu items

* Revert
2021-06-02 09:47:48 -07:00
John Wu
c36f6976f7 CEC-252, CEC-253 Remove modal status popup, new car selection control (#45)
* Create multiselect car table control
Remove table overflow containers

* Include trim to add car form

* CEC-252 Replace modal status with link to car details page

* Remove send command from car status page
Fix menu key warning
2021-06-01 13:16:13 -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
17f81822c0 Add package updates, car updates, and vehicle screens (#25) 2021-03-31 17:42:31 -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
03de4f5826 Fix signout refresh (#20)
* Merge to main (#17)

* Fix sign up form bug

* Add run.sh to run setup and run web app

* Output node version

* Update readme with run.sh

* Fix file upload form to handle ota_update service

* Enable file upload form

Enable error boundary to catch React errors (#7)
Fix warning for link noreferrer
Include authorization header with file upload

* Remove default localhost settings (#8)

* Remove default localhost settings
Replace with deployment settings

* Fix for upload data format

* Fix test data for last commit

* Fix json link format and remove localhost default settings (#10)

* Remove default localhost settings
Replace with deployment settings

* Fix for upload data format

* Fix test data for last commit

* Fix link data format

* Fix link json again (#12)

Use id token instead of access token

* nginx things

* 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

* 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

* 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

* Handle api error json (#18)

* Handle api error json

* Fix get vehicles error handling
Update .env.template

Co-authored-by: Rafi Greenberg <rgreenberg@fiskerinc.com>

* Fix sign out and refresh

* Check for bad json

Co-authored-by: Rafi Greenberg <rgreenberg@fiskerinc.com>
2021-03-18 17:22:08 -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