Commit Graph

1366 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
Lee Jong Mun 677bd9433b kor translation update (#26111)
old-commit-hash: f8091837c92ed096ef3b886d1b09fe758d6ae9f2
2022-10-17 10:15:03 -07:00
AlexandreSato a9c4475331 Multilang: Update pt-BR translation. (#26089)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translations
old-commit-hash: df6c135cfaabe830d2447800d49daac445660c64
2022-10-15 12:15:47 -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
Dean Lee 292d55cf8a 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
old-commit-hash: 1b8324af876e66630b5f4e50623e3136a39f6ecb
2022-10-03 15:19:42 -07:00
Cameron Clough 595d8471db UI: remove unused tap detection constant (#25956)
old-commit-hash: bc7be114d838aafc54a5e480dc969c76552e7f26
2022-10-03 13:58:40 -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 bcd69adc33 UI: remove imu tap detection (#25924)
old-commit-hash: 391780551a362faf9c6c290d47313583d14aa594
2022-09-29 11:02:27 -07:00
Adeeb Shihadeh 52529fb8f6 fix autobrightness for OX03C10 (#25915)
* fix autobrightness for OX03C10

* fix scaling

* use cur ev

* oops

* bump cereal
old-commit-hash: 2384a9ee67fc4480199149657a031510f9f48d14
2022-09-28 15:45:15 -07:00
Lee Jong Mun 0361b6364d Multilang: kor translation update (#25893)
old-commit-hash: a124fa22e412cd38f68a8e8db998dd786ed9509c
2022-09-26 12:01:24 -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
Shane Smiskol 9b10593c8f translations: remove locations (#25826)
* Remove locations

* no line nos
old-commit-hash: 35f624c628c0e8f2e936ba945bdc516a8d17517e
2022-09-17 15:51:49 -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
AlexandreSato f670cb28ca Multilang: update pt-BR translations (#25812)
* update pt-BR translations

* fix some cutoff texts
old-commit-hash: ff63f26409256cc728b35098d135d19c7284c6f1
2022-09-16 14:32:38 -07:00
ambientocclusion 35036a3333 Multilang: add missing Japanese translations (#25803)
Add missing Japanese translations
old-commit-hash: 40f89b183e5ab39d4a176e54268b0eb9de8e9ebc
2022-09-15 21:59:52 -07:00
eFini e4db6278a1 Multilang: add missing Chinese (Traditional) translations (#25807)
added missing cht translations
old-commit-hash: 8fcbcd800610f30ddf85b5a314dbf40afb0fa320
2022-09-15 20:38:53 -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
eFini 9d702487a8 Multilang: add missing Chinese (Traditional) translations (#25802)
old-commit-hash: 7ddcde687e3ffaa0ec91002871b76f9ca82752b1
2022-09-15 19:31:57 -07:00
cydia2020 bf5e07cf23 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>
old-commit-hash: 834f212903f5c06a9fe8d6caa6b6da52ac7a7d83
2022-09-15 17:48:17 -07:00
Lee Jong Mun 07556f3c7b Multilang: add missing Korean translations (#25799)
kor translation update
old-commit-hash: ae87665e92cb17952abf2b7f182a0302264dc642
2022-09-15 17:04:29 -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
ambientocclusion 246f03e72b Multilang: add missing Japanese translations (#25727)
old-commit-hash: f6398ea7864779f621f84df65ded7ee083e72c09
2022-09-11 03:35:57 -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
Lee Jong Mun 9f442c6d0a Multilang: add missing translations (#25705)
kor translation update

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 015090de9237af02beb5414be65e97ee84c39c45
2022-09-08 11:55:21 -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
AlexandreSato f9fe0fd594 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>
old-commit-hash: c317bb464d1daa73e870fb55ae95377a580cf7af
2022-09-07 00:26:37 -07:00
Shane Smiskol d7e92fecc2 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
old-commit-hash: 719d5f78560c393732df240f1b6e053113aef2f8
2022-09-06 13:23:41 -07:00
Rewat S c64db74ce9 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>
old-commit-hash: bc9b862d271e20540cb996c7ad3bbfded37508fc
2022-09-06 11:47:11 -07:00
Lee Jong Mun 1b2dd97181 Korean: add missing translations (#25647)
* kor translate update

* more translation fix

* better

* this pr e2e long only

Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: 1632c2aa62a2501783b7c4b3aa5b0b7dae7d00f3
2022-09-05 16:11:22 -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
AlexandreSato 1dad1042e1 Portuguese: add e2e long translations (#25650)
* 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

* translate to pt-BR the e2e_long toggle
old-commit-hash: 3183b00ff265602da9f852e23a4230c7e12a475b
2022-09-02 16:34:28 -07:00