persist Add Data button (#11292)

* persist Add Data button

* swap position

* Update tip text

* remove unused import
pull/11301/head
Daniel Campbell 2019-01-18 10:53:41 -08:00 committed by GitHub
parent 4863708c58
commit 220c66dc9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 18 deletions

View File

@ -157,7 +157,7 @@ class AdminStep extends PureComponent<Props, State> {
size={ComponentSize.Medium}
icon={icon}
status={ComponentStatus.Default}
placeholder="An organization is a workspace for storing data, dashboards, and other related resources."
placeholder="An organization is a workspace for a group of users."
disabledTitleText="Initial organization name has been set"
/>
</Form.Element>
@ -230,7 +230,7 @@ class AdminStep extends PureComponent<Props, State> {
return (
<QuestionMarkTooltip
tipID="admin_org_tooltip"
tipContent={`An organization is a workspace for storing data, dashboards, and other related resources.
tipContent={`An organization is a workspace for a group of users requiring access to time series data, dashboards, and other resources.
You can create organizations for different functional groups, teams, or projects.`}
/>
)

View File

@ -122,7 +122,7 @@ exports[`Onboarding.Components.AdminStep renders 1`] = `
icon={null}
name=""
onChange={[Function]}
placeholder="An organization is a workspace for storing data, dashboards, and other related resources."
placeholder="An organization is a workspace for a group of users."
size="md"
spellCheck={false}
status="default"

View File

@ -8,7 +8,6 @@ import {
ConfirmationButton,
Alignment,
Button,
ComponentSpacer,
ComponentColor,
} from 'src/clockface'
@ -39,20 +38,21 @@ export default class BucketRow extends PureComponent<Props> {
</IndexList.Cell>
<IndexList.Cell>{bucket.ruleString}</IndexList.Cell>
<IndexList.Cell revealOnHover={true} alignment={Alignment.Right}>
<ComponentSpacer align={Alignment.Right}>
<Button
text={'Add Data'}
onClick={this.handleClickAddData}
color={ComponentColor.Default}
/>
<ConfirmationButton
size={ComponentSize.ExtraSmall}
text="Delete"
confirmText="Confirm"
onConfirm={onDeleteBucket}
returnValue={bucket}
/>
</ComponentSpacer>
<ConfirmationButton
size={ComponentSize.ExtraSmall}
text="Delete"
confirmText="Confirm"
onConfirm={onDeleteBucket}
returnValue={bucket}
/>
</IndexList.Cell>
<IndexList.Cell alignment={Alignment.Right}>
<Button
text={'Add Data'}
onClick={this.handleClickAddData}
color={ComponentColor.Secondary}
size={ComponentSize.ExtraSmall}
/>
</IndexList.Cell>
</IndexList.Row>
</>