]> source.dussan.org Git - sonarqube.git/commit
SONARCLOUD-176 Allow upgrading to paid organization when provisioning projects
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Tue, 27 Nov 2018 13:13:26 +0000 (14:13 +0100)
committerSonarTech <sonartech@sonarsource.com>
Fri, 7 Dec 2018 19:21:05 +0000 (20:21 +0100)
commit8dea56b4c70d09fc069add79ab0617bf6bb0e16a
tree5c49ebbfdb3a82d09682c33fd27bce4f04e1f00c
parent5aedc697b7bba9e80a97ab86913b61ce662563a8
SONARCLOUD-176 Allow upgrading to paid organization when provisioning projects

* Update UpgradeOrganizationBox component with new cardPlan component
* Display upgrade box only when needed
* Introduce isDefined type guard
* Update repositories selection workflow
90 files changed:
server/sonar-web/src/main/js/api/plugins.ts
server/sonar-web/src/main/js/app/styles/components/modals.css
server/sonar-web/src/main/js/app/styles/init/misc.css
server/sonar-web/src/main/js/app/theme.js
server/sonar-web/src/main/js/apps/code/components/Components.tsx
server/sonar-web/src/main/js/apps/component-measures/drilldown/BubbleChart.tsx
server/sonar-web/src/main/js/apps/component-measures/drilldown/TreeMapView.tsx
server/sonar-web/src/main/js/apps/create/components/BillingFormShim.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/CardPlan.css
server/sonar-web/src/main/js/apps/create/components/CardPlan.tsx
server/sonar-web/src/main/js/apps/create/components/OrganizationSelect.tsx
server/sonar-web/src/main/js/apps/create/components/UpgradeOrganizationAdvantages.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/UpgradeOrganizationBox.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/UpgradeOrganizationModal.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/__mocks__/BillingFormShim.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/__tests__/BillingFormShim-test.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/__tests__/CardPlan-test.tsx
server/sonar-web/src/main/js/apps/create/components/__tests__/UpgradeOrganizationAdvantages-test.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/__tests__/UpgradeOrganizationBox-test.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/__tests__/UpgradeOrganizationModal-test.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/__tests__/__snapshots__/BillingFormShim-test.tsx.snap [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/__tests__/__snapshots__/CardPlan-test.tsx.snap
server/sonar-web/src/main/js/apps/create/components/__tests__/__snapshots__/OrganizationSelect-test.tsx.snap
server/sonar-web/src/main/js/apps/create/components/__tests__/__snapshots__/UpgradeOrganizationAdvantages-test.tsx.snap [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/__tests__/__snapshots__/UpgradeOrganizationBox-test.tsx.snap [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/components/__tests__/__snapshots__/UpgradeOrganizationModal-test.tsx.snap [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/organization/BillingFormShim.tsx [deleted file]
server/sonar-web/src/main/js/apps/create/organization/CreateOrganization.tsx
server/sonar-web/src/main/js/apps/create/organization/PlanSelect.tsx
server/sonar-web/src/main/js/apps/create/organization/PlanStep.tsx
server/sonar-web/src/main/js/apps/create/organization/__mocks__/BillingFormShim.tsx [deleted file]
server/sonar-web/src/main/js/apps/create/organization/__tests__/BillingFormShim-test.tsx [deleted file]
server/sonar-web/src/main/js/apps/create/organization/__tests__/PlanSelect-test.tsx
server/sonar-web/src/main/js/apps/create/organization/__tests__/__snapshots__/BillingFormShim-test.tsx.snap [deleted file]
server/sonar-web/src/main/js/apps/create/organization/__tests__/__snapshots__/CreateOrganization-test.tsx.snap
server/sonar-web/src/main/js/apps/create/organization/__tests__/__snapshots__/PlanSelect-test.tsx.snap
server/sonar-web/src/main/js/apps/create/organization/__tests__/__snapshots__/PlanStep-test.tsx.snap
server/sonar-web/src/main/js/apps/create/organization/utils.ts
server/sonar-web/src/main/js/apps/create/project/AlmRepositoryItem.tsx
server/sonar-web/src/main/js/apps/create/project/AutoProjectCreate.tsx
server/sonar-web/src/main/js/apps/create/project/CreateProjectPage.tsx
server/sonar-web/src/main/js/apps/create/project/RemoteRepositories.tsx
server/sonar-web/src/main/js/apps/create/project/SetupProjectBox.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/project/__tests__/AlmRepositoryItem-test.tsx
server/sonar-web/src/main/js/apps/create/project/__tests__/AutoProjectCreate-test.tsx
server/sonar-web/src/main/js/apps/create/project/__tests__/RemoteRepositories-test.tsx
server/sonar-web/src/main/js/apps/create/project/__tests__/SetupProjectBox-test.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AlmRepositoryItem-test.tsx.snap
server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/AutoProjectCreate-test.tsx.snap
server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/RemoteRepositories-test.tsx.snap
server/sonar-web/src/main/js/apps/create/project/__tests__/__snapshots__/SetupProjectBox-test.tsx.snap [new file with mode: 0644]
server/sonar-web/src/main/js/apps/create/project/style.css [new file with mode: 0644]
server/sonar-web/src/main/js/apps/organizations/components/OrganizationJustCreated.css
server/sonar-web/src/main/js/apps/permissions/project/components/App.tsx
server/sonar-web/src/main/js/apps/permissions/project/components/AppContainer.ts
server/sonar-web/src/main/js/apps/projectActivity/components/GraphsTooltips.tsx
server/sonar-web/src/main/js/apps/projects/routes.ts
server/sonar-web/src/main/js/apps/projectsManagement/App.tsx
server/sonar-web/src/main/js/apps/projectsManagement/AppContainer.tsx
server/sonar-web/src/main/js/apps/projectsManagement/ChangeDefaultVisibilityForm.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/projectsManagement/ChangeVisibilityForm.tsx [deleted file]
server/sonar-web/src/main/js/apps/projectsManagement/CreateProjectForm.tsx
server/sonar-web/src/main/js/apps/projectsManagement/Header.tsx
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/App-test.tsx
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ChangeDefaultVisibilityForm-test.tsx [new file with mode: 0644]
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/ChangeVisibilityForm-test.tsx [deleted file]
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/CreateProjectForm-test.tsx
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/Header-test.tsx
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ChangeDefaultVisibilityForm-test.tsx.snap [new file with mode: 0644]
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/ChangeVisibilityForm-test.tsx.snap [deleted file]
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/CreateProjectForm-test.tsx.snap
server/sonar-web/src/main/js/apps/projectsManagement/__tests__/__snapshots__/Header-test.tsx.snap
server/sonar-web/src/main/js/apps/tutorials/onboarding/OnboardingModal.tsx
server/sonar-web/src/main/js/apps/tutorials/onboarding/__tests__/__snapshots__/OnboardingModal-test.tsx.snap
server/sonar-web/src/main/js/apps/tutorials/styles.css
server/sonar-web/src/main/js/components/charts/AdvancedTimeline.tsx
server/sonar-web/src/main/js/components/charts/BubbleChart.tsx
server/sonar-web/src/main/js/components/charts/TreeMap.tsx
server/sonar-web/src/main/js/components/charts/TreeMapRect.tsx
server/sonar-web/src/main/js/components/common/UpgradeOrganizationBox.css [deleted file]
server/sonar-web/src/main/js/components/common/UpgradeOrganizationBox.tsx [deleted file]
server/sonar-web/src/main/js/components/controls/Modal.tsx
server/sonar-web/src/main/js/components/controls/Tooltip.tsx
server/sonar-web/src/main/js/components/controls/react-select.css
server/sonar-web/src/main/js/components/hoc/__tests__/withUserOrganizations-test.tsx
server/sonar-web/src/main/js/components/hoc/withUserOrganizations.tsx
server/sonar-web/src/main/js/components/tags/TagsList.css
server/sonar-web/src/main/js/components/ui/buttons.css
server/sonar-web/src/main/js/helpers/types.ts [new file with mode: 0644]
sonar-core/src/main/resources/org/sonar/l10n/core.properties