Commit Graph

1501 Commits

Author SHA1 Message Date
Dean Lee 5df45dcef4 ui: ignore tap to wake device (#28656)
revert to first version
2023-06-28 18:01:31 -07:00
AlexandreSato cca5a1310d Multilang: Instructions to preview alerts (#28718)
* Multilang: Instructions to preview alerts

* move instructions to separete section

* Update README.md

* <br>

* move up

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* a step

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-06-28 14:59:42 -07:00
Shane Smiskol dcb769982f ui: hide sidebar when map shows (#28490)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-28 16:26:09 +01:00
Harald Schäfer 85c4b1a400 Nav: show gps as long as it's 100m accuracy (#28713)
* Nav: show gps as long as it's 100m accuracy

* Get norm

* get std
2023-06-27 19:09:45 -07:00
Iamz 14b9aa7490 Multilang: Update th translations (#28700)
Thai translation update
2023-06-26 12:44:18 -07:00
Harald Schäfer 124522e363 Alerts: make standard alert more opaque (#28706)
More opaque standard alert
2023-06-26 09:33:24 -07:00
Dean Lee 070bdcdf89 UI/AnnotatedCameraWidget: cleanup drawHud (#28167)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-26 14:17:19 +01:00
eFini e8ed0c2f53 Multilang: CHT translations for new nav UI (#28690)
CHT translations for new nav UI
2023-06-25 12:47:45 -07:00
Harald Schäfer dce060a798 Alerts: revert gradient removal (#28686)
revert gradient removal
2023-06-25 08:55:37 -07:00
Dean Lee 76ce71c6d6 ui: scale training image to fit window (#28454) 2023-06-24 21:10:29 -07:00
Adeeb Shihadeh 4464383833 thermald: show temp value in offroad alert (#28664)
* thermald: show temp value in offroad alert

* update

* better for multilang

* update translations

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-06-23 17:12:01 -07:00
AlexandreSato fb3eb6f9ea Multilang: update pt-BR translations (#28659) 2023-06-23 21:25:26 +01:00
Adeeb Shihadeh 07a68ca032 UI: border is always engagement state (#27416)
* border is for engagement state

* round shading too

* alerts =/= status

* no debug print

* Full still full

* more cleanup

* more radius

* Update mui too

* normal black

* cleanup

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
2023-06-22 21:37:08 -07:00
Lee Jong Mun c7b62009ef Multilang: kor translation update (#28646)
kor translation update
2023-06-22 19:02:22 -07:00
Dean Lee e8db988f2a ui/map_settings: remove repaint (#28642) 2023-06-23 00:31:05 +01:00
Cameron Clough a2b7d2c867 update mapbox style (#28638)
updated map components and dataset
2023-06-22 22:10:42 +01:00
eFini 3b07bd5fcd Multilang: Chinese (Traditional) offroad alerts translation (#28636)
CHT translation for offroad alerts + minor changes to punctuation marks
2023-06-22 13:50:54 -07:00
Cameron Clough bc5a899024 UI: improved nav destination entry (#28476) 2023-06-22 19:57:29 +01:00
Dean Lee 2b800cf2e7 ui: multilang offroad alerts (#28512)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-06-22 15:04:28 +01:00
Cameron Clough bf8e815aba UI: fix DM icon margins (#28635) 2023-06-22 11:58:38 +01:00
Cameron Clough 8495510c29 networking: add forget btn pressed state (#28618) 2023-06-21 14:42:18 +01:00
AlexandreSato 3d909d3097 Multilang: update pt-BR 'alfa' translation (#28591) 2023-06-18 20:27:39 +01:00
Harald Schäfer da3003ee41 Alpha long control no longer called experimental (#28437)
* Fix words

* vanish

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-06-14 21:51:55 -07:00
Cameron Clough 22ebd4fa8f UI: consider border when setting map width (#28488) 2023-06-10 22:09:48 -07:00
Jason Wen f0eef38dc0 offroad ui: remove irrelevant comment (#28485) 2023-06-10 13:01:16 -07:00
Cameron Clough f7f5537af7 MapPanel cleanup (#28474) 2023-06-09 17:08:57 -07:00
Lee Jong Mun b2288b3666 kor translation update (#28469) 2023-06-09 10:54:39 -07:00
Dean Lee 9295aca8ea ui: disable longitudinal personality settings when using stock long (#28443)
* disable longitdinal personality settings

* disable title label

* Revert "disable title label"

This reverts commit ef315ac2770191f1309f774185266e0cd9fe54b0.

* gray checked button on disable
2023-06-08 16:03:18 -07:00
AlexandreSato a250e1cb2f Multilang: Fix text overlap in pt-BR translation (#28450)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translations

* Include the new relaxed explanation

* fix text overlaps
2023-06-08 12:54:23 -07:00
AlexandreSato 80430435bb Multilang: update pt-BR translations (#28431)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translations

* Include the new relaxed explanation
2023-06-07 12:09:25 -07:00
Shane Smiskol a92cd659ce ButtonParamControl: minimum button width (#28442)
* min width

* param
2023-06-07 01:11:41 -07:00
eFini 42eb7c527e Multilang: add missing Chinese (Traditional) translations (#28427)
update chinese tranditional translations
2023-06-06 23:58:48 -07:00
Harald Schäfer d6cfbd0097 Driving personality setting: add description (#28422)
* Driving personality setting: add description

* Missing word
2023-06-06 11:07:31 -07:00
Dean Lee 7f41047178 ui: refactor ButtonParamControl (#28425)
* refactor ButtonParamControl

* add pressed style

* connect to buttonToggled

* typo
2023-06-06 01:18:17 -07:00
Lee Jong Mun f97b2bb9d7 kor translation update (#28420) 2023-06-05 23:11:21 -07:00
Harald Schäfer 205c900742 Driving Personality setting (also changes follow distance) (#24742)
* Skeleton

* Adjustable follow parameter

* fix rebase

* long planner

* typo

* Add ui toggle

* Fix icon

* Improve text

* Better toggle position

* Im a UX engineer now

* add param reader

* CHange jerk to have same crash test performance

* Try reading param

* Unused comment

* translate ui text

* std stoi

* Parametrized buttons

* Empty strings are ints

* Move to generic

* Update translations

* Fix translation diffs

* Release notes

* update refs

* tweaks

* Misc fixes

* No param is standard
2023-06-05 22:17:41 -07:00
Shane Smiskol aa4bbcefd3 ui: wrap missing updater text (#28417)
* wrap more

* wrap more

* and that

* update
2023-06-05 17:27:34 -07:00
Lee Jong Mun 90d31b9db4 kor translation update (#28401) 2023-06-04 16:52:25 -07:00
AlexandreSato 8bfc78c265 update pt-BR translations (#28393) 2023-06-03 17:15:39 -07:00
Cameron Clough 4f815db141 UI: connect to wifi prompt (#28273)
* OffroadHome: move experimental mode button to right column

* OffroadHome: replace DriveStats with PrimeAd when no prime

* SetupWidget: remove PrimeAd

* SetupWidget: tweaks to fit smaller space

* UI: add WiFiPromptWidget

* WiFiPrompt: update using network type

* add WiFiPromptWidget to offroad home

* reduce spacing to fit vertical space

* WiFiPromptWidget: open Wi-Fi settings

* no longer necessary

* cleanup

* shrink PrimeUser widget and increase Setup Wi-Fi font size

* correctly resize widget when stack index changes

* layout tweaks

* debug

* spacing

* slightly improved style

* helps -> help

* .
2023-06-02 23:24:38 -07:00
Harald Schäfer e0c95f7ad9 Toggles: Reorganize in descending importance for driving (#28364)
Reorganize toggles in descending importance for driving
2023-06-01 21:39:30 -07:00
Cameron Clough 15ac8c041b UI snapshot tool (#28356)
* UI: snapshot testing tool

* gitignore

* cleanup

* remove prime type arg

* rename

* add script

* commit snapshots

* use base setup

* updates

* always run base

* echo

* use imagemagick

* test_snapshots

* fixes

* update

* set language

* revert

* default arg

* just remove translations

* formatting

* output arg

* improved help

* fix assets

* change dir back before saving snapshot

* unused imports

* simpler

* add default to description

* use uiUpdate signal
2023-05-31 23:04:30 -07:00
Cameron Clough e875bcfaee UI: remove comma points (#28303)
* UI: remove comma points

* remove param
2023-05-30 18:18:47 -07:00
Shane Smiskol 21f88f997d Revert "ui: smooth wide cam transition" (#28298)
Revert "ui: smooth wide cam transition (#28277)"

This reverts commit 26064196d0.
2023-05-25 19:23:50 -07:00
Cameron Clough 13cf695738 UI: PrimeUserWidget cleanup (#28300)
* cleanup

* setMargin is obsolete

* more
2023-05-25 16:40:40 -07:00
Cameron Clough 387e865793 UI: update "Finish Setup" widget style (#28287)
* UI: update SetupWidget registration design

* SetupWidget: add icon

* Revert "SetupWidget: add icon"

This reverts commit 325d2d390496f287953beb1634b229ff4ff31717.
2023-05-25 13:01:51 -07:00
Cameron Clough 488975f06e UI: add missing QPushButton pressed styles (#28289)
* UI: add missing QPushButton pressed styles

* keyboard is special
2023-05-24 22:44:10 -07:00
Dean Lee 634280ca51 ui: update DM icon at every frame (#28226) 2023-05-24 20:46:27 -07:00
Dean Lee 2c44c8980c ui/MainWindow: use switch in eventFilter (#28276) 2023-05-24 20:45:58 -07:00
Shane Smiskol 26064196d0 ui: smooth wide cam transition (#28277)
* horribly messy

* bit simpler

* is this right?

* simpler and should work?

* used to be int/frames, but added easing so treat as float

* end slow (start fast)

* little faster

* clean up

* not needed

* try ease in/ease out and fix

* remove debugging print

* fix

* revert to previous curve

* based on speed

* not right

* fix

* fix

* this kinda works

* Revert zoom by speed

Revert "this kinda works"

This reverts commit 48aa30b945148b8eb79fbe33eb58e3fc3a6a7009.

Revert "fix"

This reverts commit 4ff2d33486231727d7cd68d366342c2273e3a315.

Revert "fix"

This reverts commit 15b22f8e8284eb017000856abb05b5e8973a6c0e.

Revert "not right"

This reverts commit 378b9965e14250c57ed39e1976de60d89054c2c8.

Revert "based on speed"

This reverts commit 1f7bfa5d73a2dee3740096da64eda24b33288b51.

Revert "Revert "not right""

This reverts commit 1beeb402534a755208d19771eb4a2afdc69b8739.

* better curve

* revert

* use constants and fixes

* up here too

* feels more intuitive to make zoom_transition=1 be zoomed in

* rm line

* fix

* cmt

* better handling

* better name

* zoom if ANY other stream is requested

* Update selfdrive/ui/qt/widgets/cameraview.cc
2023-05-24 17:28:33 -07:00