Skip to content

RI-7218 Add telemetry collection for Saved Queries panel on Vector Search page #4829

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

valkirilov
Copy link
Member

@valkirilov valkirilov commented Aug 7, 2025

Description

Added telemetry collection events to track users' interaction with the Saved Indexes panel on the Vector Search page:

  • when users open/close the panel with the Saved Queries
  • when users insert saved queries into the editor
  • when users change the saved queries based on the index

How to test it

  1. Go to Vector Search page - http://localhost:8080/{databaseId}/vector-search
  2. Click on the "Saved Queries" button in the top right corner to open the panel (dispatches SEARCH_SAVED_QUERIES_PANEL_OPENED and SEARCH_SAVED_QUERIES_PANEL_CLOSED events)
  3. Click on the "Insert" button of a query to add the command in the editor(dispatches SEARCH_SAVED_QUERIES_INSERT_CLICKED event)
  4. Change the index from the select field in the Saved Queries panel (dispatches SEARCH_SAVED_QUERIES_INDEX_CHANGED event)
Screen.Recording.2025-08-07.at.16.36.53.mov

Verify Telemetry events

We have the new events for the Vector Search page collected successfully.

Note: Telemetry is collected only if the user decides to opt-in to that.
You control it from Settings page -> Privacy section -> Usage Data toggle.

image image image image

@valkirilov valkirilov changed the base branch from main to feature/RI-6855/vector-search August 7, 2025 13:07
@valkirilov valkirilov force-pushed the fe/feature/RI-7218_vector-search-telemetry-4 branch from a4672a1 to 812d4dc Compare August 7, 2025 13:09
Copy link
Contributor

github-actions bot commented Aug 7, 2025

Code Coverage - Frontend unit tests

St.
Category Percentage Covered / Total
🟢 Statements 81.33% 19455/23920
🟡 Branches 66.55% 8424/12658
🟡 Functions 75.25% 5135/6824
🟢 Lines 81.76% 19039/23287

Test suite run success

4958 tests passing in 656 suites.

Report generated by 🧪jest coverage report action from 75c6600

@valkirilov valkirilov marked this pull request as ready for review August 7, 2025 13:37
@valkirilov valkirilov self-assigned this Aug 8, 2025
@valkirilov valkirilov merged commit 2d251e0 into feature/RI-6855/vector-search Aug 8, 2025
13 checks passed
@valkirilov valkirilov deleted the fe/feature/RI-7218_vector-search-telemetry-4 branch August 8, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants