Skip to content

Commit 4b47751

Browse files
Merge branch 'dev' into filter-bar
2 parents 7001781 + 142f17e commit 4b47751

17 files changed

Lines changed: 30341 additions & 29329 deletions

File tree

CHANGELOG.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@
99
"`Dashboard`: IWidgetLink improvements [#1813](https://github.com/pnp/sp-dev-fx-controls-react/pull/1813)",
1010
"`DynamicForm`: custom sorting [#1802](https://github.com/pnp/sp-dev-fx-controls-react/pull/1802)"
1111
],
12-
"fixes": []
12+
"fixes": [
13+
"Debug Controls in any language [#1882](https://github.com/pnp/sp-dev-fx-controls-react/pull/1882)",
14+
"`AdaptiveCardHost`: lock down adaptive-expression package version [#1876](https://github.com/pnp/sp-dev-fx-controls-react/issues/1876)"
15+
]
1316
},
1417
"contributions": [
1518
"[Guido Zambarda](https://github.com/GuidoZam)",
16-
"[srpmtt](https://github.com/srpmtt)"
19+
"[Michaël Maillot](https://github.com/michaelmaillot)",
20+
"[srpmtt](https://github.com/srpmtt)",
21+
"[wilecoyotegenius](https://github.com/wilecoyotegenius)"
1722
]
1823
},
1924
{

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@
88
- `Dashboard`: IWidgetLink improvements [#1813](https://github.com/pnp/sp-dev-fx-controls-react/pull/1813)
99
- `DynamicForm`: custom sorting [#1802](https://github.com/pnp/sp-dev-fx-controls-react/pull/1802)
1010

11+
### Fixes
12+
13+
- Debug Controls in any language [#1882](https://github.com/pnp/sp-dev-fx-controls-react/pull/1882)
14+
- `AdaptiveCardHost`: lock down adaptive-expression package version [#1876](https://github.com/pnp/sp-dev-fx-controls-react/issues/1876)
15+
1116
### Contributors
1217

13-
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [srpmtt](https://github.com/srpmtt).
18+
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Michaël Maillot](https://github.com/michaelmaillot), [srpmtt](https://github.com/srpmtt), [wilecoyotegenius](https://github.com/wilecoyotegenius).
1419

1520
## 3.19.0
1621

config/config.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
},
3838
"externals": {},
3939
"localizedResources": {
40-
"ControlStrings": "lib/loc/{locale}.js",
41-
"ControlsTestWebPartStrings": "lib/webparts/controlsTest/loc/{locale}.js",
42-
"ControlsTestFormCustomizerStrings": "lib/extensions/testForm/loc/{locale}.js",
43-
"TestApplicationCustomizerStrings": "lib/extensions/testApp/loc/{locale}.js"
40+
"ControlStrings": "lib/loc/{locale}.js"
4441
}
4542
}

docs/documentation/docs/about/release-notes.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@
88
- `Dashboard`: IWidgetLink improvements [#1813](https://github.com/pnp/sp-dev-fx-controls-react/pull/1813)
99
- `DynamicForm`: custom sorting [#1802](https://github.com/pnp/sp-dev-fx-controls-react/pull/1802)
1010

11+
### Fixes
12+
13+
- Debug Controls in any language [#1882](https://github.com/pnp/sp-dev-fx-controls-react/pull/1882)
14+
- `AdaptiveCardHost`: lock down adaptive-expression package version [#1876](https://github.com/pnp/sp-dev-fx-controls-react/issues/1876)
15+
1116
### Contributors
1217

13-
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [srpmtt](https://github.com/srpmtt).
18+
Special thanks to our contributors (in alphabetical order): [Guido Zambarda](https://github.com/GuidoZam), [Michaël Maillot](https://github.com/michaelmaillot), [srpmtt](https://github.com/srpmtt), [wilecoyotegenius](https://github.com/wilecoyotegenius).
1419

1520
## 3.19.0
1621

docs/documentation/docs/guides/mpa.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,59 +4,66 @@ The shortest way to prepare your local copy of the project for development and t
44

55
## Install prerequisites
66

7-
Before you start contributing to this project, you will need Node.js. This project has been tested with the 10.x version of Node.js and the version of NPM that comes with it. You can use [Node Version Manager](https://github.com/nvm-sh/nvm) to switch between different versions of Node.js.
7+
Before you start contributing to this project, you will need Node.js. This project (current version 3.x) has been tested with the 18.x version of Node.js and the version of NPM that comes with it. You can use [Node Version Manager](https://github.com/nvm-sh/nvm) or [Node Version Switcher](https://github.com/jasongin/nvs) to switch between different versions of Node.js.
88

99
## Get the local version of the project
1010

1111
- fork this repository
1212
- clone your fork
1313
- in the command line, run the following commands:
14-
- `npm install` to restore dependencies
15-
- `npm install -g gulp-cli` in order to run `gulp` commands (run `npm list -g gulp-cli` to check if already installed on your machine or not)
16-
- `gulp serve` to serve your project (or `npm run serve` if you want to use [`spfx-fast-serve`](https://github.com/s-KaiNet/spfx-fast-serve))
14+
- `npm install` to restore dependencies
15+
- `npm install -g gulp-cli` in order to run `gulp` commands (run `npm list -g gulp-cli` to check if already installed on your machine or not)
16+
- `gulp serve` to serve your project (or `npm run serve` if you want to use [`spfx-fast-serve`](https://github.com/s-KaiNet/spfx-fast-serve))
1717
- Start making your changes
1818

1919
### Run the project locally
2020

2121
As this project embeds a SPFx solution, you have the ability to test all the controls on your machine.
2222

23+
You can also debug the controls in any supported language by running one of the following commands (for example in _french_):
24+
25+
- `gulp serve --locale=fr-fr`
26+
- `npx fast-serve --locale=fr-fr` (if using `spfx-fast-serve`)
27+
28+
Beware that both argument and value have to be lower case. Supported locales are listed in the following project's path: `src\loc`.
29+
2330
!!! warning
2431
As long as you have access to a SharePoint Online environment (for v2 and after), you can test the components from your machine. But to test the web part as a Teams Tab, you have to first deploy the SPFx solution (and sync it to Teams). You also have to deploy the [SharePoint Framework library for Microsoft Graph Toolkit](https://learn.microsoft.com/en-us/graph/toolkit/get-started/mgt-spfx) v2.9.0. So be sure to be at least **SharePoint Administrator**.
2532

2633
#### SPFx web part
2734

28-
The web part is called *ControlsTest* and is available for both SharePoint Online and Teams. To test it on SharePoint, go to the workbench page [https://[SHAREPOINT_SITE].sharepoint.com/_layouts/15/workbench.aspx](https://SHAREPOINT_SITE.sharepoint.com/_layouts/15/workbench.aspx) and add the web part.
35+
The web part is called _ControlsTest_ and is available for both SharePoint Online and Teams. To test it on SharePoint, go to the workbench page [https://[SHAREPOINT_SITE].sharepoint.com/_layouts/15/workbench.aspx](https://SHAREPOINT_SITE.sharepoint.com/_layouts/15/workbench.aspx) and add the web part.
2936

3037
To test it on Teams, once the project deployed on the tenant accordingly, add the web part as a Tab (from a team for example).
3138

32-
To update the host component, open the *ControlsTest* React component located in the following project's relative path: *src\webparts\controlsTest\components\ControlsTest.tsx*.
39+
To update the host component, open the _ControlsTest_ React component located in the following project's relative path: _src\webparts\controlsTest\components\ControlsTest.tsx_.
3340

3441
#### SPFx application customizer
3542

36-
This extension is called *TestApplicationCustomizer*. To test it, go to the following URL (after updating the parameters):
43+
This extension is called _TestApplicationCustomizer_. To test it, go to the following URL (after updating the parameters):
3744

3845
[https://[SHAREPOINT_SITE].sharepoint.com?loadSPFX=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={"ca9eac70-7343-4972-88d6-672d50e9cf38":{"location":"ClientSideExtension.ApplicationCustomizer"}}](https://SHAREPOINT_SITE.sharepoint.com?loadSPFX=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={"ca9eac70-7343-4972-88d6-672d50e9cf38":{"location":"ClientSideExtension.ApplicationCustomizer"}})
3946

40-
To update the host component, open the *TestApp* React component located in the following project's relative path: *src\extensions\testApp\TestApp.tsx*.
47+
To update the host component, open the _TestApp_ React component located in the following project's relative path: _src\extensions\testApp\TestApp.tsx_.
4148

4249
#### SPFx form customizer
4350

44-
This extension is called *TestForm*. To test it, you have to configure it first:
51+
This extension is called _TestForm_. To test it, you have to configure it first:
4552

46-
1. Open the *serve.json* file (located in the *config* folder)
53+
1. Open the _serve.json_ file (located in the _config_ folder)
4754
2. Replace the `rootFolder` property (under `serveConfigurations` ==> `default` ==> `formCustomizer`), which contains a server relative URL, to target the list on which you want to test the extension
4855

4956
Then go to the following URL (after updating the parameters):
5057

5158
[https://[SHAREPOINT_SITE].sharepoint.com/_layouts/15/SPListForm.aspx?debugManifestsFile=https://localhost:4321/temp/manifests.js&loadSPFX=true&componentId=f9c6b930-8d5d-4550-bfd9-ed5f6ca443a8&PageType=8&RootFolder=[OPTIONAL_SERVER_RELATIVE_URL]/Lists/[LIST_NAME]](https://SHAREPOINT_SITE.sharepoint.com/_layouts/15/SPListForm.aspx?debugManifestsFile=https://localhost:4321/temp/manifests.js&loadSPFX=true&componentId=f9c6b930-8d5d-4550-bfd9-ed5f6ca443a8&PageType=8&RootFolder=OPTIONAL_SERVER_RELATIVE_URL/Lists/LIST_NAME)
5259

53-
To update the host component, open the *TestForm* React component located in the following project's relative path: *src\extensions\testForm\components\TestForm.tsx*.
60+
To update the host component, open the _TestForm_ React component located in the following project's relative path: _src\extensions\testForm\components\TestForm.tsx_.
5461

5562
### Documentation
5663

57-
SharePoint Framework React Controls uses [MkDocs](http://www.mkdocs.org) to publish documentation pages. See more information about installing MkDocs on your operating system at http://www.mkdocs.org/#installation.
64+
SharePoint Framework React Controls uses [MkDocs](http://www.mkdocs.org) to publish documentation pages. See more information about installing MkDocs on your operating system at <http://www.mkdocs.org/#installation>.
5865

59-
Also, documentation uses custom MkDocs theme that should be installed as well. See [Material theme for MkDocs](https://squidfunk.github.io/mkdocs-material/).
66+
Also, documentation uses custom MkDocs theme that should be installed as well. See [Material theme for MkDocs](https://squidfunk.github.io/mkdocs-material/). Currently, documentation is working with version 3.1.0.
6067

6168
Once you have MkDocs installed on your machine, in the command line:
6269

0 commit comments

Comments
 (0)