BigUI WIP: Tile title and description cleanup

This commit is contained in:
firestarsdog
2026-04-25 22:08:38 -04:00
parent 6d0559c6d9
commit a1a781bcf6
@@ -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,