Shane Smiskol
4cc6e66509
add _update_state
1 week ago
Shane Smiskol
cd657f35f0
ui: update layout rects on change ( #35545 )
...
* update_layout_rects
* check prev
* about it
* need this since touch can change :(
* looks nicer
* Revert "looks nicer"
This reverts commit 8f36c92675
.
1 week ago
Shane Smiskol
98c34c4b7d
Raylib: generic Widget visibility ( #35543 )
...
* generic visibility
* clean up
* fix op lint
* ? why do we care if it's None
* no need to make it too generic
* do driver state
* noise
* clean up
* draft on listview
* waiting for deanlees listview refactor - Revert "draft on listview"
This reverts commit 8ea4fa2a68
.
* rm demo
1 week ago
Shane Smiskol
3a10bdb1e7
Revert "ui: refactor ListView for generic widget support and simplified item architecture" ( #35542 )
...
Revert "ui: refactor ListView for generic widget support and simplified item …"
This reverts commit 32ae9efb3d
.
1 week ago
Shane Smiskol
5138217673
raylib ui: store rects ( #35538 )
...
* simple version
* use it
* use it in one place
1 week ago
Dean Lee
32ae9efb3d
ui: refactor ListView for generic widget support and simplified item architecture ( #35536 )
...
refactor list view
apply reviews
1 week ago
Dean Lee
723a52626d
ui: simple HTML parser for regulatory Views ( #35525 )
...
* simple HTML parser for regulatory Views
* format
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 week ago
Dean Lee
9d8e4acec9
ui: setup widget->firehose settings navigation ( #35531 )
...
* setup widget->firehose settings navigation
* cleanup
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 week ago
Dean Lee
79319d2447
ui: add driving personality selector to settings ( #35524 )
...
* Add driving personality selector to settings
* icon
* format
* type
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 week ago
Dean Lee
03d2e7b2b0
ui: extract Widget base class to separate lib/widget.py ( #35520 )
...
* extract Widget base class to separate lib/widget.py
* format
* format
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 week ago
Dean Lee
2017bf970f
ui: implement ssh key control ( #35518 )
...
implement ssh key control
1 week ago
Dean Lee
61b8f6f478
ui: Implement core device settings functionality with enhanced dynamic controls ( #35507 )
...
* implement device settings functionality with power controls
* format
* Update selfdrive/ui/layouts/settings/device.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Update selfdrive/ui/layouts/settings/device.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* add comment back
* add comments back
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
1 week ago
Dean Lee
08aeeabc9b
ui: add FirehoseLayout to settings ( #35505 )
...
add FirehoseLayout
1 week ago
Dean Lee
e015e319b7
ui: [fix] remove unused gui_label import in HomeLayout ( #35510 )
...
fix lint issue
1 week ago
Dean Lee
41db89afdc
ui: add setup widget to handing device pairing and firehose mode prompt ( #35503 )
...
* add setup widget to handing device pairing and firehose mode prompt
* format
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 weeks ago
Shane Smiskol
f70592b7e9
raylib: format from today's prs
2 weeks ago
Dean Lee
7b4e2e2430
ui: add ExperimentalModeButton to the home layout for toggling between driving modes ( #35504 )
...
add ExpermentalModeButton
2 weeks ago
Dean Lee
9a1e58102d
ui: display subscription status based on prime state ( #35502 )
...
display subscription status based on PrimeState
2 weeks ago
Dean Lee
0e2f69883b
ui: implement uninstall software in settings ( #35494 )
...
* implement uninstall software in SoftwareLayout
* use enum
2 weeks ago
Dean Lee
f824e6c0ec
ui: implement reset calibration feature in device settings ( #35479 )
...
* implement reset calibration feature in device settings
* check confirm dialog result
* fix null check
* use enum
* use enum
2 weeks ago
Dean Lee
0c6856cf03
ui: implement driver camera preview in settings ( #35480 )
...
* implement driver camera preview in settings
rebase master
* rename to dialog
2 weeks ago
Dean Lee
f0f249ecf8
ui: implement change language in settings ( #35481 )
...
implement change language in settings
2 weeks ago
Dean Lee
a3daca8fd5
ui: implement PrimeAdWidget ( #35496 )
...
implement PrimeAdWidget
2 weeks ago
Shane Smiskol
8220599dd8
raylib: onroad callback setter ( #35493 )
...
* onroad callback setter
* fix name
2 weeks ago
Shane Smiskol
7c5155590f
raylib: simpler callbacks ( #35488 )
...
* simpler no current callback
* clean up
* back
* fixx
* clean up
2 weeks ago
Shane Smiskol
2c59b5f8c6
raylib: common mouse press hook ( #35489 )
...
* something like this
* need these
* rest
* another pr
* what is this merge conflict
f
* fix mouse down
* rm that!
* fix that
* rearrange
* fix bug where mouse held down on widget, dragged off, then let go
* temp
* fix that
* missing init
2 weeks ago
Dean Lee
2031a33188
ui: add experimental mode toggle button with visual indicator ( #35446 )
...
* add experimental mode toggle button with visual indicator
* merge master
* implement a temporary state hold after mouse click"
* move to seperate class
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 weeks ago
Shane Smiskol
c145de96f9
raylib: match QT UI panel order ( #35487 )
...
match QT UI panel order
2 weeks ago
Shane Smiskol
3ce87d0ac9
raylib: base widget class ( #35484 )
...
* use some widgets
* consistent name draw -> render
* more
* rest
2 weeks ago
Shane Smiskol
29830440b4
format raylib ( #35483 )
...
* format raylib
* not really sure what this is
2 weeks ago
Dean Lee
6767bfce44
ui: add ModalOverlay system for unified modal dialog management ( #35478 )
...
add ModalOverlay
2 weeks ago
Shane Smiskol
2000f9aff3
raylib: ban non-cached measure_text_ex ( #35462 )
...
* add
* use it
* Update pyproject.toml
* many more
* comment
2 weeks ago
Dean Lee
3a622cbe25
ui: add WiFi manager to settings ( #35454 )
...
add WiFi manager to settings
2 weeks ago
Dean Lee
6b59f67ab5
ui: implement home layout with fully functional offroad alerts ( #35468 )
...
implement home layout with offroad alerts
2 weeks ago
Dean Lee
459179ff6c
ui: fix settings close button shape and press state ( #35469 )
...
fix button rounding and pressed state display in settings
2 weeks ago
Dean Lee
8b516abb31
ui: replace rl.measure_text with measure_text_cached in sidebar ( #35450 )
...
Replace rl.measure_text with measure_text_cached
2 weeks ago
Dean Lee
96cfd5aaf7
ui: add ListView component and settings layouts with declarative UI ( #35453 )
...
* add flexible ListView component
* fix crash
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2 weeks ago
Dean Lee
88466fb62f
ui: improve onroad layout transitions ( #35458 )
...
improve onroad layout transitions
2 weeks ago
Dean Lee
2e41d959ac
ui: add main UI entry point ( #35422 )
...
* add new main UI entry point
* cleanup
* mv to selfdrive/ui
* fix imports
* handle_mouse_click
* use ui_state
* remove ui_state from gui_app
* setup callbacks
* handle clicks
* put layouts in a dict
* update state in render
* rebase master
* implement settings sidebar
* rename files
2 weeks ago