Skip to content

Selecting a class in the tree always forces the Details pane, overriding the current pane #75

Description

@matthewhorridge

Summary

On an ontology's Classes page, selecting a different class in the left-hand class tree switches the right-hand pane back to Details, even when another pane (Visualization, Entity Graph, Notes, Mappings) was active. The selected pane should be preserved across class selections.

Steps to reproduce

  1. Open any ontology's Classes page, e.g. /ontologies/GO?p=classes&conceptid=<some class>.
  2. In the right-hand pane, switch to a non-default tab — e.g. Entity Graph (or Visualization / Mappings).
  3. In the left-hand class tree, click a different class.

Expected

The right-hand pane stays on the tab you had selected (e.g. Entity Graph), now showing that view for the newly selected class.

Actual

The pane resets to Details for the newly selected class; the previously active tab is deselected.

Impact

Makes it awkward to browse several classes in the same view (e.g. comparing entity graphs), since every class selection kicks you back to Details.

Notes

  • Reproduced in the ontology viewer's Classes page (concept browser + _show tab pane).
  • Likely the class-selection navigation always targets #details / the default tab rather than carrying the currently active tab through.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions