Commit Graph

25 Commits

Author SHA1 Message Date
Dean Lee 2e4a23510a ui/MapSettings: sort destinations by recent activity (#29079)
old-commit-hash: 12073c07afbd0de42ed475c9368ad9f51fd0c631
2023-08-27 15:13:43 +01:00
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: 2d99521e7500902070d0aacce69528bcfd8b9964
2023-08-23 13:25:17 -07:00
Dean Lee 004a097c95 cpplint: add readability/braces filter (#29554)
old-commit-hash: 363740a497620249066522c87ddb03e1362749d4
2023-08-23 10:13:46 -07:00
Dean Lee a494b38f6e ui/map: set WA_NoMousePropagation to prevent mouse event from propagating up (#29329)
set WA_NoMousePropagation
old-commit-hash: 15bb9dd09612bc23cc0d59da6fafd74669e1190e
2023-08-11 02:45:54 -07:00
Dean Lee 8d2a08723a ui/map: remove unused variables (#29098)
old-commit-hash: 980ba1312fc587b735c71887251e16dd20f6cec3
2023-07-22 12:24:16 -07:00
Dean Lee 8c026eff7c ui/MapSettings: remove call to clearLayout (#28961)
old-commit-hash: 1afdca2ef1a0d2ae9d0ad03205667dc644e319ac
2023-07-17 15:32:28 +01:00
Dean Lee e8478e81c7 ui/map: update destination on param change (#28957)
* update destination on param change

* use ParamWatcher

* remove include
old-commit-hash: d47d8808d1f973e4765a3fc806bcce6d33681048
2023-07-16 13:48:33 -07:00
Dean Lee b81910128d ui/MapSettings: store destinations to load on widget init (#28950)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 187696977e32c0042b9141d6042e8dddb507fceb
2023-07-15 11:37:41 +01:00
Dean Lee 1c2f2d52e1 ui/MapSettings: sort location JsonArray inplace (#28886)
old-commit-hash: c3fe3c816298fc862b3136a7f52822a4c0525393
2023-07-13 10:59:46 +01:00
Dean Lee 261d7ed673 ui/map: singleton navigation requests (#28862)
old-commit-hash: 8149c07fac9aa651608aa761f50744edcb5b9ea1
2023-07-11 11:42:10 +01:00
Shane Smiskol c9630b0a7a 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
old-commit-hash: 71e001ee577811d2bf1ea1973545322c6a3ba95d
2023-07-11 00:21:25 -07:00
Dean Lee c49d605320 UI: fix memory leak in MapSettings (#28759)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

old-commit-hash: 93413c43df594a63b36c896c629daaef27dd9fe4
2023-07-01 09:45:05 +01:00
Adeeb Shihadeh 82893982e5 Revert "ui: fix memory leak in MapSettings (#28701)"
This reverts commit 3ab739ea1374fc13297884b62065b0612dba7358.

old-commit-hash: 3e1ba3ff3522bb2eb8a8f41ecb1158314af6c3dc
2023-06-30 13:22:20 -07:00
Dean Lee 666467266d ui: fix memory leak in MapSettings (#28701)
old-commit-hash: 5a00b420923a1fc7563c68642dca9fbb7d7b7fa7
2023-06-29 13:37:19 -07:00
Cameron Clough b6e6f008f1 UI: improved nav destination entry (#28476)
old-commit-hash: bc5a8990241311e347455ea8d69a064bd0693266
2023-06-22 19:57:29 +01:00
Cameron Clough e199a1a953 MapPanel cleanup (#28474)
old-commit-hash: f7f5537af74625e3a08352fef73eebffd4991a49
2023-06-09 17:08:57 -07:00
Dean Lee df1668b35f MapPanel: refresh only when visible and destination changes (#25739)
rebuild widgets only when mappanel is visible
old-commit-hash: ef767f633287445f7861eb5b82c5a17ab6325664
2022-09-12 22:54:33 -07:00
Adeeb Shihadeh f4675fc260 Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
old-commit-hash: cb8885cffb313bea258c012c3026461a22bf8135
2022-05-18 14:11:57 -07:00
Dean Lee 67c748d62a refactor httprequest: emit single signals (#23039)
* refactor httprequest

* Trigger Build
old-commit-hash: 3fd02649601856b2780168d36c49940ff49f4de2
2021-11-29 11:19:08 +01:00
Adeeb Shihadeh 706542a7b2 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>
old-commit-hash: d5475ba9462ad9c6a18db05e96a4fa9d3bf9772a
2021-09-07 17:39:24 -07:00
Willem Melching 47a646ecb1 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
old-commit-hash: 190409c9387ade9bc988b6603ac6f41248e0a5fd
2021-07-19 14:18:01 +02:00
Adeeb Shihadeh c583cc99a3 nav: scroller for recents (#21549)
* nav: scroller for recents

* stretch

* one more stretch
old-commit-hash: bec054116f4eea51c3ed9db606076be4c460d5af
2021-07-10 22:56:18 -07:00
Willem Melching fba42aab80 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
old-commit-hash: 9f98a3e44f3b5b70d7e420f9e51f737bb854266d
2021-06-25 16:26:02 +02:00
Willem Melching dc19c670b6 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
old-commit-hash: c21ea8b50653bfb3b4c93e7042d7ffa62abfcf2a
2021-06-22 13:25:22 +02:00
Willem Melching ba1a20414e nav: add page to settings (#21208)
* add navigation panel to settings

* am/pm display and dynamic width
old-commit-hash: 3c197953bc19c470547b950cd987af39909c5e9e
2021-06-10 09:59:34 +02:00