Commit Graph

813 Commits

Author SHA1 Message Date
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
Dean Lee e2a8d3e2f8 ui: prev_frame_id should be uint32_t (#25781)
uint32_t
old-commit-hash: 1b0f202d7b2be6a4c1f8a18499207170b0fd78ed
2022-09-14 01:58:10 -07:00
Dean Lee 8256220a51 ui: multilang date (#25741)
* multilang date

* update translations

* add language to uistate

* update translations

* use it here too

Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: 27e1ec8fd31192696cef70e4c6a98cbe7c3ba15a
2022-09-13 03:02:13 -07:00
Dean Lee df1668b35f MapPanel: refresh only when visible and destination changes (#25739)
rebuild widgets only when mappanel is visible
old-commit-hash: ef767f633287445f7861eb5b82c5a17ab6325664
2022-09-12 22:54:33 -07:00
Dean Lee aede43ef22 prime.cc: call update() after QR code changed (#25740)
old-commit-hash: 722e4641fc5aa28ab0ba2de266d230853d5ac321
2022-09-12 10:30:58 -07:00
Dean Lee fd889cf696 cleanup map_helpers.cc (#25706)
old-commit-hash: 115eed9a54ae4f97bbdd0e561b9f796ca4214a9c
2022-09-10 14:39:57 -07:00
Dean Lee 18399bf618 ui: stop timer if PairingQRWidget is hidden (#25671)
old-commit-hash: 4974ca03a8ec1919075cd41da0a80eb1f32f53dd
2022-09-08 16:46:52 -07:00
Dean Lee f2035fe63c UI/map: remove redundant QString ctor (#25704)
old-commit-hash: 69e9b285b3e125e319aedc9b587e4da44adb9913
2022-09-08 15:53:23 -07:00
Dean Lee f4e57aa20d map_helpers: pass parameters by const reference (#25701)
pass parameters by const reference
old-commit-hash: d9ca45ed1b2bc0316aad8ff11470e1a9b96fb09c
2022-09-08 11:56:39 -07:00
Adeeb Shihadeh 03f6c8e269 ui: fix network page crash
old-commit-hash: 613686855779187db9b20ecee34a4f8b1dd5ce67
2022-09-08 11:39:54 -07:00
Adeeb Shihadeh c6e4fb646d split out experimental long toggle (#25698)
* split out experimental long toggle

* clean up

* update translations
old-commit-hash: 3ef37fe2e848689dd3ef1e28b6cf14213c9fe069
2022-09-07 20:38:04 -07:00
Adeeb Shihadeh e4f9781c17 single longitudinal toggle for e2e and disable radar (#25688)
* single longitudinal toggle for e2e and disable radar

* write disable radar param

* rename

* better param name

* clean that up

* update refs

* update translations

* not live for experimental

* write it out

* vanish
old-commit-hash: 655a64b60318ce44ef0271e03de16e8b135b5268
2022-09-07 17:12:49 -07:00
Cameron Clough 1d78524b9d e2e long yellow path (#25679)
* yellow brick road

* live toggling

* path color from acceleration

* more yellow
old-commit-hash: a8134f226589675b2d1619bc6ed8b0d9c6a37ba7
2022-09-07 08:58:33 -07:00
Dean Lee b573e179e0 ui/sidebar: remove unused variable params (#25667)
* remove params

* update translations

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f44ebb9f1ed37b2c3add981bf493e4d7cc7d0ee0
2022-09-05 13:20:05 -07:00
HaraldSchafer 421d8ddede Toggles must be alphabetical (#25654)
toggles must be alphabetical
old-commit-hash: 01a73b14d8b23c17bc6c7b314a266d594e88eb55
2022-09-04 12:04:28 -07:00
HaraldSchafer 0cccf195f3 Add e2e long toggle (#25638)
* Add toggle

* Misc fixes

* Update translations

* pre alpha not great
old-commit-hash: faff2b8950c3ae0b0dff69c871381416ce2be416
2022-09-02 00:24:53 -07:00
Dean Lee 3b9197ffc4 getTextRect: pass text by const reference (#25555)
old-commit-hash: 3bb2b4df498ef925b9b5e39cc72ed53143ac63a6
2022-08-25 13:13:38 -07:00
Cameron Clough 07084dcbaf user event flagging (#25517)
* setup home_btn in sidebar

* create UserFlag msg

* replay: show and skip to user flags

* update translations

* bump to cereal master

* remove comment

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b3cfe962cf346e70cce1389fe3c9bf23344a5512
2022-08-22 21:47:09 -07:00
eFini 9ca692179f Fix is_rhd param name in map.cc (#25464)
old-commit-hash: 1de8ad891bcf8c0b73b24f7e3eab17f3448e7473
2022-08-17 20:21:38 -07:00
Achilles308 940cf9a1b8 UI: fix inconsistent capitalization in toggle title (#25441)
old-commit-hash: 370f58b7d677ee85249122b60362f4c323a30e95
2022-08-15 13:49:43 -07:00
Adeeb Shihadeh 62b8b25cdf nav: same icon size for active & inactive lanes (#25383)
* nav: same icon size for active & inactive lanes

* update translations
old-commit-hash: ac305dacef7b4267131543194e16c569488310fe
2022-08-08 15:07:44 -07:00
Adeeb Shihadeh 76a74b6830 UI: exit gracefully (#25388)
* UI: exit gracefully

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2cff05be43f06a79f66c73cb5fb0fba4dbe6649e
2022-08-07 18:41:54 -07:00
Shane Smiskol 83ff495062 vEgoCluster: fix starting from stop (#25350)
* we can't switch back and forth

* update translations
old-commit-hash: b6910923d18af7332f781a7c83b2601fd7862e3f
2022-08-03 21:03:53 -07:00
Shane Smiskol 9e06421bfe Multilang: handle localized plurals (#25337)
* Add localized plural handling

* Do another location with plurals

* fix test
old-commit-hash: ecba8732088d27fac84c9d1c84c6082e0638009f
2022-08-02 12:44:21 -07:00
ZwX1616 6e5393367d Remove RHD toggle: determine by driver side instead (#24802)
* driverview

* auto choose

* useless

* remove

* modeld not use toggle

* remove from params

* should have commissue anyway

* delete icon file

* deal with init more elegantly and prohibit switching when engaged

* nonblock save when not unstable

* filter very low speeds

* a few more secs dont harm

* draw icon

* match

* radius

* use const

* ref commit

* new transs

* put_bool_nonblocking

* 5k route tune

* ref comm

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 22408781f7d7df5ff0395f80c1b15d6407acd0ff
2022-07-29 13:52:24 -07:00
Willem Melching 5e893f8a58 fix finding the lte connection (#25286)
old-commit-hash: ab236e5ae0330edd984c8f19e694ab50090e9183
2022-07-26 17:47:40 +02:00
Willem Melching 95fb15aa5f prereq for matching speeds shown on cars dash (#25222)
* prereq for matching speeds shown on cars dash

* also handle fallback in the ui for replay

* update translations

* update ref
old-commit-hash: c3e95d5e194be9d445f54661d0ae0f0612db6a62
2022-07-21 14:48:08 +02:00
Adeeb Shihadeh d2d4ad7ad5 UI: add description for branch switcher
old-commit-hash: 50f7545ed7ef008526b6b081bbc2f96e05fc54e1
2022-07-19 10:46:03 -07:00
Willem Melching 2f4d4cd8c5 navd: add back VisionIPC map renderer (#25212)
* builds standalone

* process live msg

* render into nv12a

* VISION_STREAM_RGB_MAP -> VISION_STREAM_MAP

* cleanup sconscript

* main include cleanup
old-commit-hash: 86c1e8164ab6b1c3363f7833b7dc0ea735dd26db
2022-07-19 16:57:13 +02:00
Adeeb Shihadeh 95df2c9b48 updated: add branch switching (#25200)
* switch param

* add to ui

* fix that

* fetch for new branch

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cc3857eb62cd169be05a4cb22c844a8b2ec94139
2022-07-18 21:18:10 -07:00
Greg Hogan 5dd12e194b nav: toggle to show on left side of onroad ui (#25169)
* nav: show on left side of onroad ui

* add toggle

* capitalization

* update translations

* single params object

* skip unfinished translations test

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 93cd0285ac014427cdd137fa2c8852c58bdef4db
2022-07-18 13:57:21 +02:00
Willem Melching ce7948464f nav: draw inactive lanes with 50% opacity (#25157)
* nav: draw inactive lanes with 50% opacity

* update ts
old-commit-hash: 49dd56fc241d5ea3e0ab37e10175ad545ef4d528
2022-07-13 17:58:45 +02:00
Shane Smiskol d3c4739ce1 UI: translations cleanup (#25120)
* Make this one translation

* Remote html from translations

* getBrand as argument

* some stuff

* Forget Wi-Fi network

* Update translations

* Remove obsolete

* compilation fixes

* remove

* Fix missing translation
old-commit-hash: 3b4e939b9f88b70727e687613a912aef36178755
2022-07-12 19:58:39 -07:00
ZwX1616 987c975e02 UI: change wording for dcam preview description (#25142)
old-commit-hash: b632d56244c5fd6821477a642d6f151ea4b13b20
2022-07-12 16:39:13 -07:00
Lee Jong Mun 77a6b2d0cd Improve Korean translations (#25105)
* kor translations fix

update_translations --release

qm

* space

* qm

* map setting tr space remove

* ts update

fix

ko_update

ch_update

* qm release

* Update QM

* Fix this translation

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 903bb405286295b48d5192cb2a7b2c01029193e3
2022-07-11 16:51:03 -07:00
Dean Lee 8ca0e9b941 Display the current language in MultiOptionDialog (#25098)
* check the selected language in lange select dialog

* disable if user selects current option

* update line numbers

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: eb17291ca13035b40d653da107653d4420517aaa
2022-07-09 01:47:10 -07:00