Bug report — clicking a ticker in Spotlight search does nothing (all browsers)

Hi,

I'd like to report a bug in the Spotlight search on liqn.ai, reproducible on Chrome and Firefox, on multiple machines.

Steps to reproduce: Open the search (Spotlight), type a ticker, e.g. "ETN". The "Best match" result appears (Eaton Corporation). Click on it, or press Enter.

Expected: Navigate to (or open) the page/view for that security.

Actual: Nothing happens. The dialog stays open, the URL doesn't change, and there are no console errors or network requests triggered by the click.

What I found digging into the frontend bundle (chunk containing data-testid="spotlight-option"):

The spotlight hook's select callback handles the two result kinds differently. For kind === "factor" it works: it calls router.push('/factors/' + key) and closes the dialog. For kind === "ticker" it calls an optional prop, effectively onTickerSelect?.(key), and then only refreshes the right-hand "In these factors" preview.

The problem: the spotlight panel component invokes that hook with only { entries, indexLoading, onClose, followHighlight: true } — the onTickerSelect prop is never passed. So the optional-chained call is a silent no-op, which is why ticker clicks (and plain Enter) do nothing in every browser, with no error surfaced.

Also, I couldn't find any ticker/security route string in the bundle (no /ticker/... or /security/..., only /factors/...), so it looks like either the ticker detail destination was never wired up, or the intended behavior (e.g. opening the news sheet) simply isn't connected to the click handler.

One more data point: Cmd/Ctrl+Enter on a ticker result DOES work — it opens the "Why It's Moving" sheet with the security selected (via the news-sheet store's pickSecurity). So a quick fix might be to make plain click/Enter on a ticker do the same thing until a dedicated ticker page exists.

Happy to provide more details if useful.

Best regards,
Adrián

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

Bugs

Date

27 days ago

Author

Adrián

Subscribe to request

Get notified by email when there are changes.