Skip to content

Commit

Permalink
Merge pull request #91 from SharePoint/dev
Browse files Browse the repository at this point in the history
Merge for the v1.6.0 release
  • Loading branch information
estruyf authored Jul 12, 2018
2 parents 23af35a + b3358fc commit f348346
Show file tree
Hide file tree
Showing 37 changed files with 933 additions and 353 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.JSON
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
{
"versions": [
{
"version": "1.6.0",
"changes": {
"new": [],
"enhancements": [
"Disabled property for PeoplePicker [#88](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/88)"
],
"fixes": [
"New telemetry approach which allows you to use Application Insights [#81](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/81)",
"PeoplePicker property selectedItems not implemented? [#90](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/90)"
]
},
"contributions": ["Octavie van Haaften"]
},
{
"version": "1.5.0",
"changes": {
"new": [
"New `PeoplePicker` control added [#19](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/19)"
],
"enhancements": [
"Added a properties to the `TaxonomyPicker` to specify which terms are disabled/not-selectable [#82](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/82)"
"Added properties to the `TaxonomyPicker` to specify which terms are disabled/not-selectable [#82](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/82)"
],
"fixes": [
"Bug in `TaxonomyPicker` where values are not updated by an async change [#83](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/83)",
Expand Down
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Releases

## 1.6.0

**Enhancements**

- Disabled property for PeoplePicker [#88](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/88)

**Fixes**

- New telemetry approach which allows you to use Application Insights [#81](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/81)
- PeoplePicker property selectedItems not implemented? [#90](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/90)

## 1.5.0

**New control(s)**
Expand All @@ -8,7 +19,7 @@

**Enhancements**

- Added a properties to the `TaxonomyPicker` to specify which terms are disabled/not-selectable [#82](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/82)
- Added properties to the `TaxonomyPicker` to specify which terms are disabled/not-selectable [#82](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/82)

**Fixes**

Expand Down
13 changes: 12 additions & 1 deletion docs/documentation/docs/about/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Releases

## 1.6.0

**Enhancements**

- Disabled property for PeoplePicker [#88](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/88)

**Fixes**

- New telemetry approach which allows you to use Application Insights [#81](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/81)
- PeoplePicker property selectedItems not implemented? [#90](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/90)

## 1.5.0

**New control(s)**
Expand All @@ -8,7 +19,7 @@

**Enhancements**

- Added a properties to the `TaxonomyPicker` to specify which terms are disabled/not-selectable [#82](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/82)
- Added properties to the `TaxonomyPicker` to specify which terms are disabled/not-selectable [#82](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/82)

**Fixes**

Expand Down
2 changes: 2 additions & 0 deletions docs/documentation/docs/controls/PeoplePicker.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import { PeoplePicker } from "@pnp/spfx-controls-react/lib/PeoplePicker";
groupName={"Team Site Owners"} // Leave this blank in case you want to filter from all users
showtooltip={true}
isRequired={true}
disabled={true}
selectedItems={this._getPeoplePickerItems} />
```

Expand All @@ -56,6 +57,7 @@ The People picker control can be configured with the following properties:
| groupName | string | no | group from which users are fetched. Leave it blank if need to filter all users |
| personSelectionLimit | number | no | Defines the limit of people that can be selected in the control|
| isRequired | boolean | no | Set if the control is required or not |
| disabled | boolean | no | Set if the control is disabled or not |
| errorMessage | string | no | Specify the error message to display |
| errorMessageclassName | string | no | applies custom styling to the error message section|
| showtooltip | boolean | no | Defines if need a tooltip or not |
Expand Down
3 changes: 2 additions & 1 deletion docs/documentation/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ The following controls are currently available:
- [ListView](./controls/ListView) (List view control)
- [Placeholder](./controls/Placeholder) (Control that can be used to show an initial placeholder if the web part has to be configured)
- [SiteBreadcrumb](./controls/SiteBreadcrumb) (Breadcrumb control)
- [SiteBreadcrumb](./controls/TaxonomyPicker) (Taxonomy Picker)
- [TaxonomyPicker](./controls/TaxonomyPicker) (Taxonomy Picker)
- [PeoplePicker](./controls/PeoplePicker) (People Picker)
- [WebPartTitle](./controls/WebPartTitle) (Customizable web part title control)
- [IFrameDialog](./controls/IFrameDialog) (renders a Dialog with an iframe as a content)

Expand Down
1 change: 1 addition & 0 deletions docs/documentation/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pages:
- WebPartTitle: 'controls/WebPartTitle.md'
- SecurityTrimmedControl: 'controls/SecurityTrimmedControl.md'
- TaxonomyPicker: 'controls/TaxonomyPicker.md'
- PeoplePicker: 'controls/PeoplePicker.md'
- IFrameDialog: 'controls/IFrameDialog.md'
- 'Field Controls':
- 'Getting started': 'controls/fields/main.md'
Expand Down
4 changes: 1 addition & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const fs = require('fs');
// Update the version number in the version.ts file
gulp.task('versionUpdater', (done) => {
const pkgContents = require('./package.json');
const filePath = './src/common/appInsights/version.ts';
const filePath = './src/common/telemetry/version.ts';
const fileContents = `export const version: string = "{versionPlaceholder}";`;
const newContents = fileContents.replace("{versionPlaceholder}", pkgContents.version);
console.log(`Updating version number to: ${pkgContents.version}`);
Expand All @@ -21,5 +21,3 @@ const karmaTask = build.karma;
if (karmaTask) {
karmaTask.taskConfig.configPath = './config/karma.config.js';
}


Loading

0 comments on commit f348346

Please sign in to comment.