Commit Graph

1425 Commits

Author SHA1 Message Date
Cameron Clough
303b5532ad soundd: change system sound mixer volume (#26633)
* test changing sound volume

* create system/hardware/pc/hardware.h

* soundd: use Hardware::set_volume

* implement Hardware::set_volume using pactl

* Revert "test changing sound volume"

This reverts commit 4bbd870746ec86d1c9871a6175def96cf7f751a6.

* don't run command in background

* pactl: use default sink
old-commit-hash: 02b5b6fe1f
2022-11-30 15:36:25 -08:00
ambientocclusion
dcf61d2203 Multilang: add missing Japanese translations (#26556)
* Add missing Japanese translations

* Update some words
old-commit-hash: 5b8f0db3e5
2022-11-21 15:23:02 -08:00
protonchang
e9b92c7cb5 Update CHT translations (#26537)
* Add missing translations
* Fix some CHS -> CHT wording
old-commit-hash: 96c9b8c50e
2022-11-21 10:48:30 -08:00
AlexandreSato
23ca1049fe Multilang: Update pt-BR translations (#26549)
* update pt-BR translations

* fix some cutoff texts

* update pt-BR translation
old-commit-hash: 0b79ba8acb
2022-11-19 14:20:41 -08:00
Willem Melching
6dd30b3bca add missing <QPainterPath> include (#26520)
old-commit-hash: 8f9f015567
2022-11-16 09:25:36 -08:00
Lee Jong Mun
8b1e10a580 Multilang: kor translation update (#26522)
old-commit-hash: e79a384a9b
2022-11-16 09:13:41 -08:00
Oxygen
87b94afb3b Updated main_zh-CHS.ts (#26524)
old-commit-hash: fe2368c9eb
2022-11-16 03:11:45 -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: d8bc69c788
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: 1899d439f4
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: 58b84fb401
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: 797c626984
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: 62024176c6
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: b3f75b0c5b
2022-11-15 20:46:42 -08:00
Adeeb Shihadeh
8c19a25c99 update experimental mode disabled description
old-commit-hash: c6e3d566e9
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: 97a205c94d
2022-11-15 19:07:50 -08:00
Adeeb Shihadeh
15b07085ff taco time
old-commit-hash: f3efc8998c
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: 9c96b21367
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: 2ad9a4f95a
2022-11-15 16:44:03 -08:00
Oxygen
3a4188580b Update missing items in main_zh-CHS.ts (#26492)
Update missing iterms in main_zh-CHS.ts

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d7f943e275
2022-11-15 00:23:37 -08:00
ambientocclusion
da6b3ff15d Multilang: add missing Japanese translations (#26482)
Add new Japanese translations
old-commit-hash: ffa32df062
2022-11-15 00:04:20 -08:00
Shane Smiskol
0953a5d2ab ui: stretch abstract control title (#26499)
stretch toggle title so it's easier to expand
old-commit-hash: 7fcafa4022
2022-11-14 23:28:43 -08:00
eFini
2dc299e937 Multilang: add missing Chinese (Traditional) translations (#26433)
* update cht translation

* fix ellipsis -> spaces

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 765761d7d0
2022-11-10 19:02:58 -08:00
Lee Jong Mun
b1b9b98efa Multilang: kor translation update (#26445)
* Multilang: kor translation update

* fix
old-commit-hash: df145ae99f
2022-11-10 16:56:28 -08:00
AlexandreSato
ed43e73c33 Multilang: Update pt-BR translations (#26444)
* update pt-BR translations

* fix some cutoff texts

* Delete main_pt-BR.ts

* Add files via upload

* Delete main_pt-BR.ts

* Add files via upload
old-commit-hash: 2961f8a7d8
2022-11-10 12:27:25 -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: 4efb01ece2
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: 0941e40177
2022-11-09 20:31:38 -08:00
Shane Smiskol
848dc2da49 experimental long toggle: adjust description (#26437)
* Spell out AEB

* vanish
old-commit-hash: af84f1b350
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: a3cd50c5bb
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: 5a3c5e7a4b
2022-11-09 19:33:42 -08:00
Adeeb Shihadeh
18203a1cee UI: add set speed clarification for e2e long
old-commit-hash: 1fda075c73
2022-11-09 18:42:51 -08:00
Shane Smiskol
2f978cd1a3 Multilang: mark some translations finished (#26430)
* mark finished translations

* fix

* cleanup

* revert
old-commit-hash: 6c03e093c6
2022-11-09 17:31:58 -08:00
Shane Smiskol
215c16d661 Multilang badges: assert width exists in xml
old-commit-hash: bbc14656d9
2022-11-09 17:30:33 -08:00
Shane Smiskol
9913ba51a9 multilang badges: no need to handle plurals
old-commit-hash: d8327bd9be
2022-11-09 16:58:02 -08:00
Shane Smiskol
c5f5a951dc translation badges: add number of unfinished translations (#26429)
* some clean up and add missing translations

* unfinished

* set proper width

* make this variable common
old-commit-hash: f540002e3f
2022-11-09 16:49:17 -08:00
Lee Jong Mun
90418d1f97 Multilang: Korean translation update (#26424)
fix
old-commit-hash: 26d66ac671
2022-11-09 16:15:44 -08:00
AlexandreSato
5cdd97649d Multilang: update pt-BR (#26420)
* update pt-BR translations

* fix some cutoff texts

* Update pt-BR translations
old-commit-hash: 584842488f
2022-11-09 15:13:17 -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: f38fe7cfb1
2022-11-09 14:53:41 -08:00
Adeeb Shihadeh
74979a7c76 experimental mode (#26416)
* experimental mode

* rename param

* red lights
old-commit-hash: 9a3f468051
2022-11-08 14:45:01 -08:00
Adeeb Shihadeh
45dec4e84f UI: widecam only in e2e mode (#26412)
old-commit-hash: 5960ba5def
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: ed3bf4f123
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: e079751f79
2022-11-05 15:05:30 -07:00
Lee Jong Mun
0ef9df5c5c Multilang: kor translation update (#26380)
old-commit-hash: 50fddb52ba
2022-11-05 01:44:18 -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: 0b385a5650
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: e78280da12
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: 91a1f1a91e
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: d257e28479
2022-11-04 13:52:24 -07:00
Shane Smiskol
d3c22d56ac Update comment in ui.cc
old-commit-hash: 033ffa4a88
2022-11-04 02:30:14 -07:00
Shane Smiskol
a81683f4ec ui: fix disappearing path with wide cam (#26354)
* split lat long icons

* no overriding border status, consider steering pressed for lat icon, spacing for readability

* add engageable back

add engageable back

add engageable back

* all the debugging code 🙃

* revert that stuff

* only the fix

* comment

comment

* fix dat

* explicit

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 384f940237
2022-11-03 23:07:29 -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: c171fe9f9a
2022-10-31 23:01:22 -07:00
Kurt Nistelberger
ae96a916d0 Revert "remove black connecting background"
This reverts commit 6590d3128bb8001d4462238958b46968e56216f7.

old-commit-hash: 0c03fb1be4
2022-10-30 17:43:15 -07:00