Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
a56e55ac
Unverified
Commit
a56e55ac
authored
Apr 25, 2020
by
Dominik Prokop
Committed by
GitHub
Apr 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NewPanelEditor: increase sidebar min width, value mappings radio no longer full width (#23889)
parent
d1665222
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
packages/grafana-ui/src/components/ValueMappingsEditor/MappingRow.tsx
+8
-10
public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx
+1
-1
No files found.
packages/grafana-ui/src/components/ValueMappingsEditor/MappingRow.tsx
View file @
a56e55ac
import
React
,
{
ChangeEvent
}
from
'react'
;
import
React
,
{
ChangeEvent
}
from
'react'
;
import
{
HorizontalGroup
}
from
'../Layout/Layout'
;
import
{
HorizontalGroup
}
from
'../Layout/Layout'
;
import
{
FullWidthButtonContainer
,
IconButton
,
Label
,
RadioButtonGroup
}
from
'../index'
;
import
{
IconButton
,
Label
,
RadioButtonGroup
}
from
'../index'
;
import
{
Field
}
from
'../Forms/Field'
;
import
{
Field
}
from
'../Forms/Field'
;
import
{
Input
}
from
'../Input/Input'
;
import
{
Input
}
from
'../Input/Input'
;
import
{
MappingType
,
RangeMap
,
SelectableValue
,
ValueMap
,
ValueMapping
}
from
'@grafana/data'
;
import
{
MappingType
,
RangeMap
,
SelectableValue
,
ValueMap
,
ValueMapping
}
from
'@grafana/data'
;
...
@@ -81,15 +81,13 @@ export const MappingRow: React.FC<Props> = ({ valueMapping, updateValueMapping,
...
@@ -81,15 +81,13 @@ export const MappingRow: React.FC<Props> = ({ valueMapping, updateValueMapping,
return
(
return
(
<
div
>
<
div
>
<
Field
label=
{
label
}
>
<
Field
label=
{
label
}
>
<
FullWidthButtonContainer
>
<
RadioButtonGroup
<
RadioButtonGroup
options=
{
MAPPING_OPTIONS
}
options=
{
MAPPING_OPTIONS
}
value=
{
type
}
value=
{
type
}
onChange=
{
type
=>
{
onChange=
{
type
=>
{
onMappingTypeChange
(
type
!
);
onMappingTypeChange
(
type
!
);
}
}
}
}
/>
/>
</
FullWidthButtonContainer
>
</
Field
>
</
Field
>
{
renderRow
()
}
{
renderRow
()
}
</
div
>
</
div
>
...
...
public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx
View file @
a56e55ac
...
@@ -309,7 +309,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
...
@@ -309,7 +309,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
return
(
return
(
<
SplitPane
<
SplitPane
split=
"vertical"
split=
"vertical"
minSize=
{
1
00
}
minSize=
{
3
00
}
primary=
"second"
primary=
"second"
/* Use persisted state for default size */
/* Use persisted state for default size */
defaultSize=
{
uiState
.
rightPaneSize
}
defaultSize=
{
uiState
.
rightPaneSize
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment