Main
Small spelling mistake.
This pull request introduces a new feature for managing caller logs in the console, including the ability to toggle between "Card" and "Drawer" display modes. It also includes related UI updates, configuration changes, and CSS styling adjustments to support the feature.
New Caller Log Feature
- Caller Log Display Modes: Added a new
CallLogFormatconfiguration option to toggle between "Card" (inline on the radio card) and "Drawer" (a bottom overlay drawer) display modes. (console/client.js,console/index.html,console/css/custom.css) [1] [2] [3] [4] - Caller Log Functions: Implemented functions to manage caller log behavior, including
setupCallerLog,toggleCallerLog,updateCallerId, and drawer-specific functions likeopenCallerDrawerandcloseCallerDrawer. (console/client.js)
UI and Configuration Updates
- UI Enhancements: Added a new "Call Log" button to the navbar and updated the radio card layout to include live caller ID and a collapsible caller log section. (
console/index.html,console/css/custom.css) [1] [2] [3] - Configuration Integration: Modified
readConfigandsaveConfigfunctions to handle the newCallLogFormatoption, ensuring the UI updates dynamically based on the configuration. (console/client.js) [1] [2] [3]
CSS Styling Adjustments
- Caller Log Styling: Added styles for the live caller ID line, scrolling caller log, and drawer overlay, including transitions and responsiveness. (
console/css/custom.css) - Radio Card Adjustments: Updated radio card dimensions and layout to accommodate the new caller log elements. (
console/css/custom.css) [1] [2]
These changes collectively enhance the user experience by providing a flexible and visually integrated way to view and manage caller logs.https://github.com/W3AXL/RadioConsole2/pull/21/commits/fa044db312cb6243758a3925b280b88f5b991b01
@djshadowxm82 please deconflict with current main branch and I will review again.
@djshadowxm82 sorry for the delay in responding to this PR. Could you look at the build failure above? I'll review and make suggestions once that's fixed. Thanks!
@W3AXL I just realized that when I merged into main, I accidentally pulled in the old radio.cs. When I fast-forwarded, I didn’t catch that you had already deprecated it in favor of the module. I also noticed you’ve already fixed what I was planning to address.
Also, please take a look at W3AXL/rc2-core#2 and W3AXL/rc2-dvm#12 as they should work in tandem with this update.