mirror of
https://github.com/apache/superset.git
synced 2026-04-27 20:14:54 +00:00
fix(sqllab): Handle long table names in SQL Lab (#10518)
* widen the autocomplete menu for table names * display the full table name in a tooltip * license * Update superset-frontend/src/SqlLab/components/AceEditorWrapper/index.tsx Co-authored-by: Evan Rusackas <evan@preset.io> * src importing * move autocomplete width css to main.less * use html title attribute instead of tooltip Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
committed by
GitHub
parent
a37b635674
commit
83af9d12f8
@@ -22,14 +22,14 @@ import 'brace/mode/sql';
|
||||
import 'brace/theme/github';
|
||||
import 'brace/ext/language_tools';
|
||||
import ace from 'brace';
|
||||
import { areArraysShallowEqual } from '../../reduxUtils';
|
||||
import sqlKeywords from '../utils/sqlKeywords';
|
||||
import { areArraysShallowEqual } from 'src/reduxUtils';
|
||||
import sqlKeywords from 'src/SqlLab/utils/sqlKeywords';
|
||||
import {
|
||||
SCHEMA_AUTOCOMPLETE_SCORE,
|
||||
TABLE_AUTOCOMPLETE_SCORE,
|
||||
COLUMN_AUTOCOMPLETE_SCORE,
|
||||
SQL_FUNCTIONS_AUTOCOMPLETE_SCORE,
|
||||
} from '../constants';
|
||||
} from 'src/SqlLab/constants';
|
||||
|
||||
const langTools = ace.acequire('ace/ext/language_tools');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user