Automate issuer overlay creation from ticker searches
This commit is contained in:
@@ -27,7 +27,7 @@ export type FinancialControlSection = {
|
||||
onChange: (value: string) => void;
|
||||
};
|
||||
|
||||
export type FinancialsToolbarProps = {
|
||||
type FinancialsToolbarProps = {
|
||||
sections: FinancialControlSection[];
|
||||
searchValue: string;
|
||||
onSearchChange: (value: string) => void;
|
||||
|
||||
@@ -58,7 +58,7 @@ function surfaceBadges(node: Extract<StatementTreeNode, { kind: "surface" }>) {
|
||||
badges.push({ label: "Low confidence", tone: "warning" });
|
||||
}
|
||||
|
||||
const detailCount = node.row.detailCount ?? node.directDetailCount;
|
||||
const detailCount = node.directDetailCount;
|
||||
if (detailCount > 0) {
|
||||
badges.push({ label: `${detailCount} details`, tone: "default" });
|
||||
}
|
||||
|
||||
@@ -16,7 +16,11 @@ type StatementRowInspectorProps = {
|
||||
periods: FinancialStatementPeriod[];
|
||||
surfaceKind: Extract<
|
||||
FinancialSurfaceKind,
|
||||
"income_statement" | "balance_sheet" | "cash_flow_statement"
|
||||
| "income_statement"
|
||||
| "balance_sheet"
|
||||
| "cash_flow_statement"
|
||||
| "equity_statement"
|
||||
| "disclosures"
|
||||
>;
|
||||
renderValue: (
|
||||
row: SurfaceFinancialRow | DetailFinancialRow,
|
||||
|
||||
Reference in New Issue
Block a user