Opened 12 years ago

Closed 11 years ago

Last modified 11 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 11 years ago.
Used values column.png (100.4 KB) - added by Johan Vallon-Christersson 11 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 11 years ago by Nicklas Nordborg

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.

comment:2 in reply to:  1 Changed 11 years ago by Johan Vallon-Christersson

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

Changed 11 years ago by Johan Vallon-Christersson

comment:3 Changed 11 years ago by Johan Vallon-Christersson

Resolution: worksforme
Status: closedreopened

comment:4 Changed 11 years ago by Nicklas Nordborg

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.

comment:5 in reply to:  4 Changed 11 years ago by Johan Vallon-Christersson

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?

Changed 11 years ago by Johan Vallon-Christersson

Attachment: Used values column.png added

comment:6 Changed 11 years ago by Nicklas Nordborg

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 Changed 11 years ago by Nicklas Nordborg

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 Changed 11 years ago by Nicklas Nordborg

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