From a1a781bcf6df73987a661f864949bc5731add70b Mon Sep 17 00:00:00 2001 From: firestarsdog <229254897+firestarsdog@users.noreply.github.com> Date: Sat, 25 Apr 2026 22:08:38 -0400 Subject: [PATCH] BigUI WIP: Tile title and description cleanup --- .../ui/layouts/settings/starpilot/main_panel.py | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/selfdrive/ui/layouts/settings/starpilot/main_panel.py b/selfdrive/ui/layouts/settings/starpilot/main_panel.py index de1e25d147..cd67178ee1 100644 --- a/selfdrive/ui/layouts/settings/starpilot/main_panel.py +++ b/selfdrive/ui/layouts/settings/starpilot/main_panel.py @@ -27,44 +27,38 @@ STARPILOT_ICONS_DIR = "toggle_icons" class StarPilotLayout(Widget): CATEGORIES = [ { - "title": "Alerts and Sounds", + "title": "Alerts & Sounds", "icon": "icon_sound.png", - "desc": "Adjust alert volumes and enable custom notifications.", "buttons": [("MANAGE", "SOUNDS", 0)], "color": "#E63956", }, { "title": "Driving Controls", "icon": "icon_steering.png", - "desc": "Fine-tune custom StarPilot acceleration, braking, and steering controls.", "buttons": [("DRIVING MODEL", "DRIVING_MODEL", 0), ("GAS / BRAKE", "LONGITUDINAL", 0), ("STEERING", "LATERAL", 0)], "color": "#3B82F6", }, { - "title": "Navigation", + "title": "Maps & Navigation", "icon": "icon_navigate.png", - "desc": "Download map data for the Speed Limit Controller.", "buttons": [("MAP DATA", "MAPS", 0), ("NAVIGATION", "NAVIGATION", 0)], "color": "#10B981", }, { - "title": "System Settings", + "title": "System", "icon": "icon_system.png", - "desc": "Adjust device behavior, manage storage and backups, and access maintenance tools from one touch-friendly settings page.", "buttons": [("MANAGE", "SYSTEM", 0)], "color": "#D946EF", }, { - "title": "Theme and Appearance", + "title": "Appearance", "icon": "icon_display.png", - "desc": "Customize the look of the driving screen and interface, including themes!", "buttons": [("APPEARANCE", "VISUALS", 0), ("THEME", "THEMES", 0)], "color": "#8B5CF6", }, { "title": "Vehicle Settings", "icon": "icon_vehicle.png", - "desc": "Configure car-specific options and steering wheel button mappings.", "buttons": [("VEHICLE SETTINGS", "VEHICLE", 0), ("WHEEL CONTROLS", "WHEEL", 0)], "color": "#64748B", }, @@ -222,7 +216,7 @@ class StarPilotLayout(Widget): tile = HubTile( title=tr(cat["title"]), - desc=tr(cat["desc"]), + desc=tr(cat.get("desc", "")), icon_path=f"{STARPILOT_ICONS_DIR}/{cat['icon']}", on_click=on_click, starpilot_icon=True,