opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Datasource controls modified message also to be displayed on the prioritisation view #3447

Open prashantuniyal02 opened 2 months ago

prashantuniyal02 commented 2 months ago

Observed behaviour Observed a behaviour in the 'Require'/'Include' setting in Platform production and the latest dev.

When a data source is selected, say ChEMBL, in the table=associations view, the total number of targets go down from 25579 to 940. The selected filter is carried over to the table=prioritisations view, i.e. it also shows 940 rows.

But the message Datasource controls modified is not shown on the prioritisation view.

Similarly, it happens if you can change the score in the associations view (resulting in a change in the sorting of the targets) and then move to the prioritisation view. But the message is not displayed on the prioritisation view.

Expected behaviour The Datasource controls modified message should also be displayed also on the prioritisation view when any default setting on the associations view is changed.

To Reproduce Steps to reproduce the behaviour:

  1. Go to https://platform.opentargets.org/disease/MONDO_0004992/associations - Notice the target count (25579) in associations and prioritisation view
  2. Enable Show data sources controls
  3. Select ChEMBL - Notice the message and target count (940)
  4. Change to prioritisation view - Notice the count (940) and disappeared message