Merge branch 't3code/expand-research-management-plan'
# Conflicts: # app/analysis/page.tsx # app/watchlist/page.tsx # components/shell/app-shell.tsx # lib/api.ts # lib/query/options.ts # lib/server/api/app.ts # lib/server/db/index.test.ts # lib/server/db/index.ts # lib/server/db/schema.ts # lib/server/repos/research-journal.ts # lib/types.ts
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