chore: refactor SqlEditor to functional component (#21320)

This commit is contained in:
EugeneTorap 2022-09-20 16:41:14 +03:00 committed by GitHub
parent 135909f814
commit 2224ebecfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 411 additions and 509 deletions

File diff suppressed because it is too large Load Diff

View File

@ -49,6 +49,12 @@ export const SQL_EDITOR_GUTTER_HEIGHT = 5;
export const SQL_EDITOR_GUTTER_MARGIN = 3;
export const SQL_TOOLBAR_HEIGHT = 51;
export const SQL_EDITOR_LEFTBAR_WIDTH = 400;
export const SQL_EDITOR_PADDING = 10;
export const INITIAL_NORTH_PERCENT = 30;
export const INITIAL_SOUTH_PERCENT = 70;
export const SET_QUERY_EDITOR_SQL_DEBOUNCE_MS = 2000;
export const VALIDATION_DEBOUNCE_MS = 600;
export const WINDOW_RESIZE_THROTTLE_MS = 100;
// kilobyte storage
export const KB_STORAGE = 1024;