Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1906 closed enhancement (fixed)

Display inherited annotations in list views

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 3.5
Component: web Version:
Keywords: Cc:

Description

It would be nice if it was possible to add columns for displaying inherited annotations.

The annotations should not part of the pre-defined columns that can be selected in "Columns" dialog. Instead this dialog should include a function "Add inherited annotations" which allows a user to select one or more annotation types to include in the "Visible columns" list.

The query system should already have support for filtering on inherited annotations (but need to verify this).

The table exporter will probably need some modifications.

The code for displaying the values should more or less work but we need some major adjustments so that it can find the inherited values.

Sorting will not be possible since:

  • It is not possible to join the tables
  • Inherited annotations are always many-to-many and would result in duplicate entries.

This functionality should of course only be available for items that can inherit annotations.

Change History (15)

comment:1 by Nicklas Nordborg, 10 years ago

Summary: Display inherited annotations in list viewDisplay inherited annotations in list views

comment:2 by Nicklas Nordborg, 10 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:3 by Nicklas Nordborg, 10 years ago

(In [6686]) References #1906: Display inherited annotations in list views

Prepared query functionality and annotation loader so that they work well with inherited annotations. In most cases this means that another parameter is needed so we can specify if primary and/or inherited annotations should be searched independently of each other.

comment:4 by Nicklas Nordborg, 10 years ago

(In [6687]) References #1906: Display inherited annotations in list views

Added support for exporting inherited annotations to the table exporter.

comment:5 by Nicklas Nordborg, 10 years ago

(In [6689]) References #1906: Display inherited annotations in list views

The "Configure columns" dialog can now be used to add inherited annotation columns. This must be enabled from the list page by setting <tbl:table ... data-inherited-annotations="true"> in the table definition.

First implementation is made in the list raw bioassays table.

comment:6 by Nicklas Nordborg, 10 years ago

(In [6690]) References #1906: Display inherited annotations in list views

Implemented this for samples, extracts physical bioassays, derived bioassays and array (slide/batch/desing) list views

comment:7 by Nicklas Nordborg, 10 years ago

(In [6691]) References #1906: Display inherited annotations in list views

Implemented for bioassays in experiment.

comment:8 by Nicklas Nordborg, 10 years ago

Resolution: fixed
Status: assignedclosed

comment:9 by Nicklas Nordborg, 10 years ago

(In [6693]) References #1906: Display inherited annotations in list views

Remove debug line

comment:10 by Nicklas Nordborg, 10 years ago

(In [6709]) References #1906: Display inherited annotations in list views

Updated screenshot and documentation about selecting columns in list views.

comment:11 by Nicklas Nordborg, 10 years ago

Resolution: fixed
Status: closedreopened

Re-opening this ticket since changes in #1916 [6711] are in conflict with changes in this ticket. Additional work is required when merging BASE 3.4.1 to the trunk.

comment:12 by Nicklas Nordborg, 10 years ago

Resolution: fixed
Status: reopenedclosed

Merged and fixed in [6721].

comment:13 by Nicklas Nordborg, 10 years ago

(In [6731]) References #1910 and #1906.

Filter out annotation types which has disabled inheritance when selecting columns for inherited annotations.

comment:14 by Nicklas Nordborg, 10 years ago

(In [6734]) References #1910 and #1906.

Do not show columns for inherited annotations if the annotation type has been disabled for inheritance.

comment:15 by Nicklas Nordborg, 10 years ago

(In [6735]) References #1910 and #1906.

Ingore filters on inherited annotation columns if the annotation type has disabled inheritance.

Note: See TracTickets for help on using tickets.