Commit Graph

1315 Commits

Author SHA1 Message Date
Willem Melching
f957f3391d ui brightness: fix exposure scale factor (#26104) 2022-10-20 11:25:20 -07:00
HaraldSchafer
baca1cae1f UI Onroad widget renames (#26124)
Consistent widget naming
2022-10-17 18:18:01 -07:00
Adeeb Shihadeh
15b8c7d1dc 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>
2022-10-17 17:14:38 -07:00
Cameron Clough
c6b8a253e6 networking: fix metered setting (#26113)
when metered set unknown, when unmetered set no
2022-10-17 15:36:29 -07:00
Lee Jong Mun
f8091837c9 kor translation update (#26111) 2022-10-17 10:15:03 -07:00
AlexandreSato
df6c135cfa Multilang: Update pt-BR translation. (#26089)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translations
2022-10-15 12:15:47 -07:00
Adeeb Shihadeh
06e283a750 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>
2022-10-05 16:10:14 -07:00
Dean Lee
1b8324af87 c++ cabana: Initial version (#25946)
* draft

* continue

* fix QChart unresponsive with large points

* build with --extras

* add filter

* save DBC button

* more buttons

* add flag to use qcamera

* stop replay in dctor

* README

* use getMsg

* video control

* edit signal

* add colors

* correct ts

* add/edit signals

* use bus:address as key
2022-10-03 15:19:42 -07:00
Cameron Clough
bc7be114d8 UI: remove unused tap detection constant (#25956) 2022-10-03 13:58:40 -07:00
Cameron Clough
f611960391 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
2022-10-01 14:47:06 -07:00
Adeeb Shihadeh
391780551a UI: remove imu tap detection (#25924) 2022-09-29 11:02:27 -07:00
Adeeb Shihadeh
2384a9ee67 fix autobrightness for OX03C10 (#25915)
* fix autobrightness for OX03C10

* fix scaling

* use cur ev

* oops

* bump cereal
2022-09-28 15:45:15 -07:00
Lee Jong Mun
a124fa22e4 Multilang: kor translation update (#25893) 2022-09-26 12:01:24 -07:00
Adeeb Shihadeh
f52dea7d84 ui: add support for dual cams (#25876) 2022-09-22 13:42:00 -07:00
Dean Lee
90f0f04d26 sidebar: call update in offroadTransition (#25856) 2022-09-20 20:12:22 -07:00
Cameron Clough
1379989e0d 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
2022-09-20 10:45:13 -07:00
royjr
e4612ac4c4 ui: fix toggle spacing issue (#25831) 2022-09-17 15:55:12 -07:00
Shane Smiskol
35f624c628 translations: remove locations (#25826)
* Remove locations

* no line nos
2022-09-17 15:51:49 -07:00
Dean Lee
aa0d128422 ui: always show SetupWidget (#25742)
* always show SetupWidget

update translations

* delete hide
2022-09-16 22:17:30 -07:00
AlexandreSato
ff63f26409 Multilang: update pt-BR translations (#25812)
* update pt-BR translations

* fix some cutoff texts
2022-09-16 14:32:38 -07:00
ambientocclusion
40f89b183e Multilang: add missing Japanese translations (#25803)
Add missing Japanese translations
2022-09-15 21:59:52 -07:00
eFini
8fcbcd8006 Multilang: add missing Chinese (Traditional) translations (#25807)
added missing cht translations
2022-09-15 20:38:53 -07:00
Dean Lee
f0665911b2 map: fix repeated call to m_map->setZoom (#25784)
Fix repeated map api calls
2022-09-15 20:36:13 -07:00
Jason Wen
b7d9f157fa Updater: Reboot instead of shutdown to install new branch (#25804)
Reboot instead of shutdown to install new branch
2022-09-15 20:16:54 -07:00
Shane Smiskol
64c2d4b30f Wrap new UI strings 2022-09-15 19:37:12 -07:00
eFini
7ddcde687e Multilang: add missing Chinese (Traditional) translations (#25802) 2022-09-15 19:31:57 -07:00
cydia2020
834f212903 Multilang: add missing Chinese e2e toggle translations (#25656)
* japanese e2e toggle

* chinese (simp)

* chinese (trad)

* OOPS

* Mention experimental in details

* Also in traditional

* Exp.

* suggestions

* Apply suggestions from code review

Co-authored-by: ZwX1616 <zwx1616@gmail.com>

* add back removed translations from merge

* Update selfdrive/ui/translations/main_zh-CHS.ts

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
2022-09-15 17:48:17 -07:00
Lee Jong Mun
ae87665e92 Multilang: add missing Korean translations (#25799)
kor translation update
2022-09-15 17:04:29 -07:00
Adeeb Shihadeh
c4e63d14ab 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
2022-09-15 15:12:36 -07:00
Dean Lee
578b8fba1a networking: create scanning label once (#25782)
* create scanning label only once

* rename

* fix

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-14 12:33:56 -07:00
Dean Lee
1b0f202d7b ui: prev_frame_id should be uint32_t (#25781)
uint32_t
2022-09-14 01:58:10 -07:00
Dean Lee
27e1ec8fd3 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>
2022-09-13 03:02:13 -07:00
Dean Lee
ef767f6332 MapPanel: refresh only when visible and destination changes (#25739)
rebuild widgets only when mappanel is visible
2022-09-12 22:54:33 -07:00
Dean Lee
722e4641fc prime.cc: call update() after QR code changed (#25740) 2022-09-12 10:30:58 -07:00
ambientocclusion
f6398ea786 Multilang: add missing Japanese translations (#25727) 2022-09-11 03:35:57 -07:00
Dean Lee
115eed9a54 cleanup map_helpers.cc (#25706) 2022-09-10 14:39:57 -07:00
Dean Lee
4974ca03a8 ui: stop timer if PairingQRWidget is hidden (#25671) 2022-09-08 16:46:52 -07:00
Dean Lee
69e9b285b3 UI/map: remove redundant QString ctor (#25704) 2022-09-08 15:53:23 -07:00
Dean Lee
d9ca45ed1b map_helpers: pass parameters by const reference (#25701)
pass parameters by const reference
2022-09-08 11:56:39 -07:00
Lee Jong Mun
015090de92 Multilang: add missing translations (#25705)
kor translation update

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-08 11:55:21 -07:00
Adeeb Shihadeh
6136868557 ui: fix network page crash 2022-09-08 11:39:54 -07:00
Adeeb Shihadeh
3ef37fe2e8 split out experimental long toggle (#25698)
* split out experimental long toggle

* clean up

* update translations
2022-09-07 20:38:04 -07:00
Adeeb Shihadeh
655a64b603 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
2022-09-07 17:12:49 -07:00
Cameron Clough
a8134f2265 e2e long yellow path (#25679)
* yellow brick road

* live toggling

* path color from acceleration

* more yellow
2022-09-07 08:58:33 -07:00
AlexandreSato
c317bb464d Multilang: formal pt-BR translations (#25669)
* fix and improve pt-BR translation

* Shorter phrase for Finish Setup

* Concluir are better than Encerrar bacause means sucessfuly

* improve pt-BR, DEVbrazilians use english as default

* fix "atualizador" text cutoff

* miss mark as finish on qt linguist

* Multilang: improve pt-BR translation

* Update selfdrive/ui/translations/main_pt-BR.ts

looks good!

Co-authored-by: Shane Smiskol <shane@smiskol.com>

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-07 00:26:37 -07:00
Shane Smiskol
719d5f7856 translations tests: ignore line numbers (#25675)
* no line numbers

* remove locations

* test

* ignore line numbers

* revert

revert

* fix that

* use relative

* non bytes, global

* clean up
2022-09-06 13:23:41 -07:00
Rewat S
bc9b862d27 Thai: update translations (#25682)
* Add Thai translations

* update to add plurals

remove

* Update translations

* Update Thai translation to match English source.

* Add to badges

* use shorter km/h

* Add test for correct format specifier for plural translations

* pass new test

* Update some sentences to make it clear.
Change short form of some words.

* Hide from the UI

* Thai: Update translations
Update Low voltage alert for better understanding.

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-09-06 11:47:11 -07:00
Lee Jong Mun
1632c2aa62 Korean: add missing translations (#25647)
* kor translate update

* more translation fix

* better

* this pr e2e long only

Co-authored-by: sshane <shane@smiskol.com>
2022-09-05 16:11:22 -07:00
Dean Lee
f44ebb9f1e ui/sidebar: remove unused variable params (#25667)
* remove params

* update translations

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-09-05 13:20:05 -07:00
HaraldSchafer
01a73b14d8 Toggles must be alphabetical (#25654)
toggles must be alphabetical
2022-09-04 12:04:28 -07:00