Cameron Clough
2722e12e62
fix(system/ui): typo
2025-05-20 15:48:44 +01:00
Cameron Clough
5667583198
system/ui: define character set for loading fonts ( #35298 )
...
* system/ui: define font character set
* remove debug print statement
* shorter
2025-05-20 15:47:10 +01:00
Cameron Clough
69799fceb4
Revert "system/ui: remove special currency and symbol characters from keyboard ( #35291 )"
...
This reverts commit f646b4a17b .
2025-05-20 14:54:06 +01:00
Dean Lee
cf7a295a2c
system/ui: add key repeat functionality for backspace ( #35288 )
...
add key repeat functionality for backspace
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
2025-05-20 11:01:31 +01:00
Dean Lee
f646b4a17b
system/ui: remove special currency and symbol characters from keyboard ( #35291 )
...
* remove special currency and symbol characters from keyboard
* bring back
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
2025-05-20 10:46:56 +01:00
Dean Lee
f00bead198
system/ui: improve button click logic for proper press-release interaction ( #35289 )
...
improve button click logic for proper press,release interaction
2025-05-20 10:22:34 +01:00
Cameron Clough
d6e9df98e3
system/ui: WPA3 is unsupported ( #35286 )
2025-05-19 19:18:48 +01:00
Dean Lee
41db0557e9
system/ui: fix Wi-Fi conneciton flow for open networks ( #35285 )
...
fix Wi-Fi conneciton flow for open networks
2025-05-19 18:56:25 +01:00
Cameron Clough
6eecb4f986
system/ui: network widget improvements ( #35284 )
...
* larger font size for confirmation dialog
* try this
* forget btn color
* text color
* font size
* caps
* Revert "caps"
This reverts commit a3e6cfbf053e46158036728cbcd9d8bd9f99d5e5.
* too much
* fixme
* do that?
* keyboard: reset state on clear
2025-05-19 17:31:42 +01:00
Dean Lee
38c1bd096b
system/ui: Improve UI rendering smoothness for scaled display ( #35280 )
...
improve smoothness
2025-05-19 14:56:45 +01:00
Cameron Clough
9bbbff14d5
system/ui: don't reset on PC
2025-05-19 11:41:09 +01:00
Cameron Clough
0c013f6186
system/ui: add caps lock to keyboard ( #35277 )
...
* add new icons shift-fill and capslock-fill, rm capslock
* SHIFT_KEY_ON, SHIFT_KEY_OFF
* capslock
* rm arrow-down
* a lot simpler
* only one
* just use time
* layout name
* rename shift
* CONSTANT
2025-05-19 11:28:04 +01:00
Jason Wen
ebe56410d3
MADS: Steering Mode on Brake Pedal Press ( #924 )
...
* MADS: Steering Mode on Brake Pedal Press
* bump
* bump
* descriptions
* bump
* bump
* no tesla or rivian yet
* codecov v5
* Revert "codecov v5"
This reverts commit a347e3fb27c0fbf2510b69fe8148b254fa93b8de.
* cleanup
* refactor description
* sync name
* fix
* make sure we don't allow if brake was already being pressed
* fix
* diff
* fix description
* in another PR
2025-05-19 01:25:11 -04:00
Cameron Clough
6640986622
system/ui: increase keyboard key font/icon size ( #35276 )
2025-05-19 01:31:38 +01:00
Adeeb Shihadeh
f1ba6c389b
quick repo garbage collection ( #35274 )
...
* start gc
* lil more
* debug
* no sound
* add back
2025-05-18 16:59:53 -07:00
Cameron Clough
d7bf309eca
system/ui: update keyboard enter key ( #35275 )
...
* system/ui: update keyboard enter key
- use arrow-right icon
- use primary color
* format
2025-05-19 00:58:33 +01:00
Cameron Clough
15c7d556f6
Reapply "system/ui: add SCALE env var ( #35272 )" ( #35273 )
...
* Reapply "system/ui: add SCALE env var (#35272 )"
This reverts commit e2569a8b32 .
* set mouse scale factor
2025-05-19 00:33:52 +01:00
Cameron Clough
e2569a8b32
Revert "system/ui: add SCALE env var ( #35272 )"
...
This reverts commit ed0f812995 .
2025-05-19 00:27:35 +01:00
Adeeb Shihadeh
ed0f812995
system/ui: add SCALE env var ( #35272 )
...
* ui: add SCALE env var
* linting
* cleaner
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
2025-05-19 00:21:20 +01:00
Cameron Clough
da670108e7
system/ui: all font weights ( #35255 )
2025-05-17 00:23:55 +01:00
Cameron Clough
8097a92515
zipapp pack ( #35253 )
...
Used to ship python UI in agnos without an openpilot clone
* add a main method to target
* pack script
* validate inputs
* refactors
* copy into temp, dont keep this
* cleanup
* help messages
* rename to pack.py
* pack.py
* updates for device
* moar
* don't use cereal
* just log normally
* use importlib.resources
* revert
* Revert "don't use cereal"
This reverts commit 7208524d422d88a1b07e209359aeb25e8b3bf4e7.
* fix cereal?
* cleanup
* Revert "cleanup"
This reverts commit 921edfe5020f244dbdf4f26767af7c98ca837d1c.
* cython hotfix
* Reapply "cleanup"
This reverts commit 9b54552f784dea1b1eb4ffc03937571e4fc851ba.
* more cleanup
* any script?
* slightly clearer
* rm print
* nothing python should use SVGs
---------
Co-authored-by: Trey Moen <trey@moen.ai >
2025-05-16 22:24:03 +01:00
Dean Lee
09fde3c3ad
system/ui: Use OPENPILOT_URL instead of google.com for network connectivity check ( #35254 )
...
check OPENPILOT_URL
2025-05-16 21:56:41 +01:00
Dean Lee
71e3fd7183
system/ui: use icon for special characters ( #35248 )
...
* use icon for special characters
* add icon for SHIFT_DOWN_KEY
2025-05-16 19:43:03 +01:00
Dean Lee
5babe18184
system/ui/setup: fix WiFi manager UI element overlap issues ( #35251 )
...
fix ui overlap issue
2025-05-16 19:24:04 +01:00
Dean Lee
6adc7e6bdb
system/ui: disable continue button when no network connecton in setup.py ( #35249 )
...
disable continue button when no network connecton
2025-05-16 19:10:58 +01:00
Dean Lee
b740d23dd0
system/ui: display icons in wifi manager ( #35244 )
...
display icons in wifi manager
2025-05-16 13:51:08 +01:00
Dean Lee
dcfbb99b13
system/ui: add password visibility toggle with eye icon to keyboard ( #35246 )
...
* add password visibility toggle with eye icon to keyboard
* added show_password_toggle
2025-05-16 13:50:27 +01:00
Cameron Clough
512d83cc36
ui(raylib): setup.py ( #35140 )
...
* setup.py
* better font
* use gui_button
* btn
* fix button and triangle
* low voltage text color
* fix network page
* HARDWARE.get_os_version()
* typing
* white title
* update default text color
* use default font color
* fix software screen
* fix software screen
* radio font size
* line length
* fix regex
* draw svgs
* comment is out of date
* add cairosvg
* use cairosvg
* remove unused import
* support other image types
* revert origin
* fix setup warning icon
* fix
* remove cairosvg
* use pngs
* wrap
* fix disabled style
* TODO
* revert uv.lock
* use new file paths (not rasterized yet)
* oops
* fixes
* params not used
* network check thread
* oops
* fix custom URL and download failed screens
* clear keyboard
* rm
* fixes
* show full error message
* check network type
2025-05-16 12:41:20 +01:00
Cameron Clough
83679bd856
selfdrive/assets: rasterize SVGs ( #35243 )
...
* selfdrive/assets: rasterize SVGs
* do entire assets dir
* fixed size - 4096px is a lot
* optimise them too
* use inkscape
* regenerate
* abandon runtime svg
2025-05-16 01:33:16 +01:00
Cameron Clough
ec208f2d3d
cleanup selfdrive/assets ( #35241 )
...
* remove unused assets
* these are icons
* these are images
* fix
* fix
* Revert "remove unused assets"
This reverts commit 95d1a800de7e830df15d88e8e329aeadd4548b2f.
* move these too
2025-05-16 00:26:13 +01:00
Cameron Clough
6c03e9472d
system/ui: disabled button styles ( #35236 )
2025-05-15 16:42:32 +01:00
Dean Lee
84e9b75983
system/ui: fix WiFi manager shutdown task errors ( #35204 )
...
fix WiFi manager shutdown task errors
2025-05-14 11:20:39 -07:00
Dean Lee
f1c0109c89
system/ui: Fix crash when exiting the application with CTRL+C (KeyboardInterrupt). ( #35221 )
...
handle KeyboardInterrupt
2025-05-14 11:18:08 -07:00
Dean Lee
b1bdab0c90
system/ui: improve texture caching ( #35222 )
...
improve texture caching
2025-05-14 16:11:38 +01:00
Dean Lee
c57f576436
system/ui: fix FPS drop issues ( #35220 )
...
set VSYNC flag only when the env is set
2025-05-14 14:49:47 +01:00
Maxime Desroches
3fd05d2ace
more robust modem
2025-05-13 21:05:17 -07:00
Dean Lee
73ff9dc944
system/ui: add require_full_screen to WifiManagerUI ( #35191 )
...
add require_full_screen to WifiManagerUI
2025-05-13 14:34:17 +01:00
Dean Lee
896dabb190
system/ui: add right-side text eliding to gui_label ( #35201 )
...
add optional right-side text eliding to gui_label
2025-05-13 14:31:50 +01:00
Dean Lee
b5545a6736
system/ui: confirm dialog always opens in fullscreen mode ( #35192 )
...
confirm dialog always opens in fullscreen mode
2025-05-12 22:00:18 +01:00
Dean Lee
ce4fda1f92
system/ui: add minimum WIFI password length validation ( #35190 )
...
* add minimum WIFI password length validation
* add min text size to keyboard
* disable enter if text size<min size
* add MAX_PASSWORD_LENGTH
* disable enter key
* set min_text_size for demo
2025-05-12 19:01:25 +01:00
Dean Lee
8c995ab26d
system/ui: implement CameraView widget ( #35185 )
...
* initial commit
* run at 60hz, nonblock
* graceful cleanup
* re-position
* rename
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
2025-05-12 17:32:20 +01:00
Dean Lee
02125f6862
system/ui: fix cursor position in inputBox mouse click handler ( #35189 )
...
fix cursor position in inputBox mouse click handler
2025-05-12 16:59:00 +01:00
Cameron Clough
43054a56c2
system/ui: fix tethering ssid ( #35188 )
...
system/ui: fix tethering ssid when no params
2025-05-12 15:39:48 +01:00
Cameron Clough
59fbeb6070
system/ui: keyboard demo script
2025-05-12 15:28:36 +01:00
Dean Lee
2b32325be1
system/ui: Full-Featured InputBox Component ( #35178 )
...
custom input box component
2025-05-12 15:21:12 +01:00
Adeeb Shihadeh
35dbdf9124
raylib: fwd everything to cloudlog
2025-05-11 11:08:50 -07:00
Dean Lee
e62b6a38e9
system/ui: set keyboard to use full window area ( #35181 )
...
set keyboard to use full window area
2025-05-11 11:06:04 -07:00
Dean Lee
bfadab078e
system/ui: set log level to WARNING to reduce noise ( #35180 )
...
* set log level to WARNING to reduce noise
* custom callback handling for raylib logs
2025-05-11 11:05:59 -07:00
Dean Lee
01867f1b2b
system/ui: integrate WifiManagerUI into Updater ( #35177 )
...
integrate WifiManagerUI into Updater
2025-05-11 14:40:06 +01:00
Dean Lee
bbeb37d726
system/ui: add MultiOptionDialog for selection from scrollable lists ( #35176 )
...
* add MultiOptionDialog for selection from scrollable lists
* mv
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
2025-05-11 08:43:23 +01:00