Add research workspace and graphing flows
This commit is contained in:
@@ -40,6 +40,7 @@ import {
|
||||
formatPercent,
|
||||
type NumberScaleUnit
|
||||
} from '@/lib/format';
|
||||
import { buildGraphingHref } from '@/lib/graphing/catalog';
|
||||
import { queryKeys } from '@/lib/query/keys';
|
||||
import { companyFinancialStatementsQueryOptions } from '@/lib/query/options';
|
||||
import type {
|
||||
@@ -630,14 +631,24 @@ function FinancialsPageContent() {
|
||||
Load Financials
|
||||
</Button>
|
||||
{financials ? (
|
||||
<Link
|
||||
href={`/analysis?ticker=${financials.company.ticker}`}
|
||||
onMouseEnter={() => prefetchResearchTicker(financials.company.ticker)}
|
||||
onFocus={() => prefetchResearchTicker(financials.company.ticker)}
|
||||
className="text-sm text-[color:var(--accent)] hover:text-[color:var(--accent-strong)]"
|
||||
>
|
||||
Open analysis
|
||||
</Link>
|
||||
<>
|
||||
<Link
|
||||
href={`/analysis?ticker=${financials.company.ticker}`}
|
||||
onMouseEnter={() => prefetchResearchTicker(financials.company.ticker)}
|
||||
onFocus={() => prefetchResearchTicker(financials.company.ticker)}
|
||||
className="text-sm text-[color:var(--accent)] hover:text-[color:var(--accent-strong)]"
|
||||
>
|
||||
Open analysis
|
||||
</Link>
|
||||
<Link
|
||||
href={buildGraphingHref(financials.company.ticker)}
|
||||
onMouseEnter={() => prefetchResearchTicker(financials.company.ticker)}
|
||||
onFocus={() => prefetchResearchTicker(financials.company.ticker)}
|
||||
className="text-sm text-[color:var(--accent)] hover:text-[color:var(--accent-strong)]"
|
||||
>
|
||||
Open graphing
|
||||
</Link>
|
||||
</>
|
||||
) : null}
|
||||
</form>
|
||||
</Panel>
|
||||
|
||||
Reference in New Issue
Block a user