Skip to content
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

Merged
merged 4 commits into from
Jul 21, 2022

Conversation

SoarBlueSky
Copy link
Contributor

No description provided.

@@ -18,6 +18,7 @@

import { Empty, Table, TableProps } from 'antd';
import classNames from 'classnames';
import { TABLEDATAINDEX } from 'globalConstants';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

常量命名,尽量还是大写单词加下划线的方式,连起来不利于阅读:TABLE_DATA_INDEX?

@@ -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@';
Copy link
Contributor

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",
Copy link
Contributor

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": "新建仪表板",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

@Cuiyansong Cuiyansong merged commit c36c435 into running-elephant:dev Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants