Skip to content

Comments

fix(Dataset Folders): improve search-collapse#38188

Open
msyavuz wants to merge 3 commits intomasterfrom
msyavuz/fix/dataset-folders-improved-search
Open

fix(Dataset Folders): improve search-collapse#38188
msyavuz wants to merge 3 commits intomasterfrom
msyavuz/fix/dataset-folders-improved-search

Conversation

@msyavuz
Copy link
Member

@msyavuz msyavuz commented Feb 23, 2026

SUMMARY

This PR improves the search functionality in dataset folders within the Explore view. Previously, searching for metrics/columns in collapsed folders would not show results, and the folder structure made it difficult to find matching items. This has been a significant usability issue preventing adoption of the dataset folders feature.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

dataset-folders-before.mp4

After:

dataset-folders-after.mp4

TESTING INSTRUCTIONS

  1. Create or use existing folder structure with nested folders
  2. Collapse some folders
  3. Search for a metric/column name that's inside a collapsed folder
    - Verify the folder auto-expands to show the match
    - Verify folders without matches are hidden
  4. Search for a folder name (e.g., "Metrics")
    - Verify all children in that folder are shown
  5. Clear the search
    - Verify folders return to their original collapsed/expanded state

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags: DATASET_FOLDERS
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

FEATURE_DATASET_FOLDERS=true

@msyavuz msyavuz marked this pull request as ready for review February 23, 2026 20:49
@dosubot dosubot bot added the explore:dataset Related to the dataset of Explore label Feb 23, 2026
@bito-code-review
Copy link
Contributor

bito-code-review bot commented Feb 23, 2026

Code Review Agent Run #9b2c0e

Actionable Suggestions - 0
Review Details
  • Files reviewed - 2 · Commit Range: b0b5cf2..67c3094
    • superset-frontend/src/components/Datasource/FoldersEditor/FoldersEditor.test.tsx
    • superset-frontend/src/components/Datasource/FoldersEditor/index.tsx
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

explore:dataset Related to the dataset of Explore preset-io size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant