@spinnaker/core 0.11.4 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -0
- package/dist/cloudProvider/CloudProviderLogo.d.ts +0 -5
- package/dist/config/settings.d.ts +1 -0
- package/dist/core.module.d.ts +1 -1
- package/dist/index.js +40 -32
- package/dist/index.js.map +1 -1
- package/dist/managed/constraints/registry.d.ts +1 -1
- package/dist/managed/environmentBaseElements/EnvironmentsRender.d.ts +3 -2
- package/dist/managed/graphql/graphql-sdk.d.ts +35 -0
- package/dist/managed/overview/PreviewEnvironments.d.ts +8 -0
- package/dist/managed/resources/ToggleResourceManagement.d.ts +9 -0
- package/dist/managed/resources/resourceRegistry.d.ts +1 -1
- package/dist/managed/utils/defaults.d.ts +1 -1
- package/dist/managed/utils/useNotifyOnError.hook.d.ts +6 -0
- package/dist/pipeline/service/execution.service.d.ts +2 -1
- package/package.json +6 -6
- package/src/cloudProvider/CloudProviderLogo.tsx +0 -5
- package/src/cloudProvider/CloudProviderRegistry.ts +6 -65
- package/src/cloudProvider/providerSelection/ProviderSelectionService.spec.ts +96 -0
- package/src/cloudProvider/providerSelection/ProviderSelectionService.ts +6 -8
- package/src/cluster/allClusters.html +1 -0
- package/src/config/settings.ts +2 -0
- package/src/core.module.ts +1 -1
- package/src/function/function.dataSource.ts +1 -0
- package/src/instance/details/multipleInstances.controller.js +6 -0
- package/src/instance/details/multipleInstances.view.html +1 -0
- package/src/managed/config/Configuration.tsx +8 -1
- package/src/managed/config/DeliveryConfig.tsx +3 -9
- package/src/managed/config/GitIntegration.tsx +8 -1
- package/src/managed/environmentBaseElements/EnvironmentsRender.tsx +7 -1
- package/src/managed/externals/toggleResourceManagement.tsx +12 -59
- package/src/managed/graphql/graphql-sdk.ts +54 -0
- package/src/managed/graphql/schema.graphql +1 -0
- package/src/managed/overview/EnvironmentsOverview.tsx +8 -11
- package/src/managed/overview/PreviewEnvironments.tsx +47 -0
- package/src/managed/overview/Resource.tsx +76 -34
- package/src/managed/overview/artifact/ArtifactVersionTasks.tsx +3 -10
- package/src/managed/overview/artifact/Constraints.tsx +3 -11
- package/src/managed/overview/queries.graphql +8 -0
- package/src/managed/resources/ToggleResourceManagement.tsx +53 -0
- package/src/managed/utils/defaults.ts +1 -1
- package/src/managed/utils/useNotifyOnError.hook.ts +22 -0
- package/src/modal/modals.less +1 -1
- package/src/pipeline/details/SingleExecutionDetails.tsx +1 -1
- package/src/pipeline/service/execution.service.ts +7 -2
- package/src/presentation/main.less +3 -3
- package/src/serverGroup/details/multipleServerGroups.controller.js +6 -0
- package/src/serverGroup/details/multipleServerGroups.view.html +1 -0
- package/src/utils/clipboard/CopyToClipboard.tsx +1 -1
|
@@ -35,7 +35,7 @@ html {
|
|
|
35
35
|
|
|
36
36
|
/* Space out content a bit */
|
|
37
37
|
body {
|
|
38
|
-
font-family: 'Source Sans
|
|
38
|
+
font-family: 'Source Sans 3', sans-serif;
|
|
39
39
|
padding-left: 10px;
|
|
40
40
|
padding-right: 10px;
|
|
41
41
|
padding-bottom: 20px;
|
|
@@ -126,7 +126,7 @@ html {
|
|
|
126
126
|
.select2-container .select2-choices .select2-search-field input,
|
|
127
127
|
.select2-container .select2-choice,
|
|
128
128
|
.select2-container .select2-choices {
|
|
129
|
-
font-family: 'Source Sans
|
|
129
|
+
font-family: 'Source Sans 3', sans-serif;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
@@ -1400,7 +1400,7 @@ body > .select2-container.open {
|
|
|
1400
1400
|
|
|
1401
1401
|
.tooltip,
|
|
1402
1402
|
.popover {
|
|
1403
|
-
font-family: 'Source Sans
|
|
1403
|
+
font-family: 'Source Sans 3', sans-serif;
|
|
1404
1404
|
z-index: 10004;
|
|
1405
1405
|
}
|
|
1406
1406
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import UIROUTER_ANGULARJS from '@uirouter/angularjs';
|
|
4
4
|
import * as angular from 'angular';
|
|
5
5
|
|
|
6
|
+
import { ProviderSelectionService } from '../../cloudProvider/providerSelection/ProviderSelectionService';
|
|
6
7
|
import { PROVIDER_SERVICE_DELEGATE } from '../../cloudProvider/providerService.delegate';
|
|
7
8
|
import { ConfirmationModalService } from '../../confirmationModal';
|
|
8
9
|
import { CORE_SERVERGROUP_DETAILS_MULTIPLESERVERGROUP_COMPONENT } from './multipleServerGroup.component';
|
|
@@ -27,6 +28,11 @@ angular
|
|
|
27
28
|
'app',
|
|
28
29
|
function ($scope, $state, serverGroupWriter, providerServiceDelegate, app) {
|
|
29
30
|
this.serverGroups = [];
|
|
31
|
+
this.$onInit = () => {
|
|
32
|
+
ProviderSelectionService.isDisabled(app).then((disabled) => {
|
|
33
|
+
$scope.isDisabled = disabled;
|
|
34
|
+
});
|
|
35
|
+
};
|
|
30
36
|
|
|
31
37
|
/**
|
|
32
38
|
* Actions
|
|
@@ -93,7 +93,7 @@ export class CopyToClipboard extends React.Component<ICopyToClipboardProps, ICop
|
|
|
93
93
|
|
|
94
94
|
const persistOverlay = Boolean(tooltipCopy);
|
|
95
95
|
const copy = tooltipCopy || toolTip;
|
|
96
|
-
const id = `clipboardValue-${text.replace(' ', '-')}`;
|
|
96
|
+
const id = `clipboardValue-${text.toString().replace(' ', '-')}`;
|
|
97
97
|
const tooltipComponent = <Tooltip id={id}>{copy}</Tooltip>;
|
|
98
98
|
|
|
99
99
|
// Hack - shouldUpdatePosition is a valid prop, just not declared in typings
|