Commit Graph

1682 Commits

Author SHA1 Message Date
Adeeb Shihadeh 377722fd5e Update Python packages and pre-commit hooks (#30149)
* Update Python packages and pre-commit hooks

* fixes

* Update common/transformations/README.md

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* fix

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-10-03 15:31:26 -07:00
royjr e156ab41ad ui: better Arabic translations (#30004)
* initial

* fix additional tag

* fix missing semicolon

* fix missing semicolon

* fix missing whitespace/punctuation

* dont translate

* fix deleted source

* mark missing as unfinished

* needs to be fixed

* typo

* dont translate

* translate wifi

* dont translate sidebar

* missing space

* dont translate

* these are good

* missing

* fix unfinished

* more fixes

* fix typo

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* dont translate

* fix vanished translation

* add test_entities_error test

* fix entity

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* dont translate comma prime

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-09-30 15:37:07 -07:00
Adeeb Shihadeh 023792c431 Revert "ui: brighten cameraview (#29744)"
This reverts commit a08cdfdda7.
2023-09-30 15:14:48 -07:00
Lee Jong Mun c7e1eb12c6 kor translation update (#30073) 2023-09-27 10:58:01 -07:00
Jiyong Youn eb7d68ec1d Multilang: improve Korean translation (#30038)
* Improve Korean translation

* Korean translation: fixed typo, improved translations
2023-09-26 02:17:05 -07:00
Adeeb Shihadeh e185e5ffcd move remaining big files into LFS (#30053) 2023-09-25 21:53:03 -07:00
Shane Smiskol a0c8df3d73 ui: update calibration limits text (#30014)
* update translations

* update text

* round down
2023-09-22 21:38:07 -07:00
Terry Huang feeb827369 Chinese translations update (#29993) 2023-09-20 13:58:37 -07:00
royjr da4d4cff7d ui: add missing Arabic translations & show in UI (#29881)
* Update languages.json

* update_translations.py

* update_translations.py + vanish

* fix unfinished

* use arabic language for name and move down based on similar

* goreless

* better

* Revert "better"

This reverts commit f19f6cb5ba31209bd2659a16953fcc20b3ce31e7.

* better again
2023-09-18 01:06:39 -07:00
Alexandre Nobuharu Sato 8a0711a67d Duplicated #include in settings.cc (#29951) 2023-09-17 15:19:43 -07:00
Dean Lee 7816edda57 common/params: not copyable (#29834) 2023-09-07 21:44:58 -07:00
Shane Smiskol 96fd66e4e2 navd: locationd is only trusted source (#29803)
* finish revert for https://github.com/commaai/openpilot/pull/27579

* comment out

* clean up
2023-09-06 15:47:21 -07:00
Dean Lee a1306114bc ui/CameraView: fix divide by zero issue (#29770) 2023-09-06 13:25:40 -07:00
ZwX1616 a08cdfdda7 ui: brighten cameraview (#29744)
* test

* test2

* Revert "test2"

This reverts commit 22e38f82ae81f625f00179413f4c5f869a6de23e.

* Revert "test"

This reverts commit 717490c1bcddcd5339aed85d4716a58495a5c52c.

* looks fine

* mid

* description

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-09-05 10:59:58 -07:00
Harald Schäfer 75ead2c389 Soundd: Give each alert a volume (#29767)
* Give each alert a volume

* Update sound.h
2023-09-04 11:15:06 -07:00
Cameron Clough 08903fb4e0 MapPanel: provide QObject::connect context (#29731) 2023-08-31 11:44:48 +01:00
Shane Smiskol d9fedaa0a4 Revert "ui/driverview: inherit from CameraWidget" (#29718)
Revert "ui/driverview: inherit from CameraWidget (#29661)"

This reverts commit 6c73a924fa.
2023-08-30 14:49:02 -07:00
Dean Lee 6c73a924fa ui/driverview: inherit from CameraWidget (#29661) 2023-08-30 16:41:58 +01:00
Dean Lee a49dfa2969 ui/networkmanager: add #pragma once (#29678)
#pragma once
2023-08-28 11:40:51 -07:00
Korben 4755a30e75 Update French translation (#29664)
* Update French translation - main_fr.ts

Hello

I noticed that some translations were sticking out a bit in the new interface, so I'm proposing an update to correct this. I've arranged for the translations that cause problems to have the same number of letters including spaces as the original sentence so that they fit in the UI.

@maxime-desroches if you can give me your feedback, that would be very kind. Thank you.

* Update selfdrive/ui/translations/main_fr.ts

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-08-28 10:38:42 -07:00
Dean Lee c36774dfba ui: rename QDialogBase to DialogBase (#29675)
rename QDialogBase to DialogBase
2023-08-28 01:57:49 -07:00
Dean Lee 125bd2cd9e ui/network: move to selfdrive/ui/qt/network/ (#29656)
* move to ui/qt/network

* wifimanager->wifi_manager
2023-08-27 15:23:19 -07:00
Dean Lee 3a46a853cb ui/driverview: use common SubMaster (#29660) 2023-08-27 10:57:31 -07:00
Cameron Clough 3d1a6f6146 ui/NavManager: parse location timestamp from API (#29665) 2023-08-27 16:18:42 +01:00
Dean Lee 12073c07af ui/MapSettings: sort destinations by recent activity (#29079) 2023-08-27 15:13:43 +01:00
Dean Lee 0767a6dee5 AGNOS setup: multi-lang support (#25680)
* multilang

* update translations

* Specifies dependency

* load lang from json file

* update translations

* fix white border

* remove stretch

* update translations

* fix tr

* no default language

* update translations

* rm main_en.qm

* cleanup

* cleanup

* add language files

* remove type=unfinish

* build languages before assets

* depends lrelease
2023-08-26 08:17:07 -07:00
Dean Lee b6b255c103 ui/driverview: hide on interactive timeout (#29464)
* hide on interactiveTimeout

* cleanup

* requestDone->closeView

* dont reset timeout on hideEvent

---------

Co-authored-by: sshane <shane@smiskol.com>
2023-08-26 07:47:18 -07:00
Shane Smiskol 74a0a8f7b7 Revert "ui/network: don't refresh on connect (#29651)" (#29653)
This reverts commit 6ea564b33e.

Revert "ui/network: refresh IP address on connect"

This reverts commit 46c32613fc.
2023-08-26 05:23:20 -07:00
Shane Smiskol 46c32613fc ui/network: refresh IP address on connect 2023-08-26 05:15:05 -07:00
Shane Smiskol 6ea564b33e ui/network: don't refresh on connect (#29651)
* don't refresh when showing connected status

* fix

* fix

* can remove that nowe
2023-08-26 04:13:19 -07:00
Dean Lee 9fe3df5d75 ui/networking: show "connecting" immediately after clicking on a network (#29378)
* fix connecting not show

* clear connect state

* pass network by value

* add comment

* move pass by value to anoter pr

* should always use function to set connecting_to_network

* remove connecting when forgetting

* out here

* can't do this :(

* Revert "can't do this :("

This reverts commit e06145202de34142e74667c876dc22442eb30796.

Revert "out here"

This reverts commit 8ca7b47a28854a92d95fcb5c5fc435e140f9af2c.

Revert "remove connecting when forgetting"

This reverts commit 671db0b5e76b6266a48f20bf4a1fd40cad4f90a4.

Revert "should always use function to set connecting_to_network"

This reverts commit a220b518fa2a4103046f9522afada80db76ae90d.

* makes sense to keep this the same

* not in between slots

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-26 03:54:19 -07:00
Dean Lee 547f69f5f3 ui/networking: fix icon label alignment issue (#29650)
fix align issue
2023-08-26 03:19:30 -07:00
Shane Smiskol 6bb97c416f wifiManager: empty path helper (#29648)
empty helper
2023-08-26 01:50:18 -07:00
Dean Lee 17bfff8e10 ui: add translation files to assets.qrc (#29597)
* move translation files to assets.qrc

* cleanup

* add main_en

* dynamically add

* not sure if required

* revert to master

* move translations above assets

* add translations to qrc file

* comment

* now add translations_assets_src to assets sources

* this is built

* add to .gitignore

* consistent name

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-25 19:05:35 -07:00
Shane Smiskol 2b4255b19e ui: rebuild translations when widgets are modified (#29640)
fix translations not being updated for widgets
2023-08-25 17:25:38 -07:00
Justin Newberry 1ee6ed4b16 Linter: remove pylint (#29611)
remove pylint
2023-08-24 16:30:54 -07:00
Shane Smiskol b8fb260558 ui/map: clip vehicle speed to min of 10 m/s (#29601)
* all the changes I want to make

* Revert "all the changes I want to make"

This reverts commit c18132b73eb9bba4d7871631d7cd4155eb7efcd0.

* add initialized

* clip to 10 m/s

* fix bug

* rm

* here?
2023-08-24 15:09:30 -07:00
Adeeb Shihadeh 4917e22615 Minimal build (#29600)
* add build flag for minimum build

* add minimal build

* update

* fix pj

* bump opendbc

* update subaru
2023-08-24 14:58:30 -07:00
Shane Smiskol b9d77afd7e ui/map: initialize speed filter with current speed (#29605)
fix map starting from 0 zoom
2023-08-24 14:53:47 -07:00
Dean Lee b234cb0223 ui: remove Q_PROPERTY from AnnotatedCameraWidget (#28745) 2023-08-24 11:09:26 -07:00
Dean Lee 7bfd3dac81 cpplint: add filter whitespace/comma (#29595) 2023-08-24 10:42:06 -07:00
Dean Lee 792ad7d816 ui/map: delete map after unsubscribing from prime (#29136)
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-08-24 16:51:53 +01:00
Dean Lee 21da5a216f cpplint: add filter build/include_subdir (#29585) 2023-08-24 15:42:17 +01:00
Cameron Clough 05e91c074d ui: hasPrime/primeChanged helper (#29590) 2023-08-24 12:47:22 +01:00
Dean Lee 99279b8eef ui: use enum PrimeType for prime_type (#29491) 2023-08-24 12:26:45 +01:00
Dean Lee 4ea7833060 ui/map_instructions: restore padding (#29548)
* restore padding

* fixes

* fix left and right margins

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-23 23:32:01 -07:00
Dean Lee ac93902983 cpplint: add filter whitespace/forcolon (#29582)
whitespace/forcolon
2023-08-23 22:46:02 -07:00
pencilpusher 472151b6a0 ui/map: keep the car icon aligned to its bearing (#29482)
* rotate icon with current bearing

When user is rotating the map, the car icon should stay fixed on the cars bearing, not the map.

* spacing

* comment

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-23 17:33:58 -07:00
Dean Lee 5fcb7e9038 ui/PrimeUserWidget: cleanup layout (#29492)
cleanup layout

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-23 16:34:18 -07:00
Dean Lee f203648de0 cpplint: add filter whitespace/semicolon (#29568) 2023-08-23 15:00:30 -07:00