Dean Lee
888b60b214
ui/driverview: use common SubMaster ( #29660 )
...
old-commit-hash: 3a46a853cb
2 years ago
Cameron Clough
69d7ecac9c
ui/NavManager: parse location timestamp from API ( #29665 )
...
old-commit-hash: 3d1a6f6146
2 years ago
Dean Lee
2e4a23510a
ui/MapSettings: sort destinations by recent activity ( #29079 )
...
old-commit-hash: 12073c07af
2 years ago
Dean Lee
ce0e2ec905
AGNOS setup: multi-lang support ( #25680 )
...
* multilang
* update translations
* Specifies dependency
* load lang from json file
* update translations
* fix white border
* remove stretch
* update translations
* fix tr
* no default language
* update translations
* rm main_en.qm
* cleanup
* cleanup
* add language files
* remove type=unfinish
* build languages before assets
* depends lrelease
old-commit-hash: 0767a6dee5
2 years ago
Dean Lee
74195e1d78
ui/driverview: hide on interactive timeout ( #29464 )
...
* hide on interactiveTimeout
* cleanup
* requestDone->closeView
* dont reset timeout on hideEvent
---------
Co-authored-by: sshane <shane@smiskol.com>
old-commit-hash: b6b255c103
2 years ago
Shane Smiskol
8f0ab9a105
Revert "ui/network: don't refresh on connect ( #29651 )" ( #29653 )
...
This reverts commit 500d58e5bf59e25ec973c6f635c6cf292c7a65ad.
Revert "ui/network: refresh IP address on connect"
This reverts commit 866c41a9249f98460436bae26def13be8c03a4fc.
old-commit-hash: 74a0a8f7b7
2 years ago
Shane Smiskol
045c092df8
ui/network: refresh IP address on connect
...
old-commit-hash: 46c32613fc
2 years ago
Shane Smiskol
b14dc6be99
ui/network: don't refresh on connect ( #29651 )
...
* don't refresh when showing connected status
* fix
* fix
* can remove that nowe
old-commit-hash: 6ea564b33e
2 years ago
Dean Lee
511dcacf06
ui/networking: show "connecting" immediately after clicking on a network ( #29378 )
...
* fix connecting not show
* clear connect state
* pass network by value
* add comment
* move pass by value to anoter pr
* should always use function to set connecting_to_network
* remove connecting when forgetting
* out here
* can't do this :(
* Revert "can't do this :("
This reverts commit e06145202d
.
Revert "out here"
This reverts commit 8ca7b47a28
.
Revert "remove connecting when forgetting"
This reverts commit 671db0b5e7
.
Revert "should always use function to set connecting_to_network"
This reverts commit a220b518fa
.
* makes sense to keep this the same
* not in between slots
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9fe3df5d75
2 years ago
Dean Lee
dff265fff2
ui/networking: fix icon label alignment issue ( #29650 )
...
fix align issue
old-commit-hash: 547f69f5f3
2 years ago
Shane Smiskol
dc4177c344
wifiManager: empty path helper ( #29648 )
...
empty helper
old-commit-hash: 6bb97c416f
2 years ago
Dean Lee
65c5464138
ui: add translation files to assets.qrc ( #29597 )
...
* move translation files to assets.qrc
* cleanup
* add main_en
* dynamically add
* not sure if required
* revert to master
* move translations above assets
* add translations to qrc file
* comment
* now add translations_assets_src to assets sources
* this is built
* add to .gitignore
* consistent name
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 17bfff8e10
2 years ago
Shane Smiskol
2b99c72dc2
ui: rebuild translations when widgets are modified ( #29640 )
...
fix translations not being updated for widgets
old-commit-hash: 2b4255b19e
2 years ago
Justin Newberry
c4f322ce2d
Linter: remove pylint ( #29611 )
...
remove pylint
old-commit-hash: 1ee6ed4b16
2 years ago
Shane Smiskol
dcf9d9e3a7
ui/map: clip vehicle speed to min of 10 m/s ( #29601 )
...
* all the changes I want to make
* Revert "all the changes I want to make"
This reverts commit c18132b73e
.
* add initialized
* clip to 10 m/s
* fix bug
* rm
* here?
old-commit-hash: b8fb260558
2 years ago
Adeeb Shihadeh
61cf541322
Minimal build ( #29600 )
...
* add build flag for minimum build
* add minimal build
* update
* fix pj
* bump opendbc
* update subaru
old-commit-hash: 4917e22615
2 years ago
Shane Smiskol
9a1f82a853
ui/map: initialize speed filter with current speed ( #29605 )
...
fix map starting from 0 zoom
old-commit-hash: b9d77afd7e
2 years ago
Dean Lee
a1fe0701e9
ui: remove Q_PROPERTY from `AnnotatedCameraWidget` ( #28745 )
...
old-commit-hash: b234cb0223
2 years ago
Dean Lee
de809632bf
cpplint: add filter `whitespace/comma` ( #29595 )
...
old-commit-hash: 7bfd3dac81
2 years ago
Dean Lee
c4ae679878
ui/map: delete map after unsubscribing from prime ( #29136 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 792ad7d816
2 years ago
Dean Lee
0984736972
cpplint: add filter `build/include_subdir` ( #29585 )
...
old-commit-hash: 21da5a216f
2 years ago
Cameron Clough
c7820cf1cc
ui: hasPrime/primeChanged helper ( #29590 )
...
old-commit-hash: 05e91c074d
2 years ago
Dean Lee
c6db4c515c
ui: use `enum PrimeType` for prime_type ( #29491 )
...
old-commit-hash: 99279b8eef
2 years ago
Dean Lee
f7efad93e4
ui/map_instructions: restore padding ( #29548 )
...
* restore padding
* fixes
* fix left and right margins
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 4ea7833060
2 years ago
Dean Lee
56b582a059
cpplint: add filter `whitespace/forcolon` ( #29582 )
...
whitespace/forcolon
old-commit-hash: ac93902983
2 years ago
pencilpusher
cc4f6c5fbe
ui/map: keep the car icon aligned to its bearing ( #29482 )
...
* rotate icon with current bearing
When user is rotating the map, the car icon should stay fixed on the cars bearing, not the map.
* spacing
* comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 472151b6a0
2 years ago
Dean Lee
5ac4f52c6f
ui/PrimeUserWidget: cleanup layout ( #29492 )
...
cleanup layout
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 5fcb7e9038
2 years ago
Dean Lee
5f4b422305
cpplint: add filter `whitespace/semicolon` ( #29568 )
...
old-commit-hash: f203648de0
2 years ago
Dean Lee
72e6a332d1
sound.h: add #pragma once ( #29567 )
...
old-commit-hash: 2c20a2b5d7
2 years ago
Dean Lee
db211ce617
cpplint: add filter `whitespace/parens` ( #29565 )
...
old-commit-hash: 5480d32bb5
2 years ago
Dean Lee
97e9d55588
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2d99521e75
2 years ago
Dean Lee
004a097c95
cpplint: add `readability/braces` filter ( #29554 )
...
old-commit-hash: 363740a497
2 years ago
Dean Lee
4f7e9268e8
soundd: set volume on changes ( #29389 )
...
* set volume on change
* async set volumn
* Revert "async set volumn"
This reverts commit 7bc88c4983
.
old-commit-hash: 55c156dfb2
2 years ago
Dean Lee
11b5cfa422
ui/settings: Don't apply styles to more elements than needed. ( #29463 )
...
old-commit-hash: 5765c1d978
2 years ago
Adeeb Shihadeh
701cd6f6fe
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
old-commit-hash: 952d720b6e
2 years ago
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Lee Jong Mun
64f89e259a
kor translation update ( #29493 )
...
old-commit-hash: 1f056f3217
2 years ago
Dean Lee
ff74c8c4cb
ui/map_instructions: center lanes ( #29465 )
...
* center lanes
* test
* similar spacing and no need for stretchj
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9ea2cd8d0b
2 years ago
pencilpusher
fc14939f02
ui/map: interactive counter fix ( #29470 )
...
* use interactive_counter instead of separate zoom and pan counters
* use interaction_counter instead of separate zoom and pan counters
* same styling
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: f2d22075eb
2 years ago
Dean Lee
3078da290d
ui/map: better rounding for distances ( #29151 )
...
* round distance
* use same format in ETA
* remove vanish
* restore translate
* use nearbyint
* update translations
* mark finished
* consistent style
* we don't include this anywhere in ui, needed?
* fix missing std
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: efefcfdca5
2 years ago
Shane Smiskol
709850e304
map eta: use pair ( #29460 )
...
use pair
old-commit-hash: d827cd6a83
2 years ago
Shane Smiskol
593322dfa9
ui/map: slight turn lane types ( #29446 )
...
* add slight turns
* bump cereal
* revert
* hmm, i like this better
* whops
* fix
* bump
old-commit-hash: 6d2922b8e6
2 years ago
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
2 years ago
Dean Lee
4857b61f8f
ui/networking: pass network by value ( #29448 )
...
old-commit-hash: 1887d9197a
2 years ago
Shane Smiskol
7a291211db
Multilang: enable Thai ( #29447 )
...
enable thai in the ui
old-commit-hash: fb94202014
2 years ago
Dean Lee
a50a9ef9b4
ui/map: hide icon if no maneuver type ( #29084 )
...
hide icon if no maneuver type
old-commit-hash: 202b2f2113
2 years ago
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
2 years ago
Shane Smiskol
312d80c877
map: set destination marker visibility once ( #29444 )
...
set visibility once
old-commit-hash: da38aed483
2 years ago
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
2 years ago
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
2 years ago