RadioConsole2 icon indicating copy to clipboard operation
RadioConsole2 copied to clipboard

Support per‑radio‑card display of Caller ID

Open djshadowxm82 opened this issue 8 months ago • 0 comments

Summary

Add a “Caller ID” display on each radio card in RadioConsole2, with a new configuration option to toggle between inline (card) and overlay (drawer) views.


Motivation

  • Operators need to see the incoming caller’s ID (radio call sign) at a glance on each channel card
  • A configurable display mode lets users choose inline vs. drawer layouts based on screen real‑estate and workflow

Proposed Implementation

  1. Configuration
    • Introduce a new CallLogFormat option ("card" | "drawer") in the settings file
    • Surface the option in the UI under Settings → Caller Log
  2. UI Updates
    • Inline Mode (“card”): render a live Caller ID line at the bottom of each radio card with a collapsible log
    • Drawer Mode (“drawer”): add a collapsible bottom drawer that shows the full call log detached from the card
    • Add a “Call Log” toggle button in the navbar if in Drawer Mode.
  3. Client Logic
    • Implement setupCallerLog(), toggleCallerLog(), and updateCallerId(cardId, callerId) in console/client.js
    • Wire the toggle button to update the display mode and persist the choice via readConfig() / saveConfig()
  4. Styling
    • Update console/css/custom.css to accommodate the Caller ID line on cards and style the drawer overlay
    • Ensure responsive layouts and smooth transitions when toggling modes

Additional Context

This feature is implemented in PR https://github.com/W3AXL/RadioConsole2/pull/21 Tracking here to prioritize documentation, testing, and any polish before release.

djshadowxm82 avatar May 02 '25 16:05 djshadowxm82