Skip to content

Conversation

@justinpark
Copy link
Member

@justinpark justinpark commented Aug 21, 2025

SUMMARY

In the previous #33522, the autocomplete function was set to be skipped before it was synced. In this commit, following the fix for the SQL editor flushing issue in #34720, this behavior has been reverted so that the autocomplete function works correctly. Additionally, an issue where deleted tabs were not removed upon refresh before they were synced to the server has been fixed.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

  • autocomplete

before:

before--autocomplete.mov

after:

after--autocomplete.mov
  • close tabs

before:

before--clear-tabs.mov

after:

after--clear-tabs.mov

TESTING INSTRUCTIONS

Open a new tab and type some keyword to check autocomplete and then close the tab and then refresh the page for deletion

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • 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

@dosubot dosubot bot added change:frontend Requires changing the frontend sqllab Namespace | Anything related to the SQL Lab labels Aug 21, 2025
Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

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

Review by Korbit AI

Korbit automatically attempts to detect when you fix issues in new commits.
Category Issue Status
Functionality Unsafe Active Tab Assignment ▹ view 🧠 Not in scope
Files scanned
File Path Reviewed
superset-frontend/src/SqlLab/reducers/getInitialState.ts
superset-frontend/src/SqlLab/reducers/sqlLab.js
superset-frontend/src/SqlLab/components/SqlEditor/index.tsx

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

}
});
}
lastUpdatedActiveTab = tabHistory.slice(tabHistory.length - 1)[0] || '';

This comment was marked as resolved.

@justinpark
Copy link
Member Author

cc: @rebenitez1802

@justinpark justinpark force-pushed the fix--sqllab-autocomplete-and-remove-tabs branch from daf84d8 to 9a900c7 Compare August 22, 2025 17:21
@michael-s-molina michael-s-molina added the v6.0 Label added by the release manager to track PRs to be included in the 6.0 branch label Aug 26, 2025
@sadpandajoe sadpandajoe moved this from New to Blockers in Apache Superset 6.0.X Release Bugs Aug 28, 2025
@justinpark justinpark merged commit cefd046 into apache:master Sep 3, 2025
71 of 75 checks passed
sadpandajoe pushed a commit that referenced this pull request Sep 4, 2025
@sadpandajoe sadpandajoe moved this from Blockers to Cherried in Apache Superset 6.0.X Release Bugs Sep 4, 2025
@github-actions github-actions bot added 🍒 6.0.0 Cherry-picked to 6.0.0 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels labels Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels change:frontend Requires changing the frontend size/M sqllab Namespace | Anything related to the SQL Lab v6.0 Label added by the release manager to track PRs to be included in the 6.0 branch 🍒 6.0.0 Cherry-picked to 6.0.0

Projects

Development

Successfully merging this pull request may close these issues.

2 participants