View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06430Bug reportsSurvey participants (Tokens)public2012-08-16 10:23
Reporterlolo Assigned Tojcleeland  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.00RC8 
Target Version2.00RC9Fixed in Version2.00RC9 
Summary06430: Central Participant Database: list of participants does not scale well with the number of attributes (UI)
Description

In Central Participant Database, the list of participants (grid) contains one column per added attribute.
This works well if there's only a few attributes, but does not scale at all when the number of attributes gets beyond that.

I typically have between 20 and 30 attributes per participant.
In this case the list is just un-readable, as the columns are stretched to fit the screen width, making it impossible to read neither the column headings nor the cell values.

I guess there's many solutions to this problem:
1) limit the number of attributes displayed (restrict to n attributes)
2) add an horizontal scroll bar (so, do not stretch columns)
3) give the user the ability to choose which attributes to show/hide in the grid (quick filtering feature)
4) do not show attributes at all

I let you decide what to do, even though I believe that having options 2) and 3) combined would be the best of the best ;)

Steps To Reproduce
  • select "Central Participant Database/Panel", then "Attribute Management"
  • create between 20 and 30 attributes
  • display the list of participants
TagsNo tags attached.
Attached Files
screenshot.png (61,618 bytes)   
screenshot.png (61,618 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)120721
I will donate to the project if issue is resolvedYes
BrowserMozilla 14.0.1 (Win)
Database type & versionMysql 5.5.24
Server OS (if known)Linux 2.6.27.52
Webserver software & version (if known)Apache 2
PHP Version5.3.14

Users monitoring this issue

There are no users monitoring this issue.

Activities

lolo

lolo

2012-08-05 17:03

reporter   ~20198

PS: That problem also concerns the participant list in 'Token control'.
That screen is using an horizontal scrollbar (nice!), but column headings of attributes are stretched nevertheless.
They seem to be all stretched to a same fixed pixel size regardless of their content.
Could it be possible to make each cell width auto-fit to display all of its content ?

lolo

lolo

2012-08-05 17:14

reporter   ~20199

Update: added screenshot

jcleeland

jcleeland

2012-08-06 01:48

reporter   ~20209

Lolo: I've made a small adjustment to the participants system so that if there are more than 5 attributes selected to display in the main screen it will stop trying to fit the grid to the page width. I wouldn't want to limit the number of displayable attributes - but obviously there comes a point where showing them all might be overkill! I think for future releases we might look at a simpler way of choosing which columns to display.

The jqGrid tool we use for these grid displays doesn't have a basic "autofit" method - the width of the columns either have to be manually set in the code, or else it just makes every column the same width. As a result, there's no simple way of setting an autofit method. That might also need to be added to the wish list of future versions.

jcleeland

jcleeland

2012-08-06 01:49

reporter   ~20210

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9242

jcleeland

jcleeland

2012-08-06 01:49

reporter   ~20211

Oh, one other quick thing: (3) is already covered. You don't HAVE to show all your attributes in the main window - in fact by default they don't show. You can change the setting in the attribute panel.

lolo

lolo

2012-08-06 09:29

reporter   ~20213

Thanks for the fix. Yes I noticed that attributes can be made visible/hidden but it's a bit slow to have to edit each attribute in order to do so. For a future version, a quick filtering on the grid page itself would be very nice ;)

c_schmitz

c_schmitz

2012-08-16 10:23

administrator   ~20472

Version 2.00 RC 9 released.

Related Changesets

LimeSurvey: Yii c5097eaf

2012-08-05 18:49

jcleeland


Details Diff
Fixed issue 06430 - Central Participant Database: List of participants does not scale well with the number of attributes Affected Issues
06430
mod - application/views/admin/participants/displayParticipants_view.php Diff File
mod - scripts/admin/displayParticipant.js Diff File

Issue History

Date Modified Username Field Change
2012-08-05 16:49 lolo New Issue
2012-08-05 17:03 lolo Note Added: 20198
2012-08-05 17:13 lolo File Added: screenshot.png
2012-08-05 17:14 lolo Note Added: 20199
2012-08-05 17:51 c_schmitz Assigned To => jcleeland
2012-08-05 17:51 c_schmitz Status new => assigned
2012-08-06 01:48 jcleeland Note Added: 20209
2012-08-06 01:49 jcleeland Changeset attached => LimeSurvey Yii c5097eaf
2012-08-06 01:49 jcleeland Note Added: 20210
2012-08-06 01:49 jcleeland Resolution open => fixed
2012-08-06 01:49 jcleeland Note Added: 20211
2012-08-06 01:50 jcleeland Status assigned => resolved
2012-08-06 09:29 lolo Note Added: 20213
2012-08-08 13:56 c_schmitz Fixed in Version => 2.00+
2012-08-12 15:32 c_schmitz Fixed in Version 2.00+ => 2.00RC9
2012-08-15 00:22 c_schmitz Target Version => 2.00RC9
2012-08-16 10:23 c_schmitz Note Added: 20472
2012-08-16 10:23 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)