Bug #2892
Session Reports changes
Added by Piyush Vijay about 2 months ago. Updated about 1 month ago.
Description
Session Reports changes
Updated by Shreya Agarwal about 2 months ago
Active Sessions Tab - Date & Charger Tag Filters
Added From Date and To Date date pickers to filter active sessions by start time
Added Charger Tag dropdown filter to filter sessions by charger tag name
Reorganized filter UI with Apply/Reset buttons at the bottom right (matching Revenue Report style)
2. Session History Tab - Max Energy Filter
Added Max Energy filter with preset options (1, 2, 5, 10 kWh) and custom value input
Updated API call to support maxEnergyKwh parameter
3. Failed, Faulted & Abandoned Tabs - Max Duration & Max Energy Filters
Added Max Duration filter with preset options (5, 10, 15, 30, 60 min) and custom value input
Added Max Energy filter with preset options (1, 2, 5, 10 kWh) and custom value input
Updated API calls to support maxDurationMinutes and maxEnergyKwh parameters
4. Type Definitions Updated
Added maxEnergyKwh to SessionHistoryQueryParams interface
Added new filter state fields for all tabs (failedMaxDurationOption, failedMaxEnergyOption, etc.)
some issue pending will solve
Updated by Shreya Agarwal about 2 months ago
fixed the filter functionality across multiple tabs in the Session Management module, ensuring that Max Duration and Max Energy filters are properly sent to the API for the Abandoned, Failed, and Faulted tabs. I replaced the inline function with the existing handleAbandonedSearchClick handler, which correctly computes and includes both maxDurationMinutes and maxEnergyKwh in the applied filters. Additionally, I added proper reset logic for these filter values when switching tabs or using the Reset button, ensuring consistent behavior across the application. The changes were also applied to Failed and Faulted tabs to ensure they use the same consistent filter handling pattern. Fixed the date formatting for Active Sessions to send dates .Also resolved the UI overlapping issue in the Failed tab filters by removing the flex property from Grid items, which was causing the filter boxes to collide with each other. The filters are now properly aligned with proper spacing.
also development and integration of the RFID display feature for the Session History page. The RFID chip now appears next to the charger name in the Session History table when isRfidSession is true, with a tooltip showing the RFID tag value on hover. The RFID field has also been added to the OCPP Session Details modal. but testing is still pending
Updated by Shreya Agarwal about 1 month ago
worked on improving the Session Management module, specifically focusing on date/time display consistency and filter behavior across multiple tabs. I fixed the date/time formatting in the Faulted and Abandoned tabs to match the Session History tab format using timezone-aware functions. also combined the Start Time and End Time columns into a single "Session time" column for the Session History, Excluded, Faulted, and Failed tabs, displaying both times stacked vertically. Additionally, I resolved filter persistence issues by resetting applied filters when switching between tabs, ensuring that API calls only send selected filters rather than stale data. I also cleaned up the code to remove unnecessary parameters being sent by default in the Failed tab API payload. All changes were made without altering existing functionality or UI design across all session management tabs.
Completed column consolidation for 4 tabs, fixed filter reset logic for Active and Session History tabs, and resolved date/time formatting issues across multiple views.
also continue learning and try to understand backened part side by side