-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Save to Dashboard popup adds an entry for a create dashboard #1690
feat: Save to Dashboard popup adds an entry for a create dashboard #1690
Conversation
@@ -18,6 +18,7 @@ | |||
|
|||
import { Empty, Table, TableProps } from 'antd'; | |||
import classNames from 'classnames'; | |||
import { TABLEDATAINDEX } from 'globalConstants'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
常量命名,尽量还是大写单词加下划线的方式,连起来不利于阅读:TABLE_DATA_INDEX?
frontend/src/globalConstants.ts
Outdated
@@ -25,6 +25,7 @@ export const EVENT_ACTION_DELAY_MS = 200; | |||
export const RUNTIME_FILTER_KEY = Symbol('@filters@'); | |||
export const BOARD_COPY_CHART_SUFFIX = '_copy'; | |||
export const BOARD_SELF_CHART_PREFIX = 'widget_'; | |||
export const TABLEDATAINDEX = '@datartTableIndex@'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
命名同其他常量
@@ -1657,6 +1657,7 @@ | |||
"searchValue": "Search keywords" | |||
}, | |||
"saveToDashOrStory": { | |||
"creatdDashboard": "Create Dashboard", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
createDashboard,不是creatd
@@ -1658,6 +1658,7 @@ | |||
"searchValue": "搜索名称关键字" | |||
}, | |||
"saveToDashOrStory": { | |||
"creatdDashboard": "新建仪表板", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上
No description provided.