Commit Graph

744 Commits

Author SHA1 Message Date
Adeeb Shihadeh 17faf6e48f UI: button released -> clicked (#21606)
old-commit-hash: 92157480800d604b9a53873a66ecb7fcdd622535
2021-07-17 13:58:09 -07:00
Adeeb Shihadeh e2c0ec924d more touchups (#21634)
* wait to hide

* same msg

* networking ui fixups

* clicked

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 62077abd3c3dc5824bb55fc5521537c438af2ad5
2021-07-17 00:14:50 -07:00
Adeeb Shihadeh dd31ac2c18 show network connecting indicator (#21631)
* spinner for connecting

* move that

* cleanup

* fix that

* connecting label

* touchups

* cleanup
old-commit-hash: 4f9ac7a1aa6e5d54fbd26991ca2d88edd02245b0
2021-07-16 20:38:31 -07:00
Adeeb Shihadeh 6eea281a19 soundd (#21619)
* refactor alerts

* doesn't go here anymore

* soudd

* handle controls unresponsive

* same check

* fix path

* update sound test

* nice

* fix c2

* add script

* update tests

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 12948e661a6b6424739082ee614d81b4549c2753
2021-07-16 17:30:00 -07:00
sshane b1d4b80f01 keyboard: separate signals (#21629)
* separate signals

* clean up

clean up

clean up

* clean up

* Revert "clean up"

This reverts commit 38c1f18a56a946e97ee05f8e18b1797f060d011b.

* Revert "clean up"

This reverts commit 06430e29bfeaa3dd3a8d7f8911e0f0ba17d35d7b.

* Revert "separate signals"

This reverts commit 77ca8e3d17b34e84d8d1331b565b0b2ef6bc55d0.

* separate signals

* clean up

* caps fix
old-commit-hash: 0f93cb12ac222b8e08a43e12b9bbcc8e5571566d
2021-07-16 17:27:43 -07:00
Adeeb Shihadeh 256dda3c5b nice popup (#21630)
* nicer popup

* cleanup
old-commit-hash: c5bd6735d6ea47e38b594ec7ed10dfede6f75729
2021-07-16 16:23:30 -07:00
Adeeb Shihadeh 5bdb0f7b18 more setup (#21628)
* fix up kb

* blue continue

* dashcam

* clean up
old-commit-hash: 62e63f0573a1d6d719fe3c4715d00b3893306c73
2021-07-16 15:06:10 -07:00
Adeeb Shihadeh b73185b3f1 remove keyboard deadzone (#21627)
* remove keyboard deadzone

* add to height

* float
old-commit-hash: 3e19c737300310b8493e12448050cd41b14e9dde
2021-07-16 13:54:30 -07:00
Willem Melching e3b454a804 nav: update style url
old-commit-hash: 0c3f25ff8597eb692b2d1a001934b83ceefc3fc5
2021-07-16 11:26:43 +02:00
Adeeb Shihadeh 75886ce093 setup qt resources (#21617)
* setup qt resources

* networking

* input

* fix that

* nicer scrolling

* big eye

* fix flashing

* why is it linking against map stuff

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6039f1e7acb286e9b6705f96084ca90d733df34b
2021-07-15 21:30:23 -07:00
sshane a089058fd4 Update wifi setup design (#21604)
* wifi design draft

* ui draft 2

* draft

* updates

* fix spacing

* strength indicator

* font weight

* fix lock icon aspect ratio

* fix font weights

* new checkmark

* fix spacing

* was being applied to everything

* network handles its own padding

* fix spacing

* cleanup

* looks pretty good

* little more

* revert that

* scroll bar

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 0076dd3588921e9dd88c6a871988dded626c38a1
2021-07-15 17:41:01 -07:00
Adeeb Shihadeh 65002c7b53 setup improvements (#21505)
* getting started

* downloading

* some more

* nice checkmark

* nice triangle

* fixup style

* wait for internet

* more responsive

* waiting for internet
old-commit-hash: ddd1342fc548a7a6cc1bdc007eb9d91d9336deb0
2021-07-15 16:47:18 -07:00
sshane 454cdf2d25 networking: remove invalid connections (#21614)
old-commit-hash: 0eefdb506e992aecd0d931139c68138725df3eb6
2021-07-15 15:02:30 -07:00
Adeeb Shihadeh 1e39e578c6 input dialog design (#21607)
* style

* eye

* fix spacing

* use two lines
old-commit-hash: 6a62cf7d5da527b7e69a8ccb691aefd8ad4fdacb
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: 0df9287b7f28ea08a3d3c592acb4ae3a63c4f45a
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: 3f8c63a4d9102f542cda0e942e2e99f29562c0dc
2021-07-14 16:46:36 -07:00
Adeeb Shihadeh f03b70a33b reset improvements (#21603)
* reset design

* clean up
old-commit-hash: deb67ff870c48d45341657be10625f75a184117a
2021-07-14 14:37:33 -07:00
ShaneSmiskol b5f5ce739b Update networking comment
old-commit-hash: bb09f68783c385eb8003d980e047e956c2442026
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: cdc386d5bb2686bd5af98cfca344ab66d930ca6f
2021-07-14 13:27:18 -07:00
Willem Melching 52ace7309a nav: force request retry
old-commit-hash: baa0e47e50e6c39c04cd374be1ac6db9eafb752b
2021-07-14 15:46:18 +02:00
sshane 748adb4c63 ui: fix finish setup button (#21538)
old-commit-hash: c10d46d336d91b9eb1732477d58351022485ce11
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: f554dc0ae624527234931946305a7d010e1230b0
2021-07-13 15:37:19 +02:00
Willem Melching 2417bac975 nav: cleanup settings page (#21561)
old-commit-hash: a148bcb3efdaf34e41ad8392f7656ad6c7662f8b
2021-07-12 13:44:30 +02:00
Adeeb Shihadeh d9bb0b8001 sidebar: only show gps indicator while onroad
old-commit-hash: 7211a4f6cca4373e59d1234ca4aa68a255596617
2021-07-12 01:34:30 -07:00
Adeeb Shihadeh 569f54aefa keyboard improvements (#21502)
* design

* period

* one more

* blue

* cleanup
old-commit-hash: 89c42041ece9bd7e70368ab50a1150eba1cfaaa4
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: a2f9259ebf2fb3c98dc560221e0f33f20955d825
2021-07-11 15:26:28 -07:00
Adeeb Shihadeh 801ab5f5d6 nav: restore zoom and position on double click (#21551)
old-commit-hash: 86c255e3e881c81d6066b04f1d118fddb39b4a81
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: bec054116f4eea51c3ed9db606076be4c460d5af
2021-07-10 22:56:18 -07:00
sshane 9847b9b661 networking: clean up refreshing (#21537)
old-commit-hash: eb37e409ee085b8489c656e350b47f5b5930aa0a
2021-07-10 22:28:24 -07:00
Adeeb Shihadeh c3e445a486 UI: fix mismatch between checked button and panel when dragging
old-commit-hash: 0f6bb5ae6286ecb944de4c7f20299730ba1fccf5
2021-07-10 17:19:09 -07:00
Adeeb Shihadeh 468032d27e remove gps accuracy from sidebar
old-commit-hash: 8b6cf406abcb45496ca4f5d57291bde6e44c4910
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: e836ed7f6e9fd53f386b8dd07bcb0aa39b8f571f
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: aee2b893a7467a05b6d49c16c5b6e0b6cf2f9275
2021-07-10 01:43:47 -07:00
Willem Melching 0c30fbbe62 nav: hide ETA on destination reached
old-commit-hash: 35a5aae334e2409c432499a868fae69bd6ceb285
2021-07-09 11:28:53 +02:00
Willem Melching 8155c856f8 nav: cleanup error messages
old-commit-hash: 779d6479b402f3f73d11910adb62547a37d12cc4
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: 47be6c751ec69d2f8957c9a1c6f7776a8bde4f7e
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: 9ea913bcc812ed55d2f8204ced892b81f20af326
2021-07-08 14:33:58 +02:00
Dean Lee cc75e9ba9f UI: remove zoom from struct UIState (#21520)
old-commit-hash: 13b2ce9391ca132a1d4fbeb7e40c32cc1f3264e0
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: 648639787c318d4d39b64da07f518dc55b6c2f86
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: b7f8c6ad03e70b9b73ef67238c7a5946b315483e
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: 5be75f53541c83f0681e55959023bc03758ac62a
2021-07-07 21:06:50 -07:00
Adeeb Shihadeh b4e26fa46b fix offroad alert precedence (#21517)
old-commit-hash: 5a20cc6cae95f0f3eb7518acbce8fa380fb9ad80
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: 53430f87a0a03e59221e6a4d9157eb958378766f
2021-07-07 16:03:55 -07:00
Willem Melching f1fdf6e9c6 nav: add source to route logging
old-commit-hash: d1010008525d5fe4d7e2641f743c3b2e890d56df
2021-07-07 16:22:45 +02:00
Adeeb Shihadeh cba45a5416 fix default tethering password
old-commit-hash: e773749f32065d65604a4213badce8f33eca8ceb
2021-07-06 19:33:08 -07:00
Dean Lee 1f9a5d6bc3 installer.cc: fix wrong db path (#21494)
old-commit-hash: 41459887560bd25eb600804e2b8e125f977d965b
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: ec00e71b643e6bb6abcb1f977cb51df31bd8c058
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: a334203f7b656a10085e5d4b808a0787b57ce3d1
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: f96b3cc597b5b700edd2e81fdaee34e01895bc97
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: 32d5239912b592078faf50628e0f08b07a0eb755
2021-07-04 15:34:25 +02:00