Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
qq_22812535
incubator-superset
提交
5d3265b6
I
incubator-superset
项目概览
qq_22812535
/
incubator-superset
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
incubator-superset
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
5d3265b6
编写于
1月 22, 2021
作者:
M
Michael S. Molina
提交者:
GitHub
1月 22, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Apply capitalization guidelines - iteration 3 (#12343) (#12449)
上级
57fa6d2c
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
16 addition
and
16 deletion
+16
-16
superset-frontend/cypress-base/cypress/integration/dashboard/save.test.js
...d/cypress-base/cypress/integration/dashboard/save.test.js
+1
-1
superset-frontend/src/CRUD/CollectionTable.tsx
superset-frontend/src/CRUD/CollectionTable.tsx
+1
-1
superset-frontend/src/components/Menu/NewMenu.tsx
superset-frontend/src/components/Menu/NewMenu.tsx
+1
-1
superset-frontend/src/components/Select/Select.stories.tsx
superset-frontend/src/components/Select/Select.stories.tsx
+1
-1
superset-frontend/src/dashboard/components/ColorSchemeControlWrapper.jsx
...nd/src/dashboard/components/ColorSchemeControlWrapper.jsx
+1
-1
superset-frontend/src/dashboard/components/CssEditor.jsx
superset-frontend/src/dashboard/components/CssEditor.jsx
+1
-1
superset-frontend/src/dashboard/components/Header.jsx
superset-frontend/src/dashboard/components/Header.jsx
+2
-2
superset-frontend/src/dashboard/components/HeaderActionsDropdown.jsx
...ontend/src/dashboard/components/HeaderActionsDropdown.jsx
+2
-2
superset-frontend/src/dashboard/components/PropertiesModal.jsx
...set-frontend/src/dashboard/components/PropertiesModal.jsx
+4
-4
superset-frontend/src/dashboard/components/RefreshIntervalModal.tsx
...rontend/src/dashboard/components/RefreshIntervalModal.tsx
+1
-1
superset-frontend/src/dashboard/components/SaveModal.tsx
superset-frontend/src/dashboard/components/SaveModal.tsx
+1
-1
未找到文件。
superset-frontend/cypress-base/cypress/integration/dashboard/save.test.js
浏览文件 @
5d3265b6
...
...
@@ -97,7 +97,7 @@ describe('Dashboard save action', () => {
// open color scheme dropdown
cy
.
get
(
'
.ant-modal-body
'
)
.
contains
(
'
Color
S
cheme
'
)
.
contains
(
'
Color
s
cheme
'
)
.
parents
(
'
.ControlHeader
'
)
.
next
(
'
.Select
'
)
.
click
()
...
...
superset-frontend/src/CRUD/CollectionTable.tsx
浏览文件 @
5d3265b6
...
...
@@ -314,7 +314,7 @@ export default class CRUDCollection extends React.PureComponent<
data
-
test
=
"add-item-button"
>
<
i
data
-
test
=
"crud-add-table-item"
className
=
"fa fa-plus"
/>
{
'
'
}
{
t
(
'
Add
I
tem
'
)
}
{
t
(
'
Add
i
tem
'
)
}
</
Button
>
</
span
>
)
}
...
...
superset-frontend/src/components/Menu/NewMenu.tsx
浏览文件 @
5d3265b6
...
...
@@ -23,7 +23,7 @@ import NavDropdown from 'src/components/NavDropdown';
const
dropdownItems
=
[
{
label
:
t
(
'
SQL
Q
uery
'
),
label
:
t
(
'
SQL
q
uery
'
),
url
:
'
/superset/sqllab
'
,
icon
:
'
fa-fw fa-search
'
,
},
...
...
superset-frontend/src/components/Select/Select.stories.tsx
浏览文件 @
5d3265b6
...
...
@@ -28,7 +28,7 @@ const OPTIONS = [
];
export
default
{
title
:
'
Select
C
omponent
'
,
title
:
'
Select
c
omponent
'
,
argTypes
:
{
options
:
{
type
:
'
select
'
,
...
...
superset-frontend/src/dashboard/components/ColorSchemeControlWrapper.jsx
浏览文件 @
5d3265b6
...
...
@@ -53,7 +53,7 @@ class ColorSchemeControlWrapper extends React.PureComponent {
description
=
{
t
(
"
Any color palette selected here will override the colors applied to this dashboard's individual charts
"
,
)
}
label
=
{
t
(
'
Color
S
cheme
'
)
}
label
=
{
t
(
'
Color
s
cheme
'
)
}
name
=
"color_scheme"
onChange
=
{
this
.
props
.
onChange
}
value
=
{
colorScheme
}
...
...
superset-frontend/src/dashboard/components/CssEditor.jsx
浏览文件 @
5d3265b6
...
...
@@ -85,7 +85,7 @@ class CssEditor extends React.PureComponent {
<
div
>
{
this
.
renderTemplateSelector
()
}
<
div
style
=
{
{
zIndex
:
1
}
}
>
<
h5
>
{
t
(
'
Live CSS
E
ditor
'
)
}
</
h5
>
<
h5
>
{
t
(
'
Live CSS
e
ditor
'
)
}
</
h5
>
<
div
style
=
{
{
border
:
'
solid 1px grey
'
}
}
>
<
AceCssEditor
minLines
=
{
12
}
...
...
superset-frontend/src/dashboard/components/Header.jsx
浏览文件 @
5d3265b6
...
...
@@ -456,7 +456,7 @@ class Header extends React.PureComponent {
buttonStyle
=
"default"
data
-
test
=
"discard-changes-button"
>
{
t
(
'
Discard
C
hanges
'
)
}
{
t
(
'
Discard
c
hanges
'
)
}
</
Button
>
<
Button
buttonSize
=
"small"
...
...
@@ -482,7 +482,7 @@ class Header extends React.PureComponent {
<>
<
span
role
=
"button"
title
=
"Edit
D
ashboard"
title
=
"Edit
d
ashboard"
tabIndex
=
{
0
}
className
=
"action-button"
onClick
=
{
this
.
toggleEditMode
}
...
...
superset-frontend/src/dashboard/components/HeaderActionsDropdown.jsx
浏览文件 @
5d3265b6
...
...
@@ -201,7 +201,7 @@ class HeaderActionsDropdown extends React.PureComponent {
lastModifiedTime
,
}
=
this
.
props
;
const
emailTitle
=
t
(
'
Superset
D
ashboard
'
);
const
emailTitle
=
t
(
'
Superset
d
ashboard
'
);
const
emailSubject
=
`
${
emailTitle
}
${
dashboardTitle
}
`
;
const
emailBody
=
t
(
'
Check out this dashboard:
'
);
...
...
@@ -302,7 +302,7 @@ class HeaderActionsDropdown extends React.PureComponent {
{
!
editMode
&&
(
<
Menu
.
Item
key
=
{
MENU_KEYS
.
TOGGLE_FULLSCREEN
}
>
{
t
(
'
Toggle
FullS
creen
'
)
}
{
t
(
'
Toggle
fulls
creen
'
)
}
</
Menu
.
Item
>
)
}
</
Menu
>
...
...
superset-frontend/src/dashboard/components/PropertiesModal.jsx
浏览文件 @
5d3265b6
...
...
@@ -292,7 +292,7 @@ class PropertiesModal extends React.PureComponent {
<
Modal
show
=
{
this
.
props
.
show
}
onHide
=
{
this
.
props
.
onHide
}
title
=
{
t
(
'
Dashboard
P
roperties
'
)
}
title
=
{
t
(
'
Dashboard
p
roperties
'
)
}
footer
=
{
<>
<
Button
...
...
@@ -321,7 +321,7 @@ class PropertiesModal extends React.PureComponent {
<
form
data
-
test
=
"dashboard-edit-properties-form"
onSubmit
=
{
this
.
submit
}
>
<
Row
>
<
Col
md
=
{
12
}
>
<
h3
>
{
t
(
'
Basic
I
nformation
'
)
}
</
h3
>
<
h3
>
{
t
(
'
Basic
i
nformation
'
)
}
</
h3
>
</
Col
>
</
Row
>
<
Row
>
...
...
@@ -338,7 +338,7 @@ class PropertiesModal extends React.PureComponent {
/>
</
Col
>
<
Col
md
=
{
6
}
>
<
FormLabel
htmlFor
=
"embed-height"
>
{
t
(
'
URL
S
lug
'
)
}
</
FormLabel
>
<
FormLabel
htmlFor
=
"embed-height"
>
{
t
(
'
URL
s
lug
'
)
}
</
FormLabel
>
<
FormControl
name
=
"slug"
type
=
"text"
...
...
@@ -397,7 +397,7 @@ class PropertiesModal extends React.PureComponent {
{
isAdvancedOpen
&&
(
<>
<
FormLabel
htmlFor
=
"json_metadata"
>
{
t
(
'
JSON
M
etadata
'
)
}
{
t
(
'
JSON
m
etadata
'
)
}
</
FormLabel
>
<
StyledJsonEditor
showLoadingForImport
...
...
superset-frontend/src/dashboard/components/RefreshIntervalModal.tsx
浏览文件 @
5d3265b6
...
...
@@ -112,7 +112,7 @@ class RefreshIntervalModal extends React.PureComponent<
<
StyledModalTrigger
ref
=
{
this
.
modalRef
}
triggerNode
=
{
this
.
props
.
triggerNode
}
modalTitle
=
{
t
(
'
Refresh
I
nterval
'
)
}
modalTitle
=
{
t
(
'
Refresh
i
nterval
'
)
}
modalBody
=
{
<
div
>
<
FormLabel
>
{
t
(
'
Refresh frequency
'
)
}
</
FormLabel
>
...
...
superset-frontend/src/dashboard/components/SaveModal.tsx
浏览文件 @
5d3265b6
...
...
@@ -178,7 +178,7 @@ class SaveModal extends React.PureComponent<SaveModalProps, SaveModalState> {
<
ModalTrigger
ref
=
{
this
.
setModalRef
}
triggerNode
=
{
this
.
props
.
triggerNode
}
modalTitle
=
{
t
(
'
Save
D
ashboard
'
)
}
modalTitle
=
{
t
(
'
Save
d
ashboard
'
)
}
modalBody
=
{
<
FormGroup
>
<
Radio
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录