Commit Graph

731 Commits

Author SHA1 Message Date
Adeeb Shihadeh 1e39e578c6 input dialog design (#21607)
* style

* eye

* fix spacing

* use two lines
old-commit-hash: 6a62cf7d5d
2021-07-15 02:56:21 -07:00
sshane 6817770887 keyboard: fix backspace (#21602)
* fix styling and backspace

* global for InputDialog

* revert
old-commit-hash: 0df9287b7f
2021-07-14 21:21:22 -07:00
Adeeb Shihadeh 6c3a5179bf installer improvements (#21588)
* installer ui

* progress

* works

* cleanup

* header

* exit

* small

* revert that
old-commit-hash: 3f8c63a4d9
2021-07-14 16:46:36 -07:00
Adeeb Shihadeh f03b70a33b reset improvements (#21603)
* reset design

* clean up
old-commit-hash: deb67ff870
2021-07-14 14:37:33 -07:00
ShaneSmiskol b5f5ce739b Update networking comment
old-commit-hash: bb09f68783
2021-07-14 13:39:39 -07:00
sshane 12536138c0 networking: update on show (#21575)
* refresh on show event

* setup fix

* show scanning message if no networks nearby

* setup isn't ready in 1 second, use signal again

* clean up

* clean up

* Update selfdrive/ui/qt/offroad/networking.cc

* Update selfdrive/ui/qt/offroad/networking.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cdc386d5bb
2021-07-14 13:27:18 -07:00
Willem Melching 52ace7309a nav: force request retry
old-commit-hash: baa0e47e50
2021-07-14 15:46:18 +02:00
sshane 748adb4c63 ui: fix finish setup button (#21538)
old-commit-hash: c10d46d336
2021-07-13 14:58:54 -07:00
Dean Lee c351c71641 ui/update_line_data: fix assert when max_idx = TRAJECTORY_SIZE-1 (#21543)
old-commit-hash: f554dc0ae6
2021-07-13 15:37:19 +02:00
Willem Melching 2417bac975 nav: cleanup settings page (#21561)
old-commit-hash: a148bcb3ef
2021-07-12 13:44:30 +02:00
Adeeb Shihadeh d9bb0b8001 sidebar: only show gps indicator while onroad
old-commit-hash: 7211a4f6cc
2021-07-12 01:34:30 -07:00
Adeeb Shihadeh 569f54aefa keyboard improvements (#21502)
* design

* period

* one more

* blue

* cleanup
old-commit-hash: 89c42041ec
2021-07-11 22:30:33 -07:00
Adeeb Shihadeh e24ff01513 sidebar: indicator for GPS fix (#21556)
* sidebar: indicator for GPS fix

* fix cutoff
old-commit-hash: a2f9259ebf
2021-07-11 15:26:28 -07:00
Adeeb Shihadeh 801ab5f5d6 nav: restore zoom and position on double click (#21551)
old-commit-hash: 86c255e3e8
2021-07-11 00:32:11 -07:00
Adeeb Shihadeh c583cc99a3 nav: scroller for recents (#21549)
* nav: scroller for recents

* stretch

* one more stretch
old-commit-hash: bec054116f
2021-07-10 22:56:18 -07:00
sshane 9847b9b661 networking: clean up refreshing (#21537)
old-commit-hash: eb37e409ee
2021-07-10 22:28:24 -07:00
Adeeb Shihadeh c3e445a486 UI: fix mismatch between checked button and panel when dragging
old-commit-hash: 0f6bb5ae62
2021-07-10 17:19:09 -07:00
Adeeb Shihadeh 468032d27e remove gps accuracy from sidebar
old-commit-hash: 8b6cf406ab
2021-07-10 14:40:11 -07:00
Dean Lee f587147efe OffroadHome: separate the update and alert buttons (#21326)
* refactor

* better loop

* remove stretch

* only refreshed by timer

* fix wrong bg color

* descending sort alert labels  by severity

* remove duplicate stylesheet

* Update selfdrive/ui/qt/widgets/offroad_alerts.cc

* rebase master

* qt best pratice

* split offroadAlerts

* only show first time

* short variable name

* space

* don't do refresh in every showEvent

* Revert "don't do refresh in every showEvent"

This reverts commit 2b0032fb0af7138e9d9df1ad052c589fd96d2e05.

* cleanup

rename name to key

cleanup

* add stretch back

* hide alert widgets when not alerts

* rebase master

* fix flash on startup

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e836ed7f6e
2021-07-10 14:09:05 -07:00
Dean Lee 24563f4b11 Qt: new class ElidedLabel (#21277)
* shorten ssid

* truncate with ellipsis

* rename to trancate

* truncate 22 characters

* elidedLabel

* trimmed

* remove function elidedString

* cache elidedTest

* rebase master

* minimizeSizeHint

* add sizeHint

* cleanup

* revert

* inherit from QLabel

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aee2b893a7
2021-07-10 01:43:47 -07:00
Willem Melching 0c30fbbe62 nav: hide ETA on destination reached
old-commit-hash: 35a5aae334
2021-07-09 11:28:53 +02:00
Willem Melching 8155c856f8 nav: cleanup error messages
old-commit-hash: 779d6479b4
2021-07-09 11:16:51 +02:00
Willem Melching e0378d41cb Refactor camerad exposure logging (#21506)
* simplify gain logging

* clean up metadata

* log grey fractions

* those are not used

* set grey fracs in message

* fix qcom
old-commit-hash: 47be6c751e
2021-07-08 15:22:00 +02:00
Willem Melching c042bbf09c nav: various cleanup (#21521)
* nav: various cleanup

* eta resize instant

* show
old-commit-hash: 9ea913bcc8
2021-07-08 14:33:58 +02:00
Dean Lee cc75e9ba9f UI: remove zoom from struct UIState (#21520)
old-commit-hash: 13b2ce9391
2021-07-08 10:42:34 +02:00
sshane 9c85470a56 Fix active AP (#21511)
* Revert "Qt logging through cloudlog (#21452)"

This reverts commit c8c9177899ab187bc8f6c1216d0d80c37f2a7a28.

* set activeAp after scan so it's not blocking

* Revert "Revert "Qt logging through cloudlog (#21452)""

This reverts commit d9689a55057d53f7afe8e2ea28542eb80175a705.

* clean up

* move to another PR
old-commit-hash: 648639787c
2021-07-07 21:48:46 -07:00
Dean Lee 86cc8f615c qt/spinner: reduce CPU usage from 17% to 12% (#21495)
* faster spinner

* initApp

* no brightness

* Update selfdrive/ui/qt/util.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b7f8c6ad03
2021-07-07 21:19:56 -07:00
Dean Lee 0c59f626c7 input.cc: close dialog when parent is hidden (#21318)
* close dialog when parent is hidden

* Q_OBJECT

* apply reviews

* rebase master

* rebase master

* fix wroing minLength

* merge master
old-commit-hash: 5be75f5354
2021-07-07 21:06:50 -07:00
Adeeb Shihadeh b4e26fa46b fix offroad alert precedence (#21517)
old-commit-hash: 5a20cc6cae
2021-07-07 20:07:27 -07:00
Adeeb Shihadeh 30e5122004 terms & conditions (#21504)
* looks pretty good

* little closer

* ugh qml

* margin

* scrollbar

* cleanup

* fix line height

* tighter

* little more
old-commit-hash: 53430f87a0
2021-07-07 16:03:55 -07:00
Willem Melching f1fdf6e9c6 nav: add source to route logging
old-commit-hash: d101000852
2021-07-07 16:22:45 +02:00
Adeeb Shihadeh cba45a5416 fix default tethering password
old-commit-hash: e773749f32
2021-07-06 19:33:08 -07:00
Dean Lee 1f9a5d6bc3 installer.cc: fix wrong db path (#21494)
old-commit-hash: 4145988756
2021-07-06 10:14:07 -07:00
Adeeb Shihadeh 93461be530 add recover mode to factory resetter (#21492)
* recover mode

* clean up

* less margin

* use inter

* little nicer

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec00e71b64
2021-07-05 23:48:10 -07:00
Adeeb Shihadeh be6b9b024c training guide fixups (#21485)
* training images

* wide training guide

* fixup some images

* cleanup

* one more

* release files
old-commit-hash: a334203f7b
2021-07-05 01:31:31 -07:00
sshane 52c951e797 Tethering: Edit password while enabled (#21457)
* restart tethering if password is edited

* fixes

* connect straight to WifiManager

* revert
old-commit-hash: f96b3cc597
2021-07-04 18:17:46 -07:00
Willem Melching c266cffa97 nav: improve logging (#21477)
* nav: add logging

* handle errors in route reply
old-commit-hash: 32d5239912
2021-07-04 15:34:25 +02:00
sshane 8256cd7564 Networking: use active AP signal (#21461)
* use active ap signal

* working
old-commit-hash: d2d1aaad08
2021-07-02 13:30:42 -07:00
Willem Melching 9d4829523d nav: don't set FBO, render when not loaded and resize once (#21468)
* nav: don't set FBO and resize once

* always update

* when visible
old-commit-hash: 06acd76d6d
2021-07-02 15:19:33 +02:00
Willem Melching 34678fb7fb Qt logging through cloudlog (#21452)
* Qt logging through cloudlog

* sort imports

* rename to swaLogMessageHandler

* move to util

* info is high enough

* smaller diff
old-commit-hash: 54b6a9f121
2021-07-02 14:01:59 +02:00
Adeeb Shihadeh 82731ecb31 UI: faster offroad transition (#21466)
old-commit-hash: 30683e6291
2021-07-02 00:37:30 -07:00
sshane 6755365476 Networking: populate tethering password (#21455)
* populate password from hotspot connection

move to setup()

populate tethering password

fix password editing

setup tethering when editing password or enabling

fix

* fixes

* last fix, don't activate when adding

* check before

* if not
old-commit-hash: 146973da7f
2021-07-01 19:59:02 -07:00
sshane 1226f91637 Networking: refresh once in background (#21453)
clean up

move to setup()
old-commit-hash: 07d3934996
2021-07-01 18:32:55 -07:00
sshane c110154869 Networking: Use common header (#21456)
old-commit-hash: 4cdd26596e
2021-07-01 15:33:51 -07:00
sshane d28d90818d Wait for adapter to setup WifiManager (#21432)
* wait for adapter to initialize wifimanager

* clean up

* formatting

* don't try to use adapter when not available

* Revert "don't try to use adapter when not available"

This reverts commit 3887fc87ebfea2e8acc6b440b4c7a49b0feb1975.

* only tetheringEnabled for now

* request scan once adapter is up (prev behavior)

* populate introspection cache when we need it

populate introspection cache when we need it
old-commit-hash: 924e8d5c28
2021-07-01 14:01:29 -07:00
ShaneSmiskol 68ac29452d Fix logging unsupported empty ssid networks
old-commit-hash: a680d0cea1
2021-06-30 17:28:06 -07:00
sshane 90e49777ec Networking: Only refresh when visible (#21445)
* only refresh when visible

* catch other case
old-commit-hash: 4000d4a8d2
2021-06-30 17:24:44 -07:00
ShaneSmiskol 3a6b434870 Revert "debugging"
This reverts commit 66852f118478b5bdc65ce66644b6426b9d3bddac.

old-commit-hash: f1ee79ef14
2021-06-30 12:39:15 -07:00
ShaneSmiskol 098b580197 debugging
old-commit-hash: 67e32b4a3c
2021-06-30 12:38:53 -07:00
Willem Melching 3ad659a211 nav: truncate favorite length
old-commit-hash: 240214afc0
2021-06-30 16:14:12 +02:00