Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENCD-5835-preferred-default-star-to-purple #3830

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/encoded/static/components/filegallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ FileTable.procTableColumns = {
},
default: {
title: 'Default',
display: (item) => (item.preferred_default ? <span className="tcell-center">{'\u2B50'}</span> : ''),
display: (item) => (item.preferred_default ? <span className="tcell-center">🟣</span> : ''),
objSorter: (a, b) => {
const aPreferredDefault = a.preferred_default;
const bPreferredDefault = b.preferred_default;
Expand Down Expand Up @@ -2031,7 +2031,7 @@ export function assembleGraph(files, highlightedFiles, dataset, options, loggedI
const fileCssClass = fileCssClassGen(file, !!(infoNode && infoNode.id === fileNodeId), highlightToggle, colorize);
const fileRef = file;
const replicateNode = (file.biological_replicates && file.biological_replicates.length === 1) ? jsonGraph.getNode(`rep:${file.biological_replicates[0]}`) : null;
const preferredDefaultText = file.preferred_default ? ' \u2B50' : '';
const preferredDefaultText = file.preferred_default ? ' 🟣' : '';
let metricsInfo;

// Add QC metrics info from the file to the list to generate the nodes later.
Expand Down