Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1347 closed enhancement (fixed)

Enable Appearance feature 'Display long text' in Experiment - Properties tab tables

Reported by: Johan Vallon-Christersson Owned by: everyone
Priority: minor Milestone: BASE 2.14
Component: web Version:
Keywords: Cc:

Description

The Appearance feature 'Display long texts' with options 'On hover' and 'On click' are very useful when viewing tables that hold fields with long text.

In Experiment, the Properties tab tables, e.g., Experimental factors and Raw bioassays will display long text irrespectively of settings for 'Display long texts'.

It would be good if long text could appear 'On hover' or 'On click' in these tables.

Attachments (2)

Experiment-properties-tab.png (87.3 KB ) - added by Johan Vallon-Christersson 15 years ago.
Used values column.png (100.4 KB ) - added by Johan Vallon-Christersson 15 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Nicklas Nordborg, 15 years ago

Resolution: worksforme
Status: newclosed

This already works for me in Firefox 3.0.12. This feature should work in all tables since this function is built-in to the table generator taglib.

in reply to:  1 comment:2 by Johan Vallon-Christersson, 15 years ago

Replying to nicklas:

This already works for me in Firefox 3.0.12. This feature should work in all tables since this function is built-in to the table generator taglib.

It does not work for me. I expected that Description in Experimental factors table would be hidden (see figure Experiment-properties-tab.png). I'm using Firefox 3.5.3

by Johan Vallon-Christersson, 15 years ago

comment:3 by Johan Vallon-Christersson, 15 years ago

Resolution: worksforme
Status: closedreopened

comment:4 by Nicklas Nordborg, 15 years ago

Resolution: worksforme
Status: reopenedclosed

No, the description in the posted image is not expected to be hidden. It fits on two lines with lots of space to spare. It is only if the text requires three or more lines that it will be hidden. If the "On hover" option was selected instead the description field would probably be marked as a possible long text (a dotted line is displayed to the right), since this option has a 50-characters-is-maybe-too-long limit. It would not affect the display of the text and nothing would be hidden.

in reply to:  4 comment:5 by Johan Vallon-Christersson, 15 years ago

Replying to nicklas:

No, the description in the posted image is not expected to be hidden. It fits on two lines with lots of space to spare. It is only if the text requires three or more lines that it will be hidden.

Ok, sounds reasonable. However, I have found that the Used values column does not hide when the information requires more than three lines (cf Used values column.png). Is this something that can be fixed?

by Johan Vallon-Christersson, 15 years ago

Attachment: Used values column.png added

comment:6 by Nicklas Nordborg, 15 years ago

Hmmm... I don't know. The table is generated with empty cells on the server side... The values are put together by Javascript and added by the browser to the table. I guess it would be possible to mimic the server-side calculations in Javascript as well.

comment:7 by Nicklas Nordborg, 15 years ago

Resolution: worksformefixed

(In [5116]) Fixes #1347: Enable Appearance feature 'Display long text' in Experiment - Properties tab tables

This fixes the problem with the 'Used values' column.

comment:8 by Nicklas Nordborg, 15 years ago

Milestone: BASE 2.14
Priority: majorminor
Note: See TracTickets for help on using tickets.