Merge branch 't3code/clean-flat-ui-layout'
This commit is contained in:
@@ -654,7 +654,7 @@ function FinancialsPageContent() {
|
||||
</Panel>
|
||||
|
||||
{error ? (
|
||||
<Panel>
|
||||
<Panel variant="surface">
|
||||
<p className="text-sm text-[#ffb5b5]">{error}</p>
|
||||
</Panel>
|
||||
) : null}
|
||||
@@ -680,7 +680,7 @@ function FinancialsPageContent() {
|
||||
</div>
|
||||
</Panel>
|
||||
|
||||
<Panel title="Trend Chart" subtitle="Default trend series for the selected surface.">
|
||||
<Panel title="Trend Chart" subtitle="Default trend series for the selected surface." variant="surface">
|
||||
{loading ? (
|
||||
<p className="text-sm text-[color:var(--terminal-muted)]">Loading trend chart...</p>
|
||||
) : chartData.length === 0 || trendSeries.length === 0 ? (
|
||||
@@ -725,7 +725,7 @@ function FinancialsPageContent() {
|
||||
)}
|
||||
</Panel>
|
||||
|
||||
<Panel title="Surface Matrix" subtitle="Standardized statements, ratios, and KPIs render in one shared matrix.">
|
||||
<Panel title="Surface Matrix" subtitle="Standardized statements, ratios, and KPIs render in one shared matrix." variant="surface">
|
||||
{loading ? (
|
||||
<p className="text-sm text-[color:var(--terminal-muted)]">Loading financial matrix...</p>
|
||||
) : surfaceKind === 'adjusted' || surfaceKind === 'custom_metrics' ? (
|
||||
@@ -736,7 +736,7 @@ function FinancialsPageContent() {
|
||||
) : periods.length === 0 || filteredRows.length === 0 ? (
|
||||
<p className="text-sm text-[color:var(--terminal-muted)]">No rows available for the selected filters yet.</p>
|
||||
) : (
|
||||
<div className="overflow-x-auto">
|
||||
<div className="data-table-wrap">
|
||||
<table className="data-table min-w-[980px]">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -804,7 +804,7 @@ function FinancialsPageContent() {
|
||||
)}
|
||||
</Panel>
|
||||
|
||||
<Panel title="Row Details" subtitle="Inspect provenance, formulas, and dimensional evidence for the selected row.">
|
||||
<Panel title="Row Details" subtitle="Inspect provenance, formulas, and dimensional evidence for the selected row." variant="surface">
|
||||
{!selectedRow ? (
|
||||
<p className="text-sm text-[color:var(--terminal-muted)]">Select a row to inspect details.</p>
|
||||
) : (
|
||||
@@ -854,7 +854,7 @@ function FinancialsPageContent() {
|
||||
) : dimensionRows.length === 0 ? (
|
||||
<p className="text-sm text-[color:var(--terminal-muted)]">No dimensional facts were returned for the selected row.</p>
|
||||
) : (
|
||||
<div className="overflow-x-auto">
|
||||
<div className="data-table-wrap">
|
||||
<table className="data-table min-w-[760px]">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -882,7 +882,7 @@ function FinancialsPageContent() {
|
||||
</Panel>
|
||||
|
||||
{(surfaceKind === 'income_statement' || surfaceKind === 'balance_sheet' || surfaceKind === 'cash_flow_statement') && financials ? (
|
||||
<Panel title="Metric Validation" subtitle="Validation remains limited to statement-derived taxonomy metrics in v1.">
|
||||
<Panel title="Metric Validation" subtitle="Validation remains limited to statement-derived taxonomy metrics in v1." variant="surface">
|
||||
<div className="mb-3 flex items-center gap-2 text-sm text-[color:var(--terminal-muted)]">
|
||||
<AlertTriangle className="size-4" />
|
||||
<span>Overall status: {financials.metrics.validation?.status ?? 'not_run'}</span>
|
||||
@@ -890,7 +890,7 @@ function FinancialsPageContent() {
|
||||
{(financials.metrics.validation?.checks.length ?? 0) === 0 ? (
|
||||
<p className="text-sm text-[color:var(--terminal-muted)]">No validation checks available yet.</p>
|
||||
) : (
|
||||
<div className="overflow-x-auto">
|
||||
<div className="data-table-wrap">
|
||||
<table className="data-table min-w-[760px]">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user