mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 11:42:36 +08:00

* copy paste tab row works * refactor to hook * add buttons to canvas * make i18n * remove paste from add pane and refactor * pasting auto grid panel works * add paste for default grid * set height/width and postion for auto grid items moving to default grid * clean up
22 lines
717 B
TypeScript
22 lines
717 B
TypeScript
export const GRID_CELL_HEIGHT = 30;
|
|
export const GRID_CELL_VMARGIN = 8;
|
|
export const GRID_COLUMN_COUNT = 24;
|
|
export const REPEAT_DIR_VERTICAL = 'v';
|
|
export const REPEAT_DIR_HORIZONTAL = 'h';
|
|
|
|
export const DEFAULT_PANEL_SPAN = 4;
|
|
export const DEFAULT_ROW_HEIGHT = 250;
|
|
export const MIN_PANEL_HEIGHT = GRID_CELL_HEIGHT * 3;
|
|
|
|
export const LS_PANEL_COPY_KEY = 'panel-copy';
|
|
export const LS_ROW_COPY_KEY = 'row-copy';
|
|
export const LS_TAB_COPY_KEY = 'tab-copy';
|
|
export const PANEL_BORDER = 2;
|
|
|
|
export const EDIT_PANEL_ID = 23763571993;
|
|
|
|
export const DEFAULT_PER_PAGE_PAGINATION = 40;
|
|
|
|
export const LS_VISUALIZATION_SELECT_TAB_KEY = 'VisualizationSelectPane.ListMode';
|
|
export const MEGA_MENU_TOGGLE_ID = 'mega-menu-toggle';
|