Skip to content

Support per‑radio‑card display of Caller ID #24

@djshadowxm82

Description

@djshadowxm82

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 #21 Tracking here to prioritize documentation, testing, and any polish before release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions