24 lines
1.3 KiB
JavaScript
24 lines
1.3 KiB
JavaScript
// Fork-local display decisions.
|
|
//
|
|
// BrevyScribe prints the generic datasheet for a unit rather than a record of
|
|
// one particular list, so a few of the things FancyScribe shows have nothing
|
|
// left to say here. They are switched off from this file - which upstream does
|
|
// not have, and which therefore can never conflict - so that the components
|
|
// upstream owns are touched on as few lines as possible.
|
|
|
|
// The roster overview table summarises the list that was uploaded: its total
|
|
// cost, a unit-by-unit breakdown and the charts drawn from them. None of that
|
|
// survives the transforms, so the card is not rendered at all.
|
|
//
|
|
// 10th/Roster.jsx imports this in place of ./ShortSummaryTable, which leaves the
|
|
// render site there byte-identical to upstream. ShortSummaryTable.jsx itself is
|
|
// kept in the tree, unused, so upstream changes to it keep merging cleanly (Vite
|
|
// tree-shakes it, and chart.js with it, out of the build).
|
|
export const ShortSummaryTable = () => null;
|
|
|
|
// The unit composition lists the models this particular list took, which is the
|
|
// list-specific detail the fork exists to strip - and after duplicate units are
|
|
// merged into one card it is misleading as well. It is always hidden, and the
|
|
// checkboxes that used to toggle it are gone.
|
|
export const HIDE_UNIT_COMPOSITION = true;
|