Skip to content

insights: add ability for webapp to get a search query / URL for a given timeframe's search results

Created by: slimsag

This could help with debugging the historical enqueuer, as well as making it possible to click on an insight's data point and get a search query for that data point.

Here's what we would need to do:

  1. Add a query field to InsightDataPoint and implement it here.
  2. The logic to produce the actual search query is super simple and already exists: it's exactly what the historical enqueuer produces to search a historical point in time, see here - we would literally just need to expose that logic over GraphQL.