Files
trail-mate/modules/ui_shared
Trail Mate Dev f040faed0b fix(chat-ui): repair pager chat and contact protocol labels (#46 #49 #51)
Carry conversation timestamps into the legacy pager list, force names/previews/time/unread labels to single-line bounded widths, keep MeshCore unknown senders from rendering as Me, show protocol prefixes in Contacts, and rebind the shared two-pane navigation after refresh so Team/Chat/Contacts filters become reachable.
2026-06-02 04:48:23 +08:00
..
2026-05-30 20:18:26 +08:00
2026-05-19 16:04:42 +08:00

ui_shared

Shared LVGL UI building blocks that are reused by multiple screens and should remain portable across ESP Arduino, ESP-IDF, and future Linux LVGL targets.

Current contents

  • ui/app_screen.h
  • ui/app_runtime.h
  • ui/formatters.h
  • ui/components/two_pane_nav.h
  • ui/components/two_pane_layout.h
  • ui/components/two_pane_styles.h
  • ui/screens/* shared screen implementations
  • ui/assets/* shared icons/fonts/images

These files are the current shared UI contracts, reusable screens, and shared UI assets that no longer belong to a single legacy src/ui/* subtree.

Current boundary notes:

  • ui/app_screen.h defines the shared screen contract used by menu/runtime code
  • ui/app_runtime.h owns shared app-switching, menu-return, focus-group, and generic LVGL menu helpers
  • ui/formatters.h owns pure UI formatting helpers that do not depend on board state or persistence
  • battery, timezone, screenshot, display glue, map tiles, and other board/product-specific UI helpers now live under platform/esp/arduino_common