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

Update associations heat map for partner preview Platform #1730

Closed andrewhercules closed 2 years ago

d0choa commented 3 years ago

The first step that's required for this is to update the static content in the next files:

To include as placeholders, until confirmed by @andrewhercules:

andrewhercules commented 3 years ago

I agree with @d0choa's proposed labels:

"Open Targets CRISPR" for the datasource and "Open Targets Projects" for the data type.

Additionally, @d0choa suggested that we expand the entry for the dataSource.js and dataTypes.js file to include a type field that could be set to public or private that would show the lock icon and tooltip.

After updating the static configuration files to include the new data source and data type, can we please do the following?

Partner preview associations page with lock icon

export const colorRange = [
  // '#ffffff',
  '#ebf0ed',
  '#d8e2dc',
  '#c5d4cb',
  '#b2c6ba',
  '#9fb8a9',
  '#8caa97',
  '#799c86',
  '#668e75',
  '#538064',
  '#407253',
];

@LucaFumis, can the colourRange be abstracted out from the constants.js file and made into a deployment context variable?

As discussed during todays' meeting, there are different ways we could adjust the colours used in the heatmap:

@LucaFumis can you please investigate?

ktsirigos commented 2 years ago

work done