Skip to content

Commit

Permalink
v1.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
olemp committed Jan 9, 2020
1 parent 29d6ef2 commit 12c01cb
Show file tree
Hide file tree
Showing 24 changed files with 47 additions and 46 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased
## 1.1.7 - 2020-01-09

### Added
- RiskMatrix added as separate web part #97
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"solution": {
"name": "pp-portfolio-web-parts",
"id": "00483367-68e2-4977-9cc3-6cf0de623daa",
"version": "1.1.6.0",
"version": "1.1.7.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"webApiPermissionRequests": [
Expand Down
2 changes: 1 addition & 1 deletion SharePointFramework/PortfolioWebParts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "portfoliowebparts",
"version": "1.1.6",
"version": "1.1.7",
"private": true,
"engines": {
"node": ">=8.0.0 <11.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "5f925484-cfb4-42ce-9f90-79a874bb8a68",
"alias": "BenefitsOverviewWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "d8558017-1e3b-4d13-82fa-2520e845297b",
"alias": "DeliveriesOverviewWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "3ec6bcaf-28bc-4f2e-9e90-77e8cebf0b5f",
"alias": "ExperienceLogWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "941fd73c-b957-41c3-8d4f-082268407f10",
"alias": "LatestProjectsWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "875ca87a-e331-4ffb-bc69-0272fdf80e41",
"alias": "PortfolioInsightsWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "e58e3d32-057a-4418-97ce-172b92482ba2",
"alias": "PortfolioOverviewWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "54fbeb7d-e463-4dcc-8873-50a3ab2f0f68",
"alias": "ProjectListWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "2ef269b2-6370-4841-8b35-2185b7ccb22a",
"alias": "ResourceAllocationWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "57530c94-4fb2-4ca2-9279-16c57881fa19",
"alias": "RiskOverviewWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"solution": {
"name": "pp-project-extensions",
"id": "fe723971-d5c2-4698-91e3-c16e2f72fb5b",
"version": "1.1.6.0",
"version": "1.1.7.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"webApiPermissionRequests": [
Expand Down
2 changes: 1 addition & 1 deletion SharePointFramework/ProjectExtensions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "projectextensions",
"version": "1.1.6",
"version": "1.1.7",
"private": true,
"engines": {
"node": ">=0.10.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"alias": "ProjectSetup",
"componentType": "Extension",
"extensionType": "ApplicationCustomizer",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"alias": "ProjectUpgrade",
"componentType": "Extension",
"extensionType": "ApplicationCustomizer",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"alias": "TemplateSelectorCommand",
"componentType": "Extension",
"extensionType": "ListViewCommandSet",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"items": {
Expand Down
24 changes: 12 additions & 12 deletions SharePointFramework/ProjectWebParts/config/package-solution.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
"solution": {
"name": "pp-project-web-parts",
"id": "b69cb2f2-762d-425d-8e0b-d59c08918831",
"version": "1.1.6.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true
},
"paths": {
"zippedPackage": "solution/pp-project-web-parts.sppkg"
}
}
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
"solution": {
"name": "pp-project-web-parts",
"id": "b69cb2f2-762d-425d-8e0b-d59c08918831",
"version": "1.1.7.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true
},
"paths": {
"zippedPackage": "solution/pp-project-web-parts.sppkg"
}
}
4 changes: 2 additions & 2 deletions SharePointFramework/ProjectWebParts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "projectwebparts",
"version": "1.1.6",
"version": "1.1.7",
"private": true,
"engines": {
"node": ">=0.10.0"
Expand Down Expand Up @@ -84,4 +84,4 @@
"webpackbar": "4.0.0",
"yargs": "14.2.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -196,18 +196,19 @@ export class ProjectStatus extends React.Component<IProjectStatusProps, IProject
* Render sections
*/
private _renderSections() {
if (!this.state.selectedReport) {
return <UserMessage text={strings.NoStatusReportsMessage} messageBarType={MessageBarType.info} />;
}
return this.state.data.sections.map(model => {
const { riskMatrixWidth, riskMatrixHeight, riskMatrixCalloutTemplate } = this.props;
const { data, selectedReport } = this.state;

if (!selectedReport) return <UserMessage text={strings.NoStatusReportsMessage} messageBarType={MessageBarType.info} />;
return data.sections.map(model => {
const baseProps = this._getSectionBaseProps(model);
switch (model.type) {
case SectionType.SummarySection: {
return (
<SummarySection
{...baseProps}
sections={this.state.data.sections}
columnConfig={this.state.data.columnConfig} />
sections={data.sections}
columnConfig={data.columnConfig} />
);
}
case SectionType.StatusSection: {
Expand All @@ -217,18 +218,18 @@ export class ProjectStatus extends React.Component<IProjectStatusProps, IProject
return (
<ProjectPropertiesSection
{...baseProps}
fieldValues={{ ...this.state.data.entity.fieldValues, ...this.state.selectedReport.fieldValues }}
fields={[...this.state.data.entity.fields, ...this.state.data.reportFields]} />
fieldValues={{ ...data.entity.fieldValues, ...selectedReport.fieldValues }}
fields={[...data.entity.fields, ...data.reportFields]} />
);
}
case SectionType.RiskSection: {
return (
<RiskSection
{...baseProps}
riskMatrix={{
width: this.props.riskMatrixWidth,
height: this.props.riskMatrixHeight,
calloutTemplate: this.props.riskMatrixCalloutTemplate,
width: riskMatrixWidth,
height: riskMatrixHeight,
calloutTemplate: riskMatrixCalloutTemplate,
}} />
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "b8bec0be-2354-443d-a3ca-24b36e8ea7dc",
"alias": "ProjectInformationWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "4449d3dc-fa58-4982-b87c-5a893114e7b7",
"alias": "ProjectPhasesWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "681ad0dc-ddb5-4dba-a5d6-a42f6d1c90a6",
"alias": "ProjectStatusWebPart",
"componentType": "WebPart",
"version": "1.1.6",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "e536ae15-0748-4d96-b160-3abb30f1b71e",
"alias": "RiskMatrixWebPart",
"componentType": "WebPart",
"version": "*",
"version": "1.1.7",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": false,
Expand Down

0 comments on commit 12c01cb

Please sign in to comment.