Skip to content

Commit

Permalink
address design feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Sep 15, 2020
1 parent 1aa0ef4 commit 7f87c1a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface ProcessorStatusIcon {

const processorStatusToIconMap: Record<ProcessorStatus, ProcessorStatusIcon> = {
success: {
icon: 'check',
icon: 'checkInCircleFilled',
iconColor: 'success',
label: i18n.translate('xpack.ingestPipelines.pipelineEditorItem.successStatusAriaLabel', {
defaultMessage: 'Success',
Expand Down Expand Up @@ -54,7 +54,7 @@ const processorStatusToIconMap: Record<ProcessorStatus, ProcessorStatusIcon> = {
},
inactive: {
icon: 'dot',
iconColor: 'subdued',
iconColor: '#D3DAE6', // $euiColorLightShade
label: i18n.translate('xpack.ingestPipelines.pipelineEditorItem.inactiveStatusAriaLabel', {
defaultMessage: 'Not run',
}),
Expand All @@ -65,7 +65,7 @@ const processorStatusToIconMap: Record<ProcessorStatus, ProcessorStatusIcon> = {
// This is not expected and likely means we need to modify the code to support a new status
const unknownStatus = {
icon: 'dot',
iconColor: 'subdued',
iconColor: '#D3DAE6', // $euiColorLightShade
label: i18n.translate('xpack.ingestPipelines.pipelineEditorItem.unknownStatusAriaLabel', {
defaultMessage: 'Unknown',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const i18nTexts = {
buttonLabel: i18n.translate(
'xpack.ingestPipelines.pipelineEditor.testPipeline.outputButtonLabel',
{
defaultMessage: 'Output',
defaultMessage: 'View output',
}
),
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const i18nTexts = {
testPipelineActionsLabel: i18n.translate(
'xpack.ingestPipelines.pipelineEditor.testPipeline.testPipelineActionsLabel',
{
defaultMessage: 'Test:',
defaultMessage: 'Test pipeline:',
}
),
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const DocumentsTab: React.FunctionComponent<Props> = ({
size="s"
isLoading={isRunningTest}
disabled={isSubmitButtonDisabled}
iconType="play"
>
{isRunningTest ? (
<FormattedMessage
Expand Down

0 comments on commit 7f87c1a

Please sign in to comment.