Commit Graph

10 Commits

Author SHA1 Message Date
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
2023-08-23 23:32:01 -07:00
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
2023-08-19 01:23:42 -07:00
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
2023-08-17 22:58:18 -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
87c4c661c7 ui/map_instructions: set margin-top to UI_BORDER_SIZE (#29387)
old-commit-hash: 9071c8a4fc
2023-08-14 12:43:32 +01:00
Shane Smiskol
d33545a0b6 ui/map_instructions: round <500 distances (#29333)
round
old-commit-hash: cc747e2166
2023-08-11 03:33:40 -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
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
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
Dean Lee
7d5d1b1e70 ui/map: move MapInstructions & MapETA to separate files (#28976)
old-commit-hash: 942a2f9760
2023-07-20 21:58:46 +01:00