Resource table improvement #5270
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix cBioPortal/cbioportal#11682
How to test:
localStorage.netlify = "deploy-preview-5270--cbioportalfrontend"in the browser console first and refresh the pageChanges Made
Study View - Files & Links Table
Added visual indicators for navigation clarity:
opens resource in Patient View
column - opens URL in new tab
Dynamic column naming: When all resources are the same type, "Resources per Patient"
column header changes to specific type (e.g., "Pathology Reports per Patient")
Consistent pluralization: Tab name and header always show plural form when single

resource type (e.g., "H&E Slides")
Show customized text for samples: Since now we only have one link per sample, so we need to change the text to better convey what do we have: e.g.

xx H&E Samples with SlidesHide Recources Per Patient column: For the same reason (we only have one link per sample), we should hide this column too
Patient View - Files & Links Table
Added user icon (fa-user) on resource name column to indicate it opens in Patient View
Added external link icon (fa-external-link) on "Resource URL" column for external links

Dynamic column naming: When all resources are the same type, column shows resource type

name instead of generic "Resource"
Smart tab name pluralization:
Patient View - Resource Viewer