mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-03 09:57:17 +00:00
* fix(nc-gui): use px to configure left sidebar width instead of percentage * fix(nc-gui): ai review changes * fix(nc-gui): use 256px sidebar default width in pw testing * fix: use constant sidebar width * fix(test): airtable import test fail issue * chore(test): remove console * chore(nc-gui): update comment
23 lines
593 B
TypeScript
23 lines
593 B
TypeScript
export const NOCO = 'noco'
|
|
|
|
export const SYSTEM_COLUMNS = ['id', 'title', 'created_at', 'updated_at']
|
|
|
|
export const EMPTY_TITLE_PLACEHOLDER_DOCS = 'Untitled'
|
|
|
|
export const MAX_WIDTH_FOR_MOBILE_MODE = 480
|
|
|
|
export const BASE_FALLBACK_URL = process.env.NODE_ENV === 'production' ? '..' : 'http://localhost:8080'
|
|
|
|
export const GROUP_BY_VARS = {
|
|
NULL: '__nc_null__',
|
|
TRUE: '__nc_true__',
|
|
FALSE: '__nc_false__',
|
|
VAR_TITLES: {
|
|
__nc_null__: 'Empty',
|
|
__nc_true__: 'Checked',
|
|
__nc_false__: 'Unchecked',
|
|
} as Record<string, string>,
|
|
}
|
|
|
|
export const INITIAL_LEFT_SIDEBAR_WIDTH = 288
|