[asterisk-bugs] [Asterisk-GUI 0013825]: [patch] Major enhancements to CDR Viewer
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Nov 14 16:48:22 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13825
======================================================================
Reported By: dkerr
Assigned To: bkruse
======================================================================
Project: Asterisk-GUI
Issue ID: 13825
Category: New/Feature
Reproducibility: N/A
Severity: feature
Priority: normal
Status: assigned
Asterisk Version: 1.4.21.2
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 4045
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-11-02 20:20 CST
Last Modified: 2008-11-14 16:48 CST
======================================================================
Summary: [patch] Major enhancements to CDR Viewer
Description:
The attached patch file provides major enhancements to the CDR Viewer.
In tooltip.js
- Added tooltip to explain "system calls".
In cdr.html
- Major GUI revision to make the page look like all other asterisk-gui
pages in style and color.
- change view list size options to 25/100/500/all.
- Added document title (so browser title bar says "CDR Viewer").
- call duration and billable seconds are converted to H:MM:SS for
display.
- moved some processing from the table build/display section to the load
from Master.csv section for efficiency.
- provide both a "standard" view and "all fields" view. Standard (the
default) only shows the more useful fields (like date/time, callerId, etc)
in larger type. All shows everything in smaller type.
- "system calls" are excluded from view by default, but checkbox will
include them.
- list is sorted by start time by default (most recent first).
- list can be sorted by any column by clicking on the column header in the
table. If column header is underlined, then column is sorted in ascending
order, if overlined, then descending order.
- list table is sized to fit within the visible area of the browser (makes
it easier to use, so you only need to scroll the one scrollbar to see
everything).
- Supports the jquery.fixedheader plugin if it is present (see
http://plugins.jquery.com/project/stupidFixedHeader) which locks the table
header while letting you scroll all CDR records under it. This plugin is
not required however (but headers will scroll out-of-view).
Known problems...
- I try to display a popup while resorting sorting the CDR list (in case
it takes a while) but it is not appearing for some reason.
To-do...
- One feature I would like but have not been able to get working is to
display all fields in a record in a bubble when you hover over a record in
the shorter "standard" view. I may work on this in the future.
Testing...
- I have tested this with two CDR list, one between 50 and 100 records,
the other a little over 500 records. Neither had "system calls" so that
feature is untested so-far.
- I have tested on IE7, IE8, Firefox 3 and Safari 3 on Windows XP both
with and without the jquery.fixedheader plugin. All features work.
Patch file created based on diff to SVN version 4045
David
======================================================================
----------------------------------------------------------------------
(0094923) svnbot (reporter) - 2008-11-14 16:48
http://bugs.digium.com/view.php?id=13825#c94923
----------------------------------------------------------------------
Repository: asterisk-gui
Revision: 4109
U branches/2.0/config/cdr.html
A branches/2.0/config/js/jquery.fixedheader.js
U branches/2.0/config/js/tooltip.js
------------------------------------------------------------------------
r4109 | bkruse | 2008-11-14 16:48:21 -0600 (Fri, 14 Nov 2008) | 26 lines
Great work by dkerr. Updates to the CDR page.
Clip from bug report:
In tooltip.js
- Added tooltip to explain "system calls".
In cdr.html
- Major GUI revision to make the page look like all other asterisk-gui
pages in style and color.
- change view list size options to 25/100/500/all.
- Added document title (so browser title bar says "CDR Viewer").
- call duration and billable seconds are converted to H:MM:SS for display.
- moved some processing from the table build/display section to the load
from Master.csv section for efficiency.
- provide both a "standard" view and "all fields" view. Standard (the
default) only shows the more useful fields (like date/time, callerId, etc)
in larger type. All shows everything in smaller type.
- "system calls" are excluded from view by default, but checkbox will
include them.
- list is sorted by start time by default (most recent first).
- list can be sorted by any column by clicking on the column header in the
table. If column header is underlined, then column is sorted in ascending
order, if overlined, then descending order.
- list table is sized to fit within the visible area of the browser (makes
it easier to use, so you only need to scroll the one scrollbar to see
everything).
- Supports the jquery.fixedheader plugin if it is present (see
http://plugins.jquery.com/project/stupidFixedHeader) [^] which locks the
table header while letting you scroll all CDR records under it. This plugin
is not required however (but headers will scroll out-of-view).
Known problems...
- I try to display a popup while resorting sorting the CDR list (in case
it takes a while) but it is not appearing for some reason.
To-do...
- One feature I would like but have not been able to get working is to
display all fields in a record in a bubble when you hover over a record in
the shorter "standard" view. I may work on this in the future.
(closes issue http://bugs.digium.com/view.php?id=13825)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk-gui?view=rev&revision=4109
Issue History
Date Modified Username Field Change
======================================================================
2008-11-14 16:48 svnbot Note Added: 0094923
======================================================================
More information about the asterisk-bugs
mailing list