mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-28 02:52:05 +08:00
ew
This commit is contained in:
@@ -351,15 +351,3 @@ Example constraints in `_enforce_sp_constraints()`:
|
||||
- No CarParams: remove all car-dependent params
|
||||
- No longitudinal: remove `ExperimentalMode`
|
||||
- No ICBM: remove `IntelligentCruiseButtonManagement`
|
||||
|
||||
## Pre-Commit Checklist
|
||||
|
||||
- [ ] Param registered in `common/params_keys.h`
|
||||
- [ ] Item in `settings_ui.json` with correct widget type and `title`
|
||||
- [ ] `offroad_only` enablement for settings that shouldn't change while driving
|
||||
- [ ] `needs_onroad_cycle: true` for settings that trigger `OnroadCycleRequested` on the device UI
|
||||
- [ ] Per-option enablement rules (if applicable)
|
||||
- [ ] Section-level visibility/enablement rules (if applicable)
|
||||
- [ ] `blocked: true` for device-only settings (if applicable)
|
||||
- [ ] `title_param_suffix` for dynamic titles (if applicable)
|
||||
- [ ] `python sunnypilot/sunnylink/tools/validate_settings_ui.py` passes
|
||||
|
||||
Reference in New Issue
Block a user