Skip to content

Conversation

dhruvisompura
Copy link
Contributor

@dhruvisompura dhruvisompura commented Oct 16, 2025

Addresses #9847

Updates the column selector modal popup (which is a data grid under the hood) to use the new backend search functionality we added to the data explorer.

This should address the issue we were seeing where column names weren't rendering in the drop down when the number of columns was greater than a few hundred. Instead of trying to fetch and render all columns, only the columns that are visible are shown and cached. When the user scrolls or searches, we go out and fetch the column data that should be in view. This is the same behavior we have in the other data grids, like the summary panel.

Note: The RPC timeout issue described in #9846 is now also present in the column selector modal popup when searching if there are a large number of columns present. Searching will silently fail if it takes longer than 5 seconds. Depsite this, the behavior is much improved than what it was previously.

For keyboard functionality testing, I want to point out the focus and keyboard behavior when using the search in the filter column selector dropdown is slightly different than a traditional dropdown because of some of the custom cursor selection behavior we have. The biggest thing to be aware of is: the focus/selected styling in the dropdown is always visible (and set to the first item in the dropdown) when a search is active. This is a bit odd when searching because the actual focus indicator is in the search box. Pressing Arrow Down or Tab will move the actual focus indicator into the dropdown but its not obvious that is where focus went since the selected/focused state for the dropdown is always present and there is no difference between focus and selection. Everything works, its just a bit odd visually. This is how its always worked and hasn't been changed in this PR! Just be aware when testing.

Here's an example of an accessible combobox pattern in case you are curious what the differences are: https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-autocomplete-both/

BEFORE - 5 million columns

Screen.Recording.2025-10-17.at.10.05.46.AM.mov

AFTER - Dropdown without search (6 columns)

Screen.Recording.2025-10-16.at.3.30.23.PM.mov

AFTER - Dropdown with search (1000 columns)

Screen.Recording.2025-10-17.at.10.09.36.AM.mov

AFTER - Dropdown with search (5 million columns)

Screen.Recording.2025-10-17.at.10.04.17.AM.mov

Release Notes

New Features

Bug Fixes

  • N/A

QA Notes

@:data-explorer
@:web
@:win

Copy link

github-actions bot commented Oct 16, 2025

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:data-explorer @:web @:win

readme  valid tags

@dhruvisompura dhruvisompura force-pushed the feature/update-data-explorer-column-selector branch from 32b35fe to 9c5ffeb Compare October 17, 2025 17:11
@dhruvisompura dhruvisompura marked this pull request as ready for review October 17, 2025 17:11
softwarenerd
softwarenerd previously approved these changes Oct 20, 2025
Copy link
Contributor

@softwarenerd softwarenerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG!

}

// Get the column schema for the row index.
// Get the column schema for the data at this row index.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no data. data at this seems weird to me.

isabelizimm
isabelizimm previously approved these changes Oct 20, 2025
Copy link
Contributor

@isabelizimm isabelizimm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! the QOL increase is amazing 🤩

@dhruvisompura dhruvisompura merged commit 8a9d259 into main Oct 20, 2025
14 checks passed
@dhruvisompura dhruvisompura deleted the feature/update-data-explorer-column-selector branch October 20, 2025 23:04
@github-actions github-actions bot locked and limited conversation to collaborators Oct 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants