diff options
author | Jeremy Davis <jeremy.davis@sonarsource.com> | 2019-02-12 17:55:08 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-03-06 11:30:41 +0100 |
commit | 980cb9cb6854597e5adbad6fe2536f87cb519bd1 (patch) | |
tree | 07eba48ac0e92543568c2c340490e8a9b5a6c1e3 /server/sonar-web/src/main/js/app/components/StartupModal.tsx | |
parent | 80a41987529c43329119c90e2575c9b52a9a82d8 (diff) | |
download | sonarqube-980cb9cb6854597e5adbad6fe2536f87cb519bd1.tar.gz sonarqube-980cb9cb6854597e5adbad6fe2536f87cb519bd1.zip |
SONARCLOUD-380 Trigger member sync when importing ALM org
- Remove team button and refactor modals
- Sync members after importing alm organization
- Update AlmOrganization type and introduce mock function
- Add info box when importing or binding organization
- Remove manage team button in bound org empty state if member sync
Diffstat (limited to 'server/sonar-web/src/main/js/app/components/StartupModal.tsx')
-rw-r--r-- | server/sonar-web/src/main/js/app/components/StartupModal.tsx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/server/sonar-web/src/main/js/app/components/StartupModal.tsx b/server/sonar-web/src/main/js/app/components/StartupModal.tsx index 45cf0a3d7b4..c5d84e6c8eb 100644 --- a/server/sonar-web/src/main/js/app/components/StartupModal.tsx +++ b/server/sonar-web/src/main/js/app/components/StartupModal.tsx @@ -36,9 +36,6 @@ const LicensePromptModal = lazyLoad( () => import('../../apps/marketplace/components/LicensePromptModal'), 'LicensePromptModal' ); -const TeamOnboardingModal = lazyLoad(() => - import('../../apps/tutorials/teamOnboarding/TeamOnboardingModal') -); interface StateProps { canAdmin?: boolean; @@ -63,8 +60,7 @@ type Props = StateProps & DispatchProps & OwnProps & WithRouterProps; enum ModalKey { license, - onboarding, - teamOnboarding + onboarding } interface State { @@ -113,10 +109,6 @@ export class StartupModal extends React.PureComponent<Props, State> { this.props.router.push({ pathname: `/projects/create`, state }); }; - openTeamOnboarding = () => { - this.setState({ modal: ModalKey.teamOnboarding }); - }; - tryAutoOpenLicense = () => { const { canAdmin, currentEdition, currentUser } = this.props; const hasLicenseManager = hasMessage('license.prompt.title'); @@ -161,12 +153,8 @@ export class StartupModal extends React.PureComponent<Props, State> { <OnboardingModal onClose={this.closeOnboarding} onOpenProjectOnboarding={this.openProjectOnboarding} - onOpenTeamOnboarding={this.openTeamOnboarding} /> )} - {modal === ModalKey.teamOnboarding && ( - <TeamOnboardingModal onFinish={this.closeOnboarding} /> - )} </OnboardingContext.Provider> ); } |