bug(ui): srql search query in search bar not updating #599

Closed
opened 2026-03-28 04:26:14 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #1856
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1856
Original created: 2025-10-22T18:48:45Z


Describe the bug
When you navigate to Network->Sweeps, that view is making an SRQL query using the /api/query endpoint. We should update the topbar search input to reflect the query being run to produce the data in this view.

We should have a way to tie the OCSF data source (devices, traces, logs, etc) to a particular view, so that if you ever query 'in:devices', you are always going to get the same consistent devices view. IF we're just adding additional fields to search on, we should still get the same consistent view. For example, if we produce the sweep dashboard with a query out of 'in:devices', we would just re-use the devices view, since the sweep view is really just a filter of 'in:devices'.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #1856 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1856 Original created: 2025-10-22T18:48:45Z --- **Describe the bug** When you navigate to `Network`->`Sweeps`, that view is making an SRQL query using the /api/query endpoint. We should update the topbar search input to reflect the query being run to produce the data in this view. We should have a way to tie the OCSF data source (devices, traces, logs, etc) to a particular view, so that if you ever query 'in:devices', you are always going to get the same consistent devices view. IF we're just adding additional fields to search on, we should still get the same consistent view. For example, if we produce the sweep dashboard with a query out of 'in:devices', we would just re-use the devices view, since the sweep view is really just a filter of 'in:devices'. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#599
No description provided.