Skip to content

Commit 8793a66

Browse files
authored
Consolidate merger card badges, cap industry chips, sort by last updated (#885)
1 parent 128db79 commit 8793a66

32 files changed

Lines changed: 1235 additions & 166 deletions

CLAUDE.md

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,30 @@ frontend/src/
109109
│ # StatCard, DetailStatGrid, MergerCardBody
110110
│ # - Timelines: MergerTimeline, Phase2Timeline,
111111
│ # UpcomingEventsTimeline, BusinessDayProgress
112-
│ # - Outcome: MergerOutcomeHeading — the result line
113-
│ # above a decided merger's title. MergerDetail
114-
│ # fills that whole title block with the outcome's
115-
│ # colour (constants/outcomeHeader.js) and flips
116-
│ # the links and TrackButton inside it to their
117-
│ # on-dark treatment; both read the verdict from
118-
│ # utils/mergerOutcome.js. The merger list cannot
112+
│ # - Outcome: MergerOutcomeHeading — the status line
113+
│ # above every merger's title, stating the outcome
114+
│ # once decided and the live status until then
115+
│ # (utils/mergerOutcome.js getHeaderStatus, whose
116+
│ # determination-over-status precedence mirrors
117+
│ # StatusBadge). What merely qualifies that — "with
118+
│ # conditions", a concluded appeal's result — is
119+
│ # folded into its run of text, since those are
120+
│ # part of what the outcome is. A live "under
121+
│ # appeal" is not a qualifier but a second status
122+
│ # the matter carries, so it is set in the same
123+
│ # type and wears the gavel that is the appeal's
124+
│ # own glyph everywhere it appears (AppealBadge
125+
│ # too). Nothing on the line is shrunk into a chip,
126+
│ # and the detail page shows no separate status or
127+
│ # appeal badge. MergerDetail fills the whole title block
128+
│ # from constants/outcomeHeader.js, which has two
129+
│ # registers: a decided matter takes a deep fill
130+
│ # with white text and flips the links and
131+
│ # TrackButton inside it to their on-dark treatment
132+
│ # (`onDark: true`), a live one takes a pale tint of
133+
│ # its status colour and keeps the light treatment.
134+
│ # Only the deep fills wash out to indigo when a
135+
│ # matter is under appeal. The merger list cannot
119136
│ # borrow that fill — nine in ten matters are
120137
│ # "Approved", so it would colour the whole page.
121138
│ # It leads each card with a solid StatusBadge

0 commit comments

Comments
 (0)