Dean Lee
b234cb0223
ui: remove Q_PROPERTY from `AnnotatedCameraWidget` ( #28745 )
2 years ago
Dean Lee
7bfd3dac81
cpplint: add filter `whitespace/comma` ( #29595 )
2 years ago
Dean Lee
792ad7d816
ui/map: delete map after unsubscribing from prime ( #29136 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2 years ago
Dean Lee
21da5a216f
cpplint: add filter `build/include_subdir` ( #29585 )
2 years ago
Cameron Clough
05e91c074d
ui: hasPrime/primeChanged helper ( #29590 )
2 years ago
Dean Lee
99279b8eef
ui: use `enum PrimeType` for prime_type ( #29491 )
2 years ago
Dean Lee
4ea7833060
ui/map_instructions: restore padding ( #29548 )
...
* restore padding
* fixes
* fix left and right margins
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Dean Lee
ac93902983
cpplint: add filter `whitespace/forcolon` ( #29582 )
...
whitespace/forcolon
2 years ago
pencilpusher
472151b6a0
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>
2 years ago
Dean Lee
5fcb7e9038
ui/PrimeUserWidget: cleanup layout ( #29492 )
...
cleanup layout
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
Dean Lee
f203648de0
cpplint: add filter `whitespace/semicolon` ( #29568 )
2 years ago
Dean Lee
2c20a2b5d7
sound.h: add #pragma once ( #29567 )
2 years ago
Dean Lee
5480d32bb5
cpplint: add filter `whitespace/parens` ( #29565 )
2 years ago
Dean Lee
2d99521e75
cpplint: `build/include_what_you_use` ( #29556 )
...
* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2 years ago
Dean Lee
363740a497
cpplint: add `readability/braces` filter ( #29554 )
2 years ago
Dean Lee
55c156dfb2
soundd: set volume on changes ( #29389 )
...
* set volume on change
* async set volumn
* Revert "async set volumn"
This reverts commit 7bc88c4983
.
2 years ago
Dean Lee
5765c1d978
ui/settings: Don't apply styles to more elements than needed. ( #29463 )
2 years ago
Adeeb Shihadeh
952d720b6e
add cpplint ( #26855 )
...
* setup cpplint
* only start that
* check line length
* check these
* rm exceptions
2 years ago
Adeeb Shihadeh
a9626f95b6
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
2 years ago
Lee Jong Mun
1f056f3217
kor translation update ( #29493 )
2 years ago
Dean Lee
9ea2cd8d0b
ui/map_instructions: center lanes ( #29465 )
...
* center lanes
* test
* similar spacing and no need for stretchj
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 years ago
pencilpusher
f2d22075eb
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>
2 years ago
Dean Lee
efefcfdca5
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>
2 years ago
Shane Smiskol
d827cd6a83
map eta: use pair ( #29460 )
...
use pair
2 years ago
Shane Smiskol
6d2922b8e6
ui/map: slight turn lane types ( #29446 )
...
* add slight turns
* bump cereal
* revert
* hmm, i like this better
* whops
* fix
* bump
2 years ago
Dean Lee
b8b1e17a21
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>
2 years ago
Dean Lee
1887d9197a
ui/networking: pass network by value ( #29448 )
2 years ago
Shane Smiskol
fb94202014
Multilang: enable Thai ( #29447 )
...
enable thai in the ui
2 years ago
Dean Lee
202b2f2113
ui/map: hide icon if no maneuver type ( #29084 )
...
hide icon if no maneuver type
2 years ago
Dean Lee
3a277f1b81
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>
2 years ago
Shane Smiskol
da38aed483
map: set destination marker visibility once ( #29444 )
...
set visibility once
2 years ago
Dean Lee
f1568b960a
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>
2 years ago
Arda
d38dc64db0
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>
2 years ago
Shane Smiskol
103d39259f
Multilang: check format arguments are consistent ( #29441 )
...
* format args
* global
2 years ago
Shane Smiskol
549a4e9a97
Multilang: more translation sanity checks ( #29439 )
...
* tests
* test finished translations
* fix new test failure
2 years ago
Dean Lee
613bbb7e6d
ui/map: assign the return value to `last_position` ( #29341 )
...
assign the return value directly to last_position
2 years ago
Dean Lee
29f2389cce
ui/networking: bolding the connected network ( #29385 )
2 years ago
Dean Lee
9071c8a4fc
ui/map_instructions: set margin-top to UI_BORDER_SIZE ( #29387 )
2 years ago
Adeeb Shihadeh
0bacd98828
soundd: cleanup remnants from running while offroad ( #29006 )
...
cleanup
2 years ago
Dean Lee
01089cf4bf
UI: make wifi network sorting more stable ( #29376 )
...
* stable sort
* fix typo,rename to strengthLevel
2 years ago
Dean Lee
878d3f4cfc
ui/sidebar: break long line for readability ( #29379 )
2 years ago
Dean Lee
373171afd0
ui/networking: remove dynamic property and style sheet ( #29377 )
2 years ago
Dean Lee
fd8a9c8520
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>
2 years ago
Korben
518ced49ce
Full French UI Localization ( #29260 )
...
* Update languages.json
French added
* Create main_fr.ts
French lang file
* git ignore
* update french lang
2 years ago
Shane Smiskol
cc747e2166
ui/map_instructions: round <500 distances ( #29333 )
...
round
2 years ago
Dean Lee
4a89928a9a
ui/map: fix CSS error ( #29332 )
...
fix css error
2 years ago
Shane Smiskol
52675b2739
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
2 years ago
Dean Lee
80356b34f1
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>
2 years ago
Dean Lee
15bb9dd096
ui/map: set WA_NoMousePropagation to prevent mouse event from propagating up ( #29329 )
...
set WA_NoMousePropagation
2 years ago
Jason Wen
22cf5421d6
ui onroad: utilize local variables for repeated capnp reader access ( #29325 )
2 years ago