* start at param
* start by sending personality
* change to personality
* POC: button changes personality
* what's wrong with this?
* fix
* not really possible but fuzzy test catches this
* there's always a typo
* dang, we're dropping messages
* clean up
* no comment
* bump
* rename
* not all cars yet
* works but at what cost
* clean up
* inside settings
* write param so we save the distance button changes
* setChecked activates buttonToggled and already writes param!
* don't need this, we update from longitudinalPlan on changes
* some clean up
* more
* ui
* allow some time for ui to receive and write param
* plannerd: only track changes in case no ui
* Revert "plannerd: only track changes in case no ui"
This reverts commit 2b081aa6ce.
* write in plannerd as well, I assume this is atomic?
* don't write when setting checked (only user clicks)
* better nane
* more
* Update selfdrive/controls/lib/longitudinal_planner.py
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* doesn't write param now
* ParamWatcher is nice
* no debug
* Update translations
* fix
* odd drain sock proc replay behavior
* vanish
* Revert "odd drain sock proc replay behavior"
This reverts commit 29b70b3941.
* add GM
* only if OP long
* move personality to controlsState, since eventually it won't be exclusive to long planner
more
bump
* diff without translations
* fix
* put nonblocking
* CS should start at up to date personality always (no ui flicker)
* update toggle on cereal message change
* fix
* fix that
* ubmp
* mypy doesn't know this is an int :(
* update translations
* fix the tests
---------
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 3d63c7093a
* show confirmation toggle on first toggle of experimental mode
* don't store confirmation if users toggle off *after* this PR
* refactor
* cleaner
* not true
* try here
old-commit-hash: 2ad9a4f95a
* toggle confirmation
* change text
* not for e2e
* get current description
* remove are you sure
* merge rich text and confirmation dialogs
* add some line breaks
* font colour
* fix padding a little
* revert
* updated toggle design
old-commit-hash: 91a1f1a91e
* good updater experience
* set params on startup
* no fetch on first loop
* little type hinting
* little more
* update translations
* always set params with valid overlay
* wrap check
* use the param
* more wrapping
* vanish
* cleanup
* remove that
old-commit-hash: c4e63d14ab
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
old-commit-hash: 655a64b603
* fix unable to scroll on 'Regulatory' page
deleteLater after hide
* remove alert
* override exec
* set MousePressEventDelay to 0
* set to 0.01
* cleanup
* check event->pos()
old-commit-hash: dc3d94d662
* git stat
* first panel and button reset
* progress
* toggles parent + list
* check if label nullptr
* style
* fixes
* fixes
* remove line
* white space
* tabs and spaces
old-commit-hash: 928fbecec0
* disables reset calib
* works for all buttons
* naming convention + final works on PC
* stylesheets + works on manager.py
* fixing stylesheet
* add that backg
* no reviewing while onroad
* better disabled hint
* little cleanup
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d63dab950a
* class ClickableLabel
* scrollable widget
* rename to controls.cc
* rename to AbstractControl
* cleanup
* remove useless stylesheets
* change button stylesheet
* cleanup
* better margin
* cleanup
cleanup
* remove bottom line from AbstractControl
* no scrolling for now
* add those back
* style
* clean up
* don't need a function for that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8be2e07f4f