diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dce6aab28a..ec16b486913 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ 1. [18361](https://github.com/influxdata/influxdb/pull/18361): Tokens list is now consistent with the other resource lists 1. [18346](https://github.com/influxdata/influxdb/pull/18346): Reduce the number of variables being hydrated when toggling variables 1. [18447](https://github.com/influxdata/influxdb/pull/18447): Redesign dashboard cell loading indicator to be more obvious +1. [18593](https://github.com/influxdata/influxdb/pull/18593): Add copyable User and Organization Ids to About page ## v2.0.0-beta.11 [2020-05-26] diff --git a/ui/src/organizations/components/OrgProfileTab.tsx b/ui/src/organizations/components/OrgProfileTab.tsx index e89e99ce5bc..e3c7133f84b 100644 --- a/ui/src/organizations/components/OrgProfileTab.tsx +++ b/ui/src/organizations/components/OrgProfileTab.tsx @@ -1,5 +1,6 @@ // Libraries import React, {PureComponent} from 'react' +import {connect} from 'react-redux' import {WithRouterProps, withRouter} from 'react-router' import _ from 'lodash' @@ -17,53 +18,93 @@ import { Gradients, InfluxColors, JustifyContent, + Grid, + Label, + Columns, } from '@influxdata/clockface' import {ErrorHandling} from 'src/shared/decorators/errors' +import CodeSnippet from 'src/shared/components/CodeSnippet' + +import {getOrg} from 'src/organizations/selectors' +import { + copyToClipboardSuccess, + copyToClipboardFailed, +} from 'src/shared/copy/notifications' // Types import {ButtonType} from 'src/clockface' +import {AppState, Organization} from 'src/types' +import {MeState} from 'src/shared/reducers/me' -type Props = WithRouterProps +interface StateProps { + me: MeState + org: Organization +} + +type Props = StateProps | DispatchProps | WithRouterProps @ErrorHandling class OrgProfileTab extends PureComponent { public render() { return ( - - -

Organization Profile

-
- -
- - -
Danger Zone!
-
- - -
-
Rename Organization
-

- This action can have wide-reaching unintended - consequences. -

-
-