GitHub user MelikHajlawi created a discussion: [SQL Lab] Allow double-click or F2 to rename tab inline
Currently renaming a SQL Lab query tab requires multiple clicks through a context menu. This is slow for power users who rename tabs frequently. ### Proposed solution Add support for: 1. **Double-click** on the tab title to enter inline edit mode 2. Or **F2 key** when a tab is focused to trigger rename This is consistent with how tab renaming works in popular IDEs (VS Code, IntelliJ) and would significantly improve workflow for SQL power users. ### Motivation SQL Lab users often work with many tabs simultaneously and rename them to track different queries (e.g., "Sales by Region", "Monthly Trends"). The current 3-click workflow to rename interrupts the flow. ### Implementation notes The rename logic already exists in `SqlEditorTabHeader/index.tsx`. The `TabTitle` styled component could be made editable with `contentEditable` on double-click, or a proper modal could replace the current `prompt()` call GitHub link: https://github.com/apache/superset/discussions/40404 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
