Commit Graph

21 Commits

Author SHA1 Message Date
Dean Lee
980ba1312f ui/map: remove unused variables (#29098) 2023-07-22 12:24:16 -07:00
Dean Lee
1afdca2ef1 ui/MapSettings: remove call to clearLayout (#28961) 2023-07-17 15:32:28 +01:00
Dean Lee
d47d8808d1 ui/map: update destination on param change (#28957)
* update destination on param change

* use ParamWatcher

* remove include
2023-07-16 13:48:33 -07:00
Dean Lee
187696977e ui/MapSettings: store destinations to load on widget init (#28950)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-07-15 11:37:41 +01:00
Dean Lee
c3fe3c8162 ui/MapSettings: sort location JsonArray inplace (#28886) 2023-07-13 10:59:46 +01:00
Dean Lee
8149c07fac ui/map: singleton navigation requests (#28862) 2023-07-11 11:42:10 +01:00
Shane Smiskol
71e001ee57 map settings: accept touch events (#28865)
* accept touch events in map settings

* use override

* revert this

* remove debug stuff

* add comments

* not the main purpose
2023-07-11 00:21:25 -07:00
Dean Lee
93413c43df UI: fix memory leak in MapSettings (#28759)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-07-01 09:45:05 +01:00
Adeeb Shihadeh
3e1ba3ff35 Revert "ui: fix memory leak in MapSettings (#28701)"
This reverts commit 5a00b42092.
2023-06-30 13:22:20 -07:00
Dean Lee
5a00b42092 ui: fix memory leak in MapSettings (#28701) 2023-06-29 13:37:19 -07:00
Cameron Clough
bc5a899024 UI: improved nav destination entry (#28476) 2023-06-22 19:57:29 +01:00
Cameron Clough
f7f5537af7 MapPanel cleanup (#28474) 2023-06-09 17:08:57 -07:00
Dean Lee
ef767f6332 MapPanel: refresh only when visible and destination changes (#25739)
rebuild widgets only when mappanel is visible
2022-09-12 22:54:33 -07:00
Adeeb Shihadeh
cb8885cffb Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
2022-05-18 14:11:57 -07:00
Dean Lee
3fd0264960 refactor httprequest: emit single signals (#23039)
* refactor httprequest

* Trigger Build
2021-11-29 11:19:08 +01:00
Adeeb Shihadeh
d5475ba946 nav: add button to clear current route (#22167)
* nav: add button to clear current route

* fix scroll

* retab

Co-authored-by: Comma Device <device@comma.ai>
2021-09-07 17:39:24 -07:00
Willem Melching
190409c938 nav: show settings without token (#21624)
* map settings always in sidebar

* show screenshot when no prime

* remove print

* repaint to fix star sizing

* checked in sconsscript

* match designs
2021-07-19 14:18:01 +02:00
Adeeb Shihadeh
bec054116f nav: scroller for recents (#21549)
* nav: scroller for recents

* stretch

* one more stretch
2021-07-10 22:56:18 -07:00
Willem Melching
9f98a3e44f nav: show recents (#21405)
* add recent buttons

* remove static request

* layout

* recent doesn't have to be a favorite

* work

* spacing

* spacing

* no recents

* query next

* not null

* this needs to live here

* less spacing between items
2021-06-25 16:26:02 +02:00
Willem Melching
c21ea8b506 nav: home/work shortcuts (#21276)
* add home/work widgets

* remove todo

* set contents from response

* turn into buttons

* add navigate button

* fix includes

* close settings on nav press

* close sidebar when closing settings

* use live api endpoint

* larger fonts

* more text fits

* only place name

* remove static response

* properly clear
2021-06-22 13:25:22 +02:00
Willem Melching
3c197953bc nav: add page to settings (#21208)
* add navigation panel to settings

* am/pm display and dynamic width
2021-06-10 09:59:34 +02:00