WIP main worktree changes before merge
This commit is contained in:
@@ -137,7 +137,9 @@ function AnalysisPageContent() {
|
||||
<PriceHistoryCard
|
||||
loading={loading}
|
||||
priceHistory={analysis.priceHistory}
|
||||
benchmarkHistory={analysis.benchmarkHistory}
|
||||
quote={analysis.quote}
|
||||
position={analysis.position}
|
||||
/>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -700,6 +700,10 @@ function FinancialsPageContent() {
|
||||
return null;
|
||||
}, [displayMode, financials?.statementRows, surfaceKind]);
|
||||
|
||||
const hasUnmappedResidualRows = useMemo(() => {
|
||||
return (financials?.statementDetails?.unmapped?.length ?? 0) > 0;
|
||||
}, [financials?.statementDetails]);
|
||||
|
||||
const trendSeries = financials?.trendSeries ?? [];
|
||||
const chartData = useMemo(() => {
|
||||
return periods.map((period) => ({
|
||||
@@ -1042,9 +1046,16 @@ function FinancialsPageContent() {
|
||||
) : (
|
||||
<div className="space-y-3">
|
||||
{isStatementSurfaceKind(surfaceKind) ? (
|
||||
<p className="text-xs uppercase tracking-[0.24em] text-[color:var(--terminal-muted)]">
|
||||
USD · {valueScaleLabel}
|
||||
</p>
|
||||
<div className="space-y-2">
|
||||
<p className="text-xs uppercase tracking-[0.24em] text-[color:var(--terminal-muted)]">
|
||||
USD · {valueScaleLabel}
|
||||
</p>
|
||||
{isTreeStatementMode && hasUnmappedResidualRows ? (
|
||||
<p className="text-sm text-[color:var(--terminal-muted)]">
|
||||
Parser residual rows are available under the <span className="text-[color:var(--terminal-bright)]">Unmapped / Residual</span> section.
|
||||
</p>
|
||||
) : null}
|
||||
</div>
|
||||
) : null}
|
||||
{isTreeStatementMode && treeModel ? (
|
||||
<StatementMatrix
|
||||
|
||||
Reference in New Issue
Block a user