Repository navigation
Study View: chart titles centred on one line, a long one ellipsized (STS-HD-1) - #447
Merged
Merged
Conversation
…STS-HD-1)
As the portal's chart header: the title is bold, centred and one line,
cut with an ellipsis when long ("American Joint Committee on Cancer M…"),
its whole name first in the tooltip. What the chart counts moves to a
line of its own under it, so a long title never hides it; the chart menu
stays in the card's corner, the title padded alike on both sides.
Verified on brca: 17 titles, none over two lines, only the three AJCC
ones cut, no count line cut, the menu inside the card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q3ezTaCo6wHFVsML6Qd4ht
…hout a leading separator Their count line now sits under the title, as every chart's does since the titles change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q3ezTaCo6wHFVsML6Qd4ht
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
Review: pass. CSS and markup only. Chart titles are one centred line, with a long title ellipsized and padded on both sides, so the chart menu doesn't cover it (STS-HD-1). The count meta moves to its own line, and the tooltip now always carries the full title, so nothing is lost when it's cut. The leading "·" separators go away with the line break. No numbers change. |
With the count line under the title, innerText holds a line break that textContent does not, so the step's before never equalled what its wait compared and the wait passed at once. Both now read textContent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q3ezTaCo6wHFVsML6Qd4ht
Contributor
Author
|
Re-review: pass. aef88b5 only changes the e2e treatment step. It reads the sample table's title with |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Explore's chart titles now follow the portal's chart header (STS-HD-1).
CSS (
.facetgrid > .card > .facettitle), plus the titles whose count line began with "· " (clinical, gene status, derived, mutation types, treatments).Spec IDs
Verification
.facettitleto exist.Not done / follow-ups
Tracker
Under "Found by the re-measurement of 2026-11-18", this line (docs/PORTAL-PARITY.md:411) is ticked:
Scorecard
30-study-summary.md, row STS-HD-1 (was| STS-HD-1 | 🟡 | B | ↓ displayName + "· sample-level · N samples"; gene tables "Mutated Genes (534 profiled samples)" (#261) ✅; but left-aligned and wrapped over two lines ("American Joint Committee on Cancer Metastasis Stage Code"), not centred and ellipsized (\.facettitle`, `app/globals.css:669`) |`):| STS-HD-1 | ✅ | B | displayName centred on one line, ellipsized ("American Joint Committee on Cancer M…"), the whole name in the tooltip; gene tables "Mutated Genes (534 profiled samples)" (#261); ours adds a count line under the title ("sample-level · 1,084 samples") |
Preview
/lab?tab=explore&study=brca_tcga_pan_can_atlas_2018: the AJCC charts.🤖 Generated with Claude Code
https://claude.ai/code/session_01Q3ezTaCo6wHFVsML6Qd4ht