Skip to main content

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

2 comments

Log in to comment and vote

Comments2

  • Jared

    Team•

    Sep 18

    Hi Adrián, following up on this. The Spotlight update we mentioned is live. When you search a ticker, the right side now shows the stock's price, its pre-market, regular and after-hours returns, a chart, and the factors it sits in. You can open a larger chart from there with "Open larger chart" or by clicking the chart. Cmd or Ctrl plus Enter still opens Why It's Moving.

    One part of your report is still open. A plain click or Enter on the ticker row does not yet open the larger view on desktop. Your diagnosis of the missing handler was correct, and that fix is next. Thanks for the detailed write-up.

  • Jared

    Team•

    Sep 1

    Thanks Adrian. We are rolling out an update to this to make more seamless… its clunky right now

    If you click a Ticker in Spotlight… it brings up the FACTORS its in on the right side

    you currently have to click on that factor… then

    Scroll down to constituents and then click on the TICKER … annoying I know

    we will get this right. Thanks