Commit Graph

1670 Commits

Author SHA1 Message Date
Dean Lee
023cd0492f ui/networking: do not skip the connected network (#29396)
* do not skip connected network

* simplify

* revert

* revert

* no implicit

* ifwt

* fix missing ssid

* makes more sense to only update security_type once (first vs. last)

* better comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: b8b1e17a21
2023-08-17 14:43:40 -07:00
Dean Lee
4857b61f8f ui/networking: pass network by value (#29448)
old-commit-hash: 1887d9197a
2023-08-17 11:37:42 -07:00
Shane Smiskol
7a291211db Multilang: enable Thai (#29447)
enable thai in the ui
old-commit-hash: fb94202014
2023-08-17 03:16:31 -07:00
Dean Lee
a50a9ef9b4 ui/map: hide icon if no maneuver type (#29084)
hide icon if no maneuver type
old-commit-hash: 202b2f2113
2023-08-17 02:05:19 -07:00
Dean Lee
f667936f3a ui/map: show map on destination set/change (#29327)
* show map on dest set/change

* check for rcv_frame

* clear current_nav_dest

* restore allow_open

* use requestShow

* cleanup

* one check

* revert behavior changes

* Update selfdrive/ui/qt/maps/map.cc

* more obvious

* Update selfdrive/ui/qt/maps/map.cc

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 3a277f1b81
2023-08-17 01:32:22 -07:00
Shane Smiskol
312d80c877 map: set destination marker visibility once (#29444)
set visibility once
old-commit-hash: da38aed483
2023-08-17 01:02:59 -07:00
Dean Lee
5cc9fbe23f ui: longer screen timeout for driver view (#27457)
* longer driverview timeout

* Update ui.cc

* reset timeout

* do cleanup

* Apply suggestions from code review

* Update selfdrive/ui/ui.cc

* reset to default timeout on hidden

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f1568b960a
2023-08-16 22:22:39 -07:00
Arda
0645f2c409 Multilang: add Turkish language (#25765)
* Multilang: add Turkish language

* update translation

* vanish

* move up

* missing %n

* format args

* pass this test now

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d38dc64db0
2023-08-16 21:45:03 -07:00
Shane Smiskol
96c8511c37 Multilang: check format arguments are consistent (#29441)
* format args

* global
old-commit-hash: 103d39259f
2023-08-16 21:30:47 -07:00
Shane Smiskol
1097d3b53d Multilang: more translation sanity checks (#29439)
* tests

* test finished translations

* fix new test failure
old-commit-hash: 549a4e9a97
2023-08-16 21:10:25 -07:00
Dean Lee
e0439a516f ui/map: assign the return value to last_position (#29341)
assign the return value directly to last_position
old-commit-hash: 613bbb7e6d
2023-08-14 16:39:43 -07:00
Dean Lee
ec3b69928a ui/networking: bolding the connected network (#29385)
old-commit-hash: 29f2389cce
2023-08-14 15:18:41 +01:00
Dean Lee
87c4c661c7 ui/map_instructions: set margin-top to UI_BORDER_SIZE (#29387)
old-commit-hash: 9071c8a4fc
2023-08-14 12:43:32 +01:00
Adeeb Shihadeh
e603ff3427 soundd: cleanup remnants from running while offroad (#29006)
cleanup
old-commit-hash: 0bacd98828
2023-08-13 22:17:54 -07:00
Dean Lee
25df6335f7 UI: make wifi network sorting more stable (#29376)
* stable sort

* fix typo,rename to strengthLevel
old-commit-hash: 01089cf4bf
2023-08-13 21:12:23 -07:00
Dean Lee
431797307d ui/sidebar: break long line for readability (#29379)
old-commit-hash: 878d3f4cfc
2023-08-13 18:03:38 -07:00
Dean Lee
ce5c95715c ui/networking: remove dynamic property and style sheet (#29377)
old-commit-hash: 373171afd0
2023-08-13 14:48:06 -07:00
Dean Lee
42dd6af842 ui/networking: remove call to clearLayout (#29037)
* build list inplace

* move clearLayout to cabana

* cleanup include

* polish style

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fd8a9c8520
2023-08-13 11:57:40 -07:00
Korben
1672c9fdbd Full French UI Localization (#29260)
* Update languages.json

French added

* Create main_fr.ts

French lang file

* git ignore

* update french lang
old-commit-hash: 518ced49ce
2023-08-11 21:36:58 -07:00
Shane Smiskol
d33545a0b6 ui/map_instructions: round <500 distances (#29333)
round
old-commit-hash: cc747e2166
2023-08-11 03:33:40 -07:00
Dean Lee
b065f5c9a2 ui/map: fix CSS error (#29332)
fix css error
old-commit-hash: 4a89928a9a
2023-08-11 03:31:13 -07:00
Shane Smiskol
f8d9860d20 ui/map_instructions: clean up lane icon selection (#29330)
* draft

* revert

* remove extra directions

* more clean up

* add todo

* revert rename

* I assume this is moot, but preserve behavior

* spacing
old-commit-hash: 52675b2739
2023-08-11 03:27:32 -07:00
Dean Lee
eb695a00c2 ui/map: check NavDestination only if navInstruction is invalid (#29331)
* check NavDestination only if navInstruction is invalid

* Update selfdrive/ui/qt/maps/map.cc

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

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 80356b34f1
2023-08-11 03:26:08 -07:00
Dean Lee
a494b38f6e ui/map: set WA_NoMousePropagation to prevent mouse event from propagating up (#29329)
set WA_NoMousePropagation
old-commit-hash: 15bb9dd096
2023-08-11 02:45:54 -07:00
Jason Wen
55f7f723a0 ui onroad: utilize local variables for repeated capnp reader access (#29325)
old-commit-hash: 22cf5421d6
2023-08-10 23:13:45 -07:00
Dean Lee
c8c2c5f801 ui/onroad: move duplicated code to drawIcon() (#29149)
* move duplicate code to function drawIcon

* fix center point
old-commit-hash: cef693f309
2023-08-10 23:08:46 -07:00
Justin Newberry
a14f162bc7 Ruff: comprehensions conventions (#29317)
ignore c408
old-commit-hash: 4a9afd7554
2023-08-10 16:40:30 -07:00
eFini
e90ced8449 map ui: Fixed ETA text alignment issue in CJK (#29311)
fixed ETA text alignment issue in CJK
old-commit-hash: 8d7e909b53
2023-08-10 02:15:43 -07:00
Adeeb Shihadeh
8e2a03b46d rm some old tests
old-commit-hash: 44c76257a1
2023-08-09 22:31:47 -07:00
eFini
9a764a67ec Multilang: Chinese translations update (#29310)
* chinese translations

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

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5b4aa67864
2023-08-09 20:40:39 -07:00
Justin Newberry
7b677910df Linter: Fix >160 line length test (#29287)
* test

* fix line length

* fix line length

* fix file size

* revert poetry

* cleanup for PR
old-commit-hash: cf64b27168
2023-08-08 17:13:35 -07:00
Cameron Clough
6ed5aca05a ui/map: update mapbox style (#29186)
old-commit-hash: 748238f87c
2023-08-08 20:18:49 +01:00
Shane Smiskol
7b1fa23144 map: fix exit lane direction when active (#29159)
* fix

* clean up

* comment
old-commit-hash: cffc14e4d8
2023-08-05 04:02:18 -07:00
Kacper Rączy
edc31db6df aarch64: ubuntu build support (#29171)
* Add support for aarch64 pc linux

* Add new libyuv path to release files

* Add libyuv's x86_64 lib dir

* Move left-over platform specific dirs from files_common

* Remove libyuv/lib directory (duplicate)

* Fix mpc Sconscripts

* Remove acados lib path from mpc sources

* Fix typo

* Add watch3 exec on aarch64
old-commit-hash: c640429406
2023-08-01 16:18:46 -07:00
AlexandreSato
7b70d76cb3 Multilang: update pt-BR translation (#29197)
old-commit-hash: 3eaf3555af
2023-08-01 11:01:25 -07:00
Dean Lee
823b570082 ui/OnroadWindow: do not update state when offroad (#29134)
do not updateState when offroad
old-commit-hash: da91555056
2023-07-31 20:25:15 -07:00
Iamz
a34c411578 Multilang: th translation update (#29183)
Update Thai translations
old-commit-hash: 157568c0c1
2023-07-31 13:39:01 -07:00
Shane Smiskol
fdc00cf0b6 Experimental mode toggle description: missing spaces (#29167)
* Update settings.cc

* more missing spaces

* scons

* vanish

* fix that
old-commit-hash: 6fe480b232
2023-07-27 14:00:41 -07:00
AlexandreSato
68909e19d2 Multilang: update pt-BR translations (#29152)
update pt-BR translation
old-commit-hash: 13822a0ec0
2023-07-26 09:54:10 -07:00
Lee Jong Mun
c386ddcd3f kor translation update (#29145)
old-commit-hash: c354451216
2023-07-25 20:34:16 -07:00
Adeeb Shihadeh
178d9adec3 ui: less confusing wifi training (#29137)
* ui: less confusing wifi training

* update

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0922a1040f
2023-07-25 13:32:00 -07:00
Harald Schäfer
069e9ef4f8 Experimental mode description: update nav (#29130)
* Update description

* Update releases

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/ui/qt/offroad/settings.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* small tweaks

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9c3c7f0dda
2023-07-25 10:31:25 -07:00
Shane Smiskol
ec900d0389 navd: don't use empty last step banner instructions (#29034)
* fix empty banner instructions when arriving at destination

* bug fixes

* hide distance on arrival

* stash

* simpler

* can also do this, but i don't like modifying the response

* clean up

* rm

* revert

* rm

* flip this order

* move up

* need to flip order

* Revert "need to flip order"

This reverts commit ba961b8e6aa5d9490ab0dc661866cff9c72db91d.

* Revert "move up"

This reverts commit f1a4d8ae883080d52547fdaf9472457050e40669.

* Update selfdrive/navd/navd.py
old-commit-hash: 412ed6a017
2023-07-25 01:28:17 -07:00
Shane Smiskol
d4ec764235 ui: new nav settings button (#29068)
* add image

* remove extra spacing

* add images

* use nav-settings-square-smaller.png

* draft

* clean up

* kinda works!

* nop need to update state

* can just use clicked

* MORE

* remove old button

* slightly smaller (todo change image))

* this works but is ugly

* remove old settings button

* draft

* no it's not

* draft 2.0

* clean up

* clean up

* let's make map_settings_btn public

* since we don't have map, use enabled

* fix image size

* can do clean up in another PR

show

* add line

* rename

* useless spacing

* use old nav icon

* handle DM icon (and test)

* clean up

* no reason

* remove old image

* don't use setCurrentIndex

* Revert "don't use setCurrentIndex"

This reverts commit 6fde765a3cd3a9ee39205614587a23fbfbc60950.

* also can use a ternary

* seems cleanest

This reverts commit f9287230704b94f46b6bb5376d9a17075a20caf7.
old-commit-hash: 0dd1dcc7d0
2023-07-24 22:27:01 -07:00
Shane Smiskol
6d9a313f19 ui/map: hide settings with showing map (#29127)
consistent map showing behavior
old-commit-hash: 13dc0325b2
2023-07-24 18:25:46 -07:00
Dean Lee
916784cfbe ui/settings: use existing params instance (#29109)
use exsting params
old-commit-hash: bcfb9d6940
2023-07-23 17:45:19 -07:00
Dean Lee
8d2a08723a ui/map: remove unused variables (#29098)
old-commit-hash: 980ba1312f
2023-07-22 12:24:16 -07:00
Dean Lee
ee42f316d7 ui/MapSettings: remove function shorten (#29078)
old-commit-hash: cc551fe24b
2023-07-21 19:51:25 +01:00
Shane Smiskol
b8bf3fc0c2 nav: improve no route alert text (#29076)
* kind of

* Revert "kind of"

This reverts commit 25abbbf1764b0f7e8fbcb83e37159ba6f8cdf641.

* more generic alert text, whenever we're waiting for navd.

* actual better comment

* update translations
old-commit-hash: d70c4916db
2023-07-20 22:40:31 -07:00
Dean Lee
9865a32252 ui/map: fix ETA widget text spacing (#29065)
* fix eta spacing

* fix unit color

---------

Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 0b8d35b132
2023-07-20 21:10:17 -07:00