Willem Melching
6dd30b3bca
add missing <QPainterPath> include ( #26520 )
...
old-commit-hash: 8f9f015567a9f2dad66d31c25c514c436d1ba862
2022-11-16 09:25:36 -08:00
Shane Smiskol
87a558190e
Multilang: add missing translations ( #26519 )
...
* add back missing japanese translations that haven't been changed
* other languages
* fix
old-commit-hash: d8bc69c788c581485ac9e65e8f6d06e4c368935c
2022-11-15 23:52:47 -08:00
Shane Smiskol
e78d32a92c
Multilang: refactor experimental description ( #26518 )
...
* refactor e2e description
* forgot to update
old-commit-hash: 1899d439f4aaf8f218ad7d40d8d70bec0d6f151a
2022-11-15 23:11:53 -08:00
Shane Smiskol
dcd22dda7a
ui: offroad experimental mode button ( #26498 )
...
* draft
* draft
* before qpushbutton
* icon, clean up button, clicked goes to toggles
* fix icon
* add imgs
* img
* make square
* works with layouts!
* fix gradient
* this looks good
* clean up
* clean up
* remove padding around couch
* use scene's experimental_model, new onroad design
* rename widget
* def want 3
* update translations
* add img
* add 25px of padding!
* make 300px (no change)
* clean up old images
* 5 px smaller
* add white img
* fix from merge
* no style sheets
* see how this looks on device
* aliased vertical line (clean up)
* clean up
* imgs
* couch
* delete
* bye bye
* expand toggle support
* clean up
* fix dynamic icon
* make exp icon dynamic
* order
* move to offroad
old-commit-hash: 58b84fb401a804967aa0dd5ee66fafa90194fd30
2022-11-15 22:18:26 -08:00
Shane Smiskol
097f501e0d
ui: handle two dynamic toggle icon cases ( #26517 )
...
handles two cases
old-commit-hash: 797c626984080e1ff17206b99e67a11bba87992f
2022-11-15 21:07:11 -08:00
Shane Smiskol
cd33325949
ui: toggle control supports active icons ( #26514 )
...
* support active icons
* function
* fix crash if not setting icon but active icon
* revert
* clean up
old-commit-hash: 62024176c6e0386401374873e73512ab76f4204a
2022-11-15 20:52:31 -08:00
Shane Smiskol
f53cdd6857
ui: function for setting toggle confirmation settings ( #26516 )
...
function for setting confirmation settings
old-commit-hash: b3f75b0c5b151cbcb048a31bb33c8f49b2a818b1
2022-11-15 20:46:42 -08:00
Adeeb Shihadeh
8c19a25c99
update experimental mode disabled description
...
old-commit-hash: c6e3d566e9b23b2046f933f3dd9e189708230a56
2022-11-15 19:24:12 -08:00
Dean Lee
4756106694
UI: fix CameraView crash on deleting. ( #26390 )
...
* fix crash on delete
* TODO?
* after makeCurrent
old-commit-hash: 97a205c94df412d40db1a94bbc4bb735b5afea27
2022-11-15 19:07:50 -08:00
Adeeb Shihadeh
15b07085ff
taco time
...
old-commit-hash: f3efc8998cee2750e65a99f96a6e9c787c17a19f
2022-11-15 18:49:52 -08:00
Adeeb Shihadeh
aec5f32f3c
publish experimental mode state ( #26512 )
...
* publish experimental mode state
* remove that
old-commit-hash: 9c96b21367af3dda9b193a821fe2e175a63f4176
2022-11-15 17:18:13 -08:00
Shane Smiskol
74aa9e5b80
offroad ui: support storing confirmation of a toggle ( #26510 )
...
* show confirmation toggle on first toggle of experimental mode
* don't store confirmation if users toggle off *after* this PR
* refactor
* cleaner
* not true
* try here
old-commit-hash: 2ad9a4f95a82bf922c86b373026c0e96f9971a80
2022-11-15 16:44:03 -08:00
Shane Smiskol
0953a5d2ab
ui: stretch abstract control title ( #26499 )
...
stretch toggle title so it's easier to expand
old-commit-hash: 7fcafa402239c30d8344c46608ade6a8fd4831f4
2022-11-14 23:28:43 -08:00
Shane Smiskol
8c981ed847
Toggle titles: proper capitalization ( #26438 )
...
* proper caps
* update translations
update translations
update translations
* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: 4efb01ece2a9ef54152682c1dc3756d3e4161241
2022-11-09 20:33:01 -08:00
Shane Smiskol
a7eaaa16bb
ui: static color non-e2e path ( #26406 )
...
* remove orientation color changing
* "just green"
old-commit-hash: 0941e40177eb0eb7a49bb08628e5aad2deb19c7f
2022-11-09 20:31:38 -08:00
Shane Smiskol
848dc2da49
experimental long toggle: adjust description ( #26437 )
...
* Spell out AEB
* vanish
old-commit-hash: af84f1b3506082d644c2f52f88390fabcc9f7835
2022-11-09 19:42:34 -08:00
Shane Smiskol
b2e82d028a
ParamControl dialog: more explicit confirmation text ( #26431 )
...
* Use enable
* vanish
* fill in missing translation
* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: a3cd50c5bbb924eaf40ab18d76f603edfc2f5a2a
2022-11-09 19:38:17 -08:00
Shane Smiskol
7c6601fed1
Multilang: clean up translation string ( #26435 )
...
* update translations
* do pt
* do pt
* do ko
* do ko
* Update selfdrive/ui/translations/main_pt-BR.ts
old-commit-hash: 5a3c5e7a4b78853d6b350f551432a1bb6050eba9
2022-11-09 19:33:42 -08:00
Adeeb Shihadeh
18203a1cee
UI: add set speed clarification for e2e long
...
old-commit-hash: 1fda075c7306976099bcfbb6b0a6303e819036b4
2022-11-09 18:42:51 -08:00
Cameron Clough
07282a9aeb
ui: increase toggle confirmation font size ( #26413 )
...
* ui: make toggle confirmation text larger
* center title
* reduce line breaks
* slightly reduce font size
old-commit-hash: f38fe7cfb1b3011ea48a34b0500f352338e05b25
2022-11-09 14:53:41 -08:00
Adeeb Shihadeh
74979a7c76
experimental mode ( #26416 )
...
* experimental mode
* rename param
* red lights
old-commit-hash: 9a3f46805104c4bcb5cffa304b9b322874ccf412
2022-11-08 14:45:01 -08:00
Adeeb Shihadeh
45dec4e84f
UI: widecam only in e2e mode ( #26412 )
...
old-commit-hash: 5960ba5def7c42b3944f96cf103a0c4a6e633754
2022-11-08 12:49:22 -08:00
Shane Smiskol
1627a41a68
onroad ui: fix opacity affecting other drawn icons ( #26378 )
...
* save painter in drawIcon
* fix
* Update selfdrive/ui/qt/onroad.cc
old-commit-hash: ed3bf4f12332556c6684141f1a8b2aed6b342ecc
2022-11-07 16:39:53 -08:00
Shane Smiskol
5aa8e0789a
ui: revert e2e path changes ( #26382 )
...
* Revert "ui: fade to default path color when inactive (#26375 )"
This reverts commit 73bff7b2a9f0b49969bf2134393383fe5faa065d.
* Revert "ui: minor e2e path tweaks (#26351 )"
This reverts commit d0f80298a6491d22ac67f1eea27b9cc57c8f22bb.
* stronger colors
45
old-commit-hash: e079751f79c5256b1881cb34d1a92d08faa128d7
2022-11-05 15:05:30 -07:00
Shane Smiskol
b79c186192
ui: fade to default path color when inactive ( #26375 )
...
* fade to default path color when inactive
* long!
old-commit-hash: 0b385a5650c4e0b06eb83e44bdba3fcff117beeb
2022-11-04 21:04:53 -07:00
Cameron Clough
88b083885e
ui: set dialog confirm button text ( #26365 )
...
* ui: set dialog confirm button text
* short
* blue confirm
old-commit-hash: e78280da12c799ca7b5e391c53421607a5df617c
2022-11-04 17:27:58 -07:00
Cameron Clough
f46b6ed70a
ui: toggle confirmation and dialog redesign ( #26331 )
...
* toggle confirmation
* change text
* not for e2e
* get current description
* remove are you sure
* merge rich text and confirmation dialogs
* add some line breaks
* font colour
* fix padding a little
* revert
* updated toggle design
old-commit-hash: 91a1f1a91e8ac321ad2a69c3a44f41464147fc19
2022-11-04 15:37:41 -07:00
Shane Smiskol
de1abf9e42
ui: minor e2e path tweaks ( #26351 )
...
* new e2e path
* clean up
* fix
* 2.5 seconds feels disjointed
old-commit-hash: d257e28479f49339e7f79491ff9d67e9ba034dfe
2022-11-04 13:52:24 -07:00
Adeeb Shihadeh
273b1c5b5c
UI: draw onroad objects on right frame ( #26306 )
...
* update before draw
* fix a lot of janky
* fix more flicker
* cleanup
* fix flicker when opening settings
* simplify
old-commit-hash: c171fe9f9a93ef0e6018de5703ed55f307a8cb72
2022-10-31 23:01:22 -07:00
Kurt Nistelberger
ae96a916d0
Revert "remove black connecting background"
...
This reverts commit 6590d3128bb8001d4462238958b46968e56216f7.
old-commit-hash: 0c03fb1be4f47facef1bcda9ad3cb97b98636286
2022-10-30 17:43:15 -07:00
Kurt Nistelberger
9f949ce0e7
remove black connecting background
...
old-commit-hash: eecd6982059211491cb019dca5453dcde9cc1038
2022-10-30 17:39:40 -07:00
Dean Lee
cdb02752a8
UI: reduce frame drops. ( #26266 )
...
* reduce frame dropping
* This mode will not draw the same frame twice
* cleanup comment
* use previous texture if update is not triggered by vipc thread and without new frame
old-commit-hash: 602b90f518e9bc51dccdb75413ff86481dff277d
2022-10-28 19:05:11 -07:00
HaraldSchafer
ed91648949
UI: fade into wide camera ( #26203 )
...
* UI: fade into wide camera
* handle routes with no wide calib
* more cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: dbc30c053caacc689e1fafb5e92ff0fcac57db1d
2022-10-27 17:27:31 -07:00
Dean Lee
9833cbec4e
UI: support switching streams in CameraView ( #26248 )
...
old-commit-hash: 6b6162d2c822c717cd62312f51113180c21b5664
2022-10-26 19:47:32 -07:00
Adeeb Shihadeh
2bb68d4c29
UI: show git commit date ( #26240 )
...
* show version description while offroad
* ui fixups
* parse date
* cleanup
old-commit-hash: 4639862baecfc8ed708827580f441a34731ba137
2022-10-25 15:21:43 -07:00
HaraldSchafer
f7b76d947a
UI Onroad widget renames ( #26124 )
...
Consistent widget naming
old-commit-hash: baca1cae1f71c70162374c887cf36d5cf828f2f3
2022-10-17 18:18:01 -07:00
Adeeb Shihadeh
60cb813af5
ui: publish draw times + add test ( #26119 )
...
* ui: publish draw times + add test
* add some checks
* adjust
* fix linter
* update max
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 15b8c7d1dc3a75d78c0bbaa4f6b866374f6e8672
2022-10-17 17:14:38 -07:00
Cameron Clough
1320fa3b9f
networking: fix metered setting ( #26113 )
...
when metered set unknown, when unmetered set no
old-commit-hash: c6b8a253e68fc62cd9eb3261e7f08d3cb3d3414d
2022-10-17 15:36:29 -07:00
Adeeb Shihadeh
6831f3499f
UI: only show cell settings on non-prime connection ( #25067 )
...
* fix indentation
* add primeTypeChanged signal to uiState
* hide advanced networking toggles on prime type change
* switch between map settings on prime type change
* cleanup
* remove duplicate code, wait for signal
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: 06e283a7504b23de79f12ec2c0a7ab280eda57e4
2022-10-05 16:10:14 -07:00
Cameron Clough
597b949813
networking: add unmetered cellular toggle ( #25902 )
...
* add metered toggle to UI
* add GsmMetered param
* add NMMetered constants
* change LTE connection settings: connection.metered
* change to GsmUnmetered override
* update translations
* debug ui
* remove comment
* Revert "debug ui"
This reverts commit 2ad9e65ea229b814782be9f30cc7664125d7e908.
* 'Force Unmetered Cellular' toggle
* update translations
* remove description
* update translations
* change unmetered to metered
old-commit-hash: f6119603912efa4fe28f5da21f3d57f6903a0c77
2022-10-01 14:47:06 -07:00
Adeeb Shihadeh
fe713be00a
ui: add support for dual cams ( #25876 )
...
old-commit-hash: f52dea7d8458948331f4a6e27d7848fed3219f8e
2022-09-22 13:42:00 -07:00
Dean Lee
42277d6cbe
sidebar: call update in offroadTransition ( #25856 )
...
old-commit-hash: 90f0f04d2699b3ad85fc980c35719cd95433ee82
2022-09-20 20:12:22 -07:00
Cameron Clough
c1541a9634
sidebar: add button pressed states ( #25848 )
...
* add flag img
* add image assets
* try darker button pressed
* remove pressed image, set opacity instead
* settings can be pressed too!
* cleanup
* make settings button white
* bookmark
old-commit-hash: 1379989e0de7f2d5d163879befd32638dc1ebe1b
2022-09-20 10:45:13 -07:00
royjr
4fbe04cf0a
ui: fix toggle spacing issue ( #25831 )
...
old-commit-hash: e4612ac4c48597864dabef6f25b4db0d846426e0
2022-09-17 15:55:12 -07:00
Dean Lee
21daf705f0
ui: always show SetupWidget ( #25742 )
...
* always show SetupWidget
update translations
* delete hide
old-commit-hash: aa0d12842202ddf63d9a5998ccd04f865b6e9d6a
2022-09-16 22:17:30 -07:00
Dean Lee
53c4262098
map: fix repeated call to m_map->setZoom ( #25784 )
...
Fix repeated map api calls
old-commit-hash: f0665911b2aa5807348ee5bf209ee21b8be2ca89
2022-09-15 20:36:13 -07:00
Jason Wen
91283ad0b5
Updater: Reboot instead of shutdown to install new branch ( #25804 )
...
Reboot instead of shutdown to install new branch
old-commit-hash: b7d9f157faa33023ab07db561c155db0abb28c0b
2022-09-15 20:16:54 -07:00
Shane Smiskol
0c3f72f1e2
Wrap new UI strings
...
old-commit-hash: 64c2d4b30f7d4be1e1726a5668c548ecf8d6e32e
2022-09-15 19:37:12 -07:00
Adeeb Shihadeh
46cfb5c45b
good updater experience ( #25724 )
...
* good updater experience
* set params on startup
* no fetch on first loop
* little type hinting
* little more
* update translations
* always set params with valid overlay
* wrap check
* use the param
* more wrapping
* vanish
* cleanup
* remove that
old-commit-hash: c4e63d14ab158118efc6eadd0e20d8d533f9e046
2022-09-15 15:12:36 -07:00
Dean Lee
5a80f319ae
networking: create scanning label once ( #25782 )
...
* create scanning label only once
* rename
* fix
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 578b8fba1a853da2f3b0d44605abfdd019bedd2f
2022-09-14 12:33:56 -07:00