diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 6c1855d47..86fc123fe 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,4 @@ -> By submitting this pull request, you agree to the [contribution guidelines](https://github.com/pnp/sp-dev-fx-webparts/blob/master/CONTRIBUTING.md) +> By submitting this pull request, you agree to the [contribution guidelines](https://github.com/pnp/sp-dev-fx-webparts/blob/main/CONTRIBUTING.md) > If you aren't familiar with how to contribute to open-source repositories using GitHub, or if you find the instructions on this page confusing, [sign up](https://forms.office.com/Pages/ResponsePage.aspx?id=KtIy2vgLW0SOgZbwvQuRaXDXyCl9DkBHq4A2OG7uLpdUREZVRDVYUUJLT1VNRDM4SjhGMlpUNzBORy4u) for one of our [Sharing is Caring](https://pnp.github.io/sharing-is-caring/#pnp-sic-events) events. It's completely free, and we'll guide you through the process. @@ -22,7 +22,7 @@ > > *Pull requests that do not follow this template will be automatically rejected.* > -> *Please target your PR to `master` branch.* +> *Please target your PR to `main` branch.* > > *Remember that this repository is maintained by community members who volunteer their time to help. Be courteous and patient.* > _(DELETE THIS SECTION AFTER READING)_ diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ee274a644..9d97af0f9 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,10 +13,10 @@ name: "CodeQL" on: push: - branches: [ master ] + branches: [ main ] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [ main ] schedule: - cron: '33 2 * * 0' diff --git a/.github/workflows/ossar-analysis.yml b/.github/workflows/ossar-analysis.yml index c7cc7cd62..0dd3b1ac5 100644 --- a/.github/workflows/ossar-analysis.yml +++ b/.github/workflows/ossar-analysis.yml @@ -5,10 +5,10 @@ name: OSSAR on: push: - branches: [ master ] + branches: [ main ] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [ main ] schedule: - cron: '36 20 * * 2' diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1543f7224..1f48e8145 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,7 +24,7 @@ Whenever you are submitting any changes to the SharePoint repositories, please f * Always fork the repository to your own account before making your modifications * Do not combine multiple changes to one pull request. For example, submit any samples and documentation updates using separate PRs -* If your pull request shows merge conflicts, make sure to update your local master to be a mirror of what's in the main repo before making your modifications +* If your pull request shows merge conflicts, make sure to update your local main to be a mirror of what's in the main repo before making your modifications * If you are submitting multiple samples, please create a specific PR for each of them * If you are submitting typo or documentation fix, you can combine modifications to single PR where suitable @@ -96,10 +96,10 @@ Here's a high-level process for submitting new samples or updates to existing on 1. Sign the Contributor License Agreement (see below) 2. Fork this repository [pnp/sp-dev-fx-webparts](https://github.com/pnp/sp-dev-fx-webparts) to your GitHub account -3. Create a new branch from the `master` branch for your fork for the contribution +3. Create a new branch from the `main` branch for your fork for the contribution 4. Include your changes to your branch 5. Commit your changes using descriptive commit message * These are used to track changes on the repositories for monthly communications -6. Create a pull request in your own fork and target the `master` branch +6. Create a pull request in your own fork and target the `main` branch 7. Fill up the provided PR template with the requested details Before you submit your pull request consider the following guidelines: @@ -121,7 +121,7 @@ Before you submit your pull request consider the following guidelines: * Make your changes in a new git branch: ```shell - git checkout -b react-taxonomypicker master + git checkout -b react-taxonomypicker main ``` * Ensure your fork is updated and not behind the upstream **sp-dev-fx-webparts** repo. Refer to these resources for more information on syncing your repo: @@ -131,19 +131,19 @@ Before you submit your pull request consider the following guidelines: ```shell # assuming you are in the folder of your locally cloned fork.... - git checkout master + git checkout main # assuming you have a remote named `upstream` pointing official **sp-dev-fx-webparts** repo git fetch upstream - # update your local master to be a mirror of what's in the main repo - git pull --rebase upstream master + # update your local main to be a mirror of what's in the main repo + git pull --rebase upstream main # switch to your branch where you are working, say "react-taxonomypicker" git checkout react-taxonomypicker - # update your branch to update it's fork point to the current tip of master & put your changes on top of it - git rebase master + # update your branch to update it's fork point to the current tip of main & put your changes on top of it + git rebase main ``` * Push your branch to GitHub: @@ -169,19 +169,19 @@ If the sample you wish to contribute is stored in your own GitHub repository, yo ```shell git remote add origin https://github.com/yourgitaccount/sp-dev-fx-webparts.git - git pull origin master + git pull origin main ``` * Pull your other project from GitHub into the `samples` folder of your local copy of `sp-dev-fx-webparts` ```shell - git subtree add --prefix=samples/projectname https://github.com/yourgitaccount/projectname.git master + git subtree add --prefix=samples/projectname https://github.com/yourgitaccount/projectname.git main ``` * Push the changes up to your forked repository ```shell - git push origin master + git push origin main ``` ## Signing the CLA diff --git a/SUPPORT.md b/SUPPORT.md index 68745e1ce..cc8633eaa 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -28,7 +28,7 @@ We use GitHub issues to support user questions. To ask a question, [open a new i ### How to submit changes -Please see our [Contributing Guidance](https://github.com/pnp/sp-dev-fx-webparts/blob/master/CONTRIBUTING.md). +Please see our [Contributing Guidance](https://github.com/pnp/sp-dev-fx-webparts/blob/main/CONTRIBUTING.md). ### How to request an enhancement diff --git a/samples/aad-api-spo-cookie/assets/sample.json b/samples/aad-api-spo-cookie/assets/sample.json index c4bb90607..245757fbf 100644 --- a/samples/aad-api-spo-cookie/assets/sample.json +++ b/samples/aad-api-spo-cookie/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Call custom APIs secured with Azure Active Directory without ADAL JS", "shortDescription": "Sample SharePoint Framework client-side web part showing how to access a custom API secured with Azure Active Directory (AAD) without using ADAL JS.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/aad-api-spo-cookie", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/aad-api-spo-cookie", "longDescription": [ "Sample SharePoint Framework client-side web part showing how to access a custom API secured with Azure Active Directory (AAD) without using ADAL JS." ], @@ -28,43 +28,43 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/aad-api-spo-cookie/assets/preview-orders.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/aad-api-spo-cookie/assets/preview-orders.png", "alt": "Call custom APIs secured with Azure Active Directory without ADAL JS" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/aad-api-spo-cookie/assets/orders-api-configure-authentication-dialog.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/aad-api-spo-cookie/assets/orders-api-configure-authentication-dialog.png?raw=true", "alt": "Call custom APIs secured with Azure Active Directory without ADAL JS" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/aad-api-spo-cookie/assets/orders-api-configure-authentication.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/aad-api-spo-cookie/assets/orders-api-configure-authentication.png?raw=true", "alt": "Call custom APIs secured with Azure Active Directory without ADAL JS" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/aad-api-spo-cookie/assets/orders-api-restore-packages.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/aad-api-spo-cookie/assets/orders-api-restore-packages.png?raw=true", "alt": "Call custom APIs secured with Azure Active Directory without ADAL JS" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/aad-api-spo-cookie/assets/orders-fetch-error.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/aad-api-spo-cookie/assets/orders-fetch-error.png?raw=true", "alt": "Call custom APIs secured with Azure Active Directory without ADAL JS" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/aad-api-spo-cookie/assets/orders-ie-error.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/aad-api-spo-cookie/assets/orders-ie-error.png?raw=true", "alt": "Call custom APIs secured with Azure Active Directory without ADAL JS" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/aad-api-spo-cookie/assets/orders-ie-zones-settings.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/aad-api-spo-cookie/assets/orders-ie-zones-settings.png?raw=true", "alt": "Call custom APIs secured with Azure Active Directory without ADAL JS" } ], diff --git a/samples/angular-aad-webapi/assets/sample.json b/samples/angular-aad-webapi/assets/sample.json index db79a2fa2..d3c236290 100644 --- a/samples/angular-aad-webapi/assets/sample.json +++ b/samples/angular-aad-webapi/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Call custom Web API secured with AAD from SharePoint Framework client-side web part using Angular v1.x", "shortDescription": "Sample SharePoint Framework client-side web part illustrating communication with a custom Web API secured with Azue Active Directory using Angular v1.x", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angular-aad-webapi", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angular-aad-webapi", "longDescription": [ "Sample SharePoint Framework client-side web part illustrating communication with a custom Web API secured with Azue Active Directory using Angular v1.x" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/angular-aad-webapi/assets/preview.jpg", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/angular-aad-webapi/assets/preview.jpg", "alt": "Call custom Web API secured with AAD from SharePoint Framework client-side web part using Angular v1.x" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/angular-greeting/assets/sample.json b/samples/angular-greeting/assets/sample.json index de17719d3..74e95b6da 100644 --- a/samples/angular-greeting/assets/sample.json +++ b/samples/angular-greeting/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Greeting client-side web part", "shortDescription": "This is Greeting web part which shows greeting to the current logged in user.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angular-greeting", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angular-greeting", "longDescription": [ "This is Greeting web part which shows greeting to the current logged in user." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/angular-greeting/assets/captured.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/angular-greeting/assets/captured.gif", "alt": "Greeting client-side web part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/angular-greeting/assets/preview.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/angular-greeting/assets/preview.PNG?raw=true", "alt": "Greeting client-side web part" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/angular-migration/assets/sample.json b/samples/angular-migration/assets/sample.json index 5270c3bd0..da45b639c 100644 --- a/samples/angular-migration/assets/sample.json +++ b/samples/angular-migration/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Migrating existing Angular applications to SharePoint Framework sample", "shortDescription": "This is a sample Angular application before and after it has been migrated to a SharePoint Framework client-side web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angular-migration", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angular-migration", "longDescription": [ "This is a sample Angular application before and after it has been migrated to a SharePoint Framework client-side web part." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/angular-migration/assets/angular-todo-spfx-preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/angular-migration/assets/angular-todo-spfx-preview.png", "alt": "Migrating existing Angular applications to SharePoint Framework sample" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/angular-migration/assets/angular-todo-preview.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/angular-migration/assets/angular-todo-preview.png?raw=true", "alt": "Migrating existing Angular applications to SharePoint Framework sample" } ], diff --git a/samples/angular-msgraph/assets/sample.json b/samples/angular-msgraph/assets/sample.json index 188d4539a..4a69162b2 100644 --- a/samples/angular-msgraph/assets/sample.json +++ b/samples/angular-msgraph/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Angular MS Graph Web Part Built with Angular v1.x", "shortDescription": "This is a sample MS Graph web part that connects to Microsoft Graph and pulls SharePoint information from your tenant. It will first pull the root site collection (currently a limitation by Microsoft Graph), then it will display all the lists associated with the site followed by all the items inside the list.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angular-msgraph", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angular-msgraph", "longDescription": [ "This is a sample MS Graph web part that connects to Microsoft Graph and pulls SharePoint information from your tenant. It will first pull the root site collection (currently a limitation by Microsoft Graph), then it will display all the lists associated with the site followed by all the items inside the list." ], @@ -28,31 +28,31 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/angular-msgraph/assets/Connect.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/angular-msgraph/assets/Connect.png", "alt": "Angular MS Graph Web Part Built with Angular v1.x" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/angular-msgraph/assets/Connected.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/angular-msgraph/assets/Connected.png?raw=true", "alt": "Angular MS Graph Web Part Built with Angular v1.x" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/angular-msgraph/assets/Items.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/angular-msgraph/assets/Items.png?raw=true", "alt": "Angular MS Graph Web Part Built with Angular v1.x" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/angular-msgraph/assets/Lists.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/angular-msgraph/assets/Lists.png?raw=true", "alt": "Angular MS Graph Web Part Built with Angular v1.x" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/angular-msgraph/assets/Root.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/angular-msgraph/assets/Root.png?raw=true", "alt": "Angular MS Graph Web Part Built with Angular v1.x" } ], @@ -72,4 +72,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/angular-multipage/assets/sample.json b/samples/angular-multipage/assets/sample.json index 2eca56cd6..e73cbf9a8 100644 --- a/samples/angular-multipage/assets/sample.json +++ b/samples/angular-multipage/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Angular multi-page client-side web part", "shortDescription": "This is a sample SharePoint Framework client-side web part built using Angular, illustrating building multi-page web parts.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angular-multipage", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angular-multipage", "longDescription": [ "This is a sample SharePoint Framework client-side web part built using Angular, illustrating building multi-page web parts." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/angular-multipage/assets/poll-preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/angular-multipage/assets/poll-preview.gif", "alt": "Angular multi-page client-side web part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/angular-ngofficeuifabric-file-upload/assets/sample.json b/samples/angular-ngofficeuifabric-file-upload/assets/sample.json index c5d7f8453..7ae603a93 100644 --- a/samples/angular-ngofficeuifabric-file-upload/assets/sample.json +++ b/samples/angular-ngofficeuifabric-file-upload/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "File Upload using AngularJs", "shortDescription": "File Update/Delete web part using AngularJs and ngOfficeUIFabric with the SharePoint Framework.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angular-ngofficeuifabric-file-upload", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angular-ngofficeuifabric-file-upload", "longDescription": [ "File Update/Delete web part using AngularJs and ngOfficeUIFabric with the SharePoint Framework." ], @@ -34,7 +34,7 @@ { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/angular-ngofficeuifabric-file-upload/assets/NG File Upload.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/angular-ngofficeuifabric-file-upload/assets/NG File Upload.png?raw=true", "alt": "File Upload using AngularJs" } ], @@ -62,4 +62,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/angular-ngofficeuifabric-todo/assets/sample.json b/samples/angular-ngofficeuifabric-todo/assets/sample.json index b03e3dea4..3a27e7691 100644 --- a/samples/angular-ngofficeuifabric-todo/assets/sample.json +++ b/samples/angular-ngofficeuifabric-todo/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Angular \u0026 ngOfficeUIFabric Client-Side Web Part", "shortDescription": "", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angular-ngofficeuifabric-todo", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angular-ngofficeuifabric-todo", "longDescription": [ "" ], diff --git a/samples/angular-search/assets/sample.json b/samples/angular-search/assets/sample.json index 6f928e8ec..591894922 100644 --- a/samples/angular-search/assets/sample.json +++ b/samples/angular-search/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Search Client-Side Web Part Built with Angular v1.x", "shortDescription": "This is a sample search web part that illustrates how you can use Angular within the new SharePoint Framework", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angular-search", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angular-search", "longDescription": [ "This is a sample search web part that illustrates how you can use Angular within the new SharePoint Framework" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/angular-search/assets/angularSearch.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/angular-search/assets/angularSearch.png", "alt": "Search Client-Side Web Part Built with Angular v1.x" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/angular-todo/assets/sample.json b/samples/angular-todo/assets/sample.json index 9fd03393d..fc1c5980c 100644 --- a/samples/angular-todo/assets/sample.json +++ b/samples/angular-todo/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Angular client-side web part", "shortDescription": "Sample Web Part illustrating using Angular with the SharePoint Framework.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angular-todo", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angular-todo", "longDescription": [ "Sample Web Part illustrating using Angular with the SharePoint Framework." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/angular-todo/assets/preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/angular-todo/assets/preview.png", "alt": "Angular client-side web part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/angular2-prototype/assets/sample.json b/samples/angular2-prototype/assets/sample.json index 54c0f5c0b..4baf5aa51 100644 --- a/samples/angular2-prototype/assets/sample.json +++ b/samples/angular2-prototype/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Angular2 Web Part Prototype", "shortDescription": "Sample To Do Web Part built with Angular2. This sample illustrates how you can use Angular2 with the SharePoint Framework.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angular2-prototype", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angular2-prototype", "longDescription": [ "Sample To Do Web Part built with Angular2. This sample illustrates how you can use Angular2 with the SharePoint Framework." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/angular2-prototype/assets/preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/angular2-prototype/assets/preview.png", "alt": "Angular2 Web Part Prototype" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/angularelements-helloworld/assets/sample.json b/samples/angularelements-helloworld/assets/sample.json index c7815df42..3e34fb257 100644 --- a/samples/angularelements-helloworld/assets/sample.json +++ b/samples/angularelements-helloworld/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Angular Elements in SharePoint Framework", "shortDescription": "Set of sample web parts illustrating how to use Angular Elements in the SharePoint Framework.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angularelements-helloworld", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angularelements-helloworld", "longDescription": [ "Set of sample web parts illustrating how to use Angular Elements in the SharePoint Framework." ], diff --git a/samples/angularelements-html-templatefile/assets/sample.json b/samples/angularelements-html-templatefile/assets/sample.json index 2bd3cf3b9..230d86e9c 100644 --- a/samples/angularelements-html-templatefile/assets/sample.json +++ b/samples/angularelements-html-templatefile/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Angular Elements with HTML Template File in SharePoint Framework", "shortDescription": "A sample web part illustrating how to use Angular Elements in the SharePoint Framework with the help of separate template HTML File.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/angularelements-html-templatefile", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/angularelements-html-templatefile", "longDescription": [ "A sample web part illustrating how to use Angular Elements in the SharePoint Framework with the help of separate template HTML File." ], diff --git a/samples/bootstrap-slider/assets/sample.json b/samples/bootstrap-slider/assets/sample.json index 8017ab124..497da7e3a 100644 --- a/samples/bootstrap-slider/assets/sample.json +++ b/samples/bootstrap-slider/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Bootstrap Slider Built with jQuery v1.x and Boostrap v3.x", "shortDescription": "Sample bootstrap slider which pulls the slides from a list inside the SharePoint site. The list is automatically deployed once the app is installed in the SharePoint site.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/bootstrap-slider", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/bootstrap-slider", "longDescription": [ "Sample bootstrap slider which pulls the slides from a list inside the SharePoint site. The list is automatically deployed once the app is installed in the SharePoint site." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/bootstrap-slider/assets/slider_image_1.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/bootstrap-slider/assets/slider_image_1.png", "alt": "Bootstrap Slider Built with jQuery v1.x and Boostrap v3.x" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/bootstrap-slider/assets/List.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/bootstrap-slider/assets/List.png?raw=true", "alt": "Bootstrap Slider Built with jQuery v1.x and Boostrap v3.x" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/bootstrap-slider/assets/slider_image_2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/bootstrap-slider/assets/slider_image_2.png?raw=true", "alt": "Bootstrap Slider Built with jQuery v1.x and Boostrap v3.x" } ], @@ -60,4 +60,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/handlebarsjs-webpack-loader/assets/sample.json b/samples/handlebarsjs-webpack-loader/assets/sample.json index cc4acbfef..0d559a714 100644 --- a/samples/handlebarsjs-webpack-loader/assets/sample.json +++ b/samples/handlebarsjs-webpack-loader/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Sample with Handlebars.js", "shortDescription": "This sample demonstrate how to set up SPFX to use Handlebars through webpack loader.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/handlebarsjs-webpack-loader", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/handlebarsjs-webpack-loader", "longDescription": [ "This sample demonstrate how to set up SPFX to use Handlebars through webpack loader." ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/jquery-cdn/assets/sample.json b/samples/jquery-cdn/assets/sample.json index 45be77199..09e0869b0 100644 --- a/samples/jquery-cdn/assets/sample.json +++ b/samples/jquery-cdn/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Using jQuery loaded from CDN", "shortDescription": "This is a sample web Part that illustrates the use of jQuery and its plugins loaded from CDN for building SharePoint Framework client-side web parts.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/jquery-cdn", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/jquery-cdn", "longDescription": [ "This is a sample web Part that illustrates the use of jQuery and its plugins loaded from CDN for building SharePoint Framework client-side web parts." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/jquery-cdn/assets/preview_weather.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/jquery-cdn/assets/preview_weather.png", "alt": "Using jQuery loaded from CDN" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/jquery-photopile/assets/sample.json b/samples/jquery-photopile/assets/sample.json index af957b995..522f4e71d 100644 --- a/samples/jquery-photopile/assets/sample.json +++ b/samples/jquery-photopile/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "JQuery, Photopile.JS \u0026 Office UI Fabric Client-Side Web Part", "shortDescription": "This is a sample web part that illustrated the use of JQuery and Photopile.Js with the SharePoint Framework.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/jquery-photopile", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/jquery-photopile", "longDescription": [ "This is a sample web part that illustrated the use of JQuery and Photopile.Js with the SharePoint Framework." ], @@ -28,31 +28,31 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/jquery-photopile/assets/photopileoverview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/jquery-photopile/assets/photopileoverview.gif", "alt": "JQuery, Photopile.JS \u0026 Office UI Fabric Client-Side Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/jquery-photopile/assets/tutorial-add-spapp-01.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/jquery-photopile/assets/tutorial-add-spapp-01.png?raw=true", "alt": "JQuery, Photopile.JS \u0026 Office UI Fabric Client-Side Web Part" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/jquery-photopile/assets/tutorial-add-spapp-02.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/jquery-photopile/assets/tutorial-add-spapp-02.png?raw=true", "alt": "JQuery, Photopile.JS \u0026 Office UI Fabric Client-Side Web Part" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/jquery-photopile/assets/tutorial-add-spapp-03.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/jquery-photopile/assets/tutorial-add-spapp-03.png?raw=true", "alt": "JQuery, Photopile.JS \u0026 Office UI Fabric Client-Side Web Part" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/jquery-photopile/assets/tutorial-add-spapp-05.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/jquery-photopile/assets/tutorial-add-spapp-05.png?raw=true", "alt": "JQuery, Photopile.JS \u0026 Office UI Fabric Client-Side Web Part" } ], @@ -72,4 +72,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-advanced-commenting/assets/sample.json b/samples/js-advanced-commenting/assets/sample.json index c59b63394..ed082f891 100644 --- a/samples/js-advanced-commenting/assets/sample.json +++ b/samples/js-advanced-commenting/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Advanced Comments Box", "shortDescription": "This component is developed for the advanced usage of commenting the page or article etc. Page Comments lists will be created to store the comments.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-advanced-commenting", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-advanced-commenting", "longDescription": [ "This component is developed for the advanced usage of commenting the page or article etc. Page Comments lists will be created to store the comments." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-advanced-commenting/assets/Advanced-Comments-Box.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-advanced-commenting/assets/Advanced-Comments-Box.gif", "alt": "Advanced Comments Box" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-display-list/assets/sample.json b/samples/js-display-list/assets/sample.json index 0f1d15997..5fa41d289 100644 --- a/samples/js-display-list/assets/sample.json +++ b/samples/js-display-list/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Display List JavaScript Client-Side Web Part", "shortDescription": "This simplistic sample Web Part demonstrates the use of JavaScript in a SharePoint Framework web part. The properties pane for this web part display a drop down list of lists in the current web. Once the user selects one of the lists, the web part display the contents of the list.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-display-list", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-display-list", "longDescription": [ "This simplistic sample Web Part demonstrates the use of JavaScript in a SharePoint Framework web part. The properties pane for this web part display a drop down list of lists in the current web. Once the user selects one of the lists, the web part display the contents of the list." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-display-list/assets/display-list-preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-display-list/assets/display-list-preview.png", "alt": "Display List JavaScript Client-Side Web Part" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-dynamic-bundling-libraries/assets/sample.json b/samples/js-dynamic-bundling-libraries/assets/sample.json index 8ae174013..e7ab3c646 100644 --- a/samples/js-dynamic-bundling-libraries/assets/sample.json +++ b/samples/js-dynamic-bundling-libraries/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Dynamic Bundling \u0026 Loading of SPFx Packages", "shortDescription": "This sample illustrates how SPFx functionality and packages can be bundled in multiple \u0027.js\u0027 files then be dynamically \u0026 asynchronously loaded into the page at execution time, such as with a button click.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-dynamic-bundling-libraries", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-dynamic-bundling-libraries", "longDescription": [ "This sample illustrates how SPFx functionality and packages can be bundled in multiple \u0027.js\u0027 files then be dynamically \u0026 asynchronously loaded into the page at execution time, such as with a button click." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-dynamic-bundling-libraries/assets/WebPart-Preview-PostjQueryClick.jpg", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-dynamic-bundling-libraries/assets/WebPart-Preview-PostjQueryClick.jpg", "alt": "Dynamic Bundling \u0026 Loading of SPFx Packages" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-dynamic-bundling-libraries/assets/WebPart-Preview-PreClick.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-dynamic-bundling-libraries/assets/WebPart-Preview-PreClick.jpg?raw=true", "alt": "Dynamic Bundling \u0026 Loading of SPFx Packages" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-employee-spotlight/assets/sample.json b/samples/js-employee-spotlight/assets/sample.json index dc16f56c6..a4a0548fd 100644 --- a/samples/js-employee-spotlight/assets/sample.json +++ b/samples/js-employee-spotlight/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Display Employee Spotlight JavaScript Client-Side Web Part", "shortDescription": "Simple Web Part that demonstrates the use of SharePoint Framework for showcasing Employee Spotlight. The web part pulls data from a configured list and User Profile service. The properties pane for this web part has 5 cascading dropdowns.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-employee-spotlight", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-employee-spotlight", "longDescription": [ "Simple Web Part that demonstrates the use of SharePoint Framework for showcasing Employee Spotlight. The web part pulls data from a configured list and User Profile service. The properties pane for this web part has 5 cascading dropdowns." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-employee-spotlight/assets/Employee-spotlight-priview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-employee-spotlight/assets/Employee-spotlight-priview.png", "alt": "Display Employee Spotlight JavaScript Client-Side Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-employee-spotlight/assets/Employee-spotlight-options.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-employee-spotlight/assets/Employee-spotlight-options.png?raw=true", "alt": "Display Employee Spotlight JavaScript Client-Side Web Part" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-extend-gulp/assets/sample.json b/samples/js-extend-gulp/assets/sample.json index 51d7ebe81..8e3ab48fc 100644 --- a/samples/js-extend-gulp/assets/sample.json +++ b/samples/js-extend-gulp/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Integrating custom gulp tasks to SharePoint Framwork toolchain", "shortDescription": "SharePoint client-side development tools use gulp as the build process task runner to...", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-extend-gulp", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-extend-gulp", "longDescription": [ "SharePoint client-side development tools use gulp as the build process task runner to..." ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-extend-webpack/assets/sample.json b/samples/js-extend-webpack/assets/sample.json index 374675102..10b2e6822 100644 --- a/samples/js-extend-webpack/assets/sample.json +++ b/samples/js-extend-webpack/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Extending webpack in the SharePoint Framework toolchain", "shortDescription": "This sample shows how to use the webpack markdown-loader to preprocess markdown files to HTML string.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-extend-webpack", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-extend-webpack", "longDescription": [ "This sample shows how to use the webpack markdown-loader to preprocess markdown files to HTML string." ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-gitHubBadge/assets/sample.json b/samples/js-gitHubBadge/assets/sample.json index e831d28b8..10d8954a8 100644 --- a/samples/js-gitHubBadge/assets/sample.json +++ b/samples/js-gitHubBadge/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "GitHub Badge", "shortDescription": "", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-gitHubBadge", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-gitHubBadge", "longDescription": [ "" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-gitHubBadge/assets/1.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-gitHubBadge/assets/1.png", "alt": "GitHub Badge" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-modern-calendar/assets/sample.json b/samples/js-modern-calendar/assets/sample.json index 02a8bb872..b79d8de89 100644 --- a/samples/js-modern-calendar/assets/sample.json +++ b/samples/js-modern-calendar/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Modern Calendar", "shortDescription": "This is a modern web part built on the GA version of the SharePoint Framework demonstrating how to build a custom web part with a calendar capabilities in it.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-modern-calendar", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-modern-calendar", "longDescription": [ "This is a modern web part built on the GA version of the SharePoint Framework demonstrating how to build a custom web part with a calendar capabilities in it." ], diff --git a/samples/js-msgraph-thumbnail/assets/sample.json b/samples/js-msgraph-thumbnail/assets/sample.json index 19303afe6..eec370190 100644 --- a/samples/js-msgraph-thumbnail/assets/sample.json +++ b/samples/js-msgraph-thumbnail/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Thumbnail/preview of pages and files", "shortDescription": "A web part showcasing how to call the Microsoft Graph Thumbnails API to generate a preview image for files and pages in SharePoint. The sample illustrates how to craft the preview URL both from a search result as well as from a SharePoint item object.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-msgraph-thumbnail", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-msgraph-thumbnail", "longDescription": [ "A web part showcasing how to call the Microsoft Graph Thumbnails API to generate a preview image for files and pages in SharePoint. The sample illustrates how to craft the preview URL both from a search result as well as from a SharePoint item object." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-msgraph-thumbnail/preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-msgraph-thumbnail/preview.gif", "alt": "Thumbnail/preview of pages and files" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-myflows/assets/sample.json b/samples/js-myflows/assets/sample.json index 342fc8989..4fae02a68 100644 --- a/samples/js-myflows/assets/sample.json +++ b/samples/js-myflows/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "My Flows Web Part", "shortDescription": "Manage current user flows in SharePoint or Teams Tab, this web part use the msflowsdk-1.1.js", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-myflows", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-myflows", "longDescription": [ "Manage current user flows in SharePoint or Teams Tab, this web part use the msflowsdk-1.1.js" ], @@ -32,31 +32,31 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-myflows/assets/Screenshot4.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-myflows/assets/Screenshot4.png", "alt": "My Flows Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-myflows/assets/MyFlows.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-myflows/assets/MyFlows.gif?raw=true", "alt": "My Flows Web Part" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-myflows/assets/Screenshot1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-myflows/assets/Screenshot1.png?raw=true", "alt": "My Flows Web Part" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-myflows/assets/Screenshot2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-myflows/assets/Screenshot2.png?raw=true", "alt": "My Flows Web Part" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-myflows/assets/Screenshot3.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-myflows/assets/Screenshot3.png?raw=true", "alt": "My Flows Web Part" } ], @@ -82,4 +82,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-powerbi-embedded/assets/sample.json b/samples/js-powerbi-embedded/assets/sample.json index e0268820e..855bedd54 100644 --- a/samples/js-powerbi-embedded/assets/sample.json +++ b/samples/js-powerbi-embedded/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Embed a PowerBI report in a Client-Side Web Part", "shortDescription": "This sample SharePoint Framework client-side web part embedding a PowerBI report using PowerBI Embedded without any server-side code.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-powerbi-embedded", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-powerbi-embedded", "longDescription": [ "This sample SharePoint Framework client-side web part embedding a PowerBI report using PowerBI Embedded without any server-side code." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-powerbi-embedded/assets/screenshot_powerbi_embedded_spfx.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-powerbi-embedded/assets/screenshot_powerbi_embedded_spfx.png", "alt": "Embed a PowerBI report in a Client-Side Web Part" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-propertycontrols-svg/README.md b/samples/js-propertycontrols-svg/README.md index 0fc3ed298..23b3cdc7b 100644 --- a/samples/js-propertycontrols-svg/README.md +++ b/samples/js-propertycontrols-svg/README.md @@ -12,13 +12,13 @@ An SPFx web part that displays a Scalable Vector Graphics (SVG) image using prop ## Which PnP SPFx controls are being used in this sample? -* [PropertyFieldSpinButton](https://github.com/SharePoint/sp-dev-fx-property-controls/wiki/PropertyFieldSpinButton) -* [PropertyFieldColorPicker](https://github.com/SharePoint/sp-dev-fx-property-controls/wiki/PropertyFieldColorPicker) +* [PropertyFieldSpinButton](https://github.com/pnp/sp-dev-fx-property-controls/wiki/PropertyFieldSpinButton) +* [PropertyFieldColorPicker](https://github.com/pnp/sp-dev-fx-property-controls/wiki/PropertyFieldColorPicker) ## Applies to * [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview) -* [sp-dev-fx-property-controls](https://github.com/SharePoint/sp-dev-fx-property-controls) +* [sp-dev-fx-property-controls](https://github.com/pnp/sp-dev-fx-property-controls) * [PnP Man](https://github.com/thechriskent/PnPMan) ## Solution diff --git a/samples/js-propertycontrols-svg/assets/sample.json b/samples/js-propertycontrols-svg/assets/sample.json index c4aef8f8c..2ff2e373a 100644 --- a/samples/js-propertycontrols-svg/assets/sample.json +++ b/samples/js-propertycontrols-svg/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "JS Property Controls SVG", "shortDescription": "An SPFx web part that displays a Scalable Vector Graphics (SVG) image using properties to customize how it is rendered. The web part utilizes the PnP SPFx Property Controls package (specifially the SpinButton and ColorPicker) to set these properties.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-propertycontrols-svg", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-propertycontrols-svg", "longDescription": [ "An SPFx web part that displays a Scalable Vector Graphics (SVG) image using properties to customize how it is rendered. The web part utilizes the PnP SPFx Property Controls package (specifially the SpinButton and ColorPicker) to set these properties." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-propertycontrols-svg/assets/js-propertycontrols-svg.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-propertycontrols-svg/assets/js-propertycontrols-svg.gif", "alt": "JS Property Controls SVG" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-propertycontrols-svg/assets/js-propertycontrols-svg.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-propertycontrols-svg/assets/js-propertycontrols-svg.PNG?raw=true", "alt": "JS Property Controls SVG" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-public-unjoined-teams/assets/sample.json b/samples/js-public-unjoined-teams/assets/sample.json index 1f0876cb4..f469fcceb 100644 --- a/samples/js-public-unjoined-teams/assets/sample.json +++ b/samples/js-public-unjoined-teams/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Public teams I\u0027m not a member of", "shortDescription": "This web part lists all the public teams the current user is not yet a member of. They can then join any of those teams by clicking the button right next to the team name. This web part can also be added to Teams as a tab (built with the 1.7.1 plusbeta/preview version).", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-public-unjoined-teams", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-public-unjoined-teams", "longDescription": [ "This web part lists all the public teams the current user is not yet a member of. They can then join any of those teams by clicking the button right next to the team name. This web part can also be added to Teams as a tab (built with the 1.7.1 plusbeta/preview version)." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-public-unjoined-teams/assets/js-public-unjoined-teams.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-public-unjoined-teams/assets/js-public-unjoined-teams.gif", "alt": "Public teams I\u0027m not a member of" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-skype-status/assets/sample.json b/samples/js-skype-status/assets/sample.json index 76ec815ef..d099bdf0f 100644 --- a/samples/js-skype-status/assets/sample.json +++ b/samples/js-skype-status/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "JavaScript Skype Status Web Part", "shortDescription": "This sample demonstrates how to use the UCWA JS Sdk for skype in the SharePoint Framework. It shows how to subscribe to status change of the different people of the organization but you can get much more information, checkout the documentation", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-skype-status", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-skype-status", "longDescription": [ "This sample demonstrates how to use the UCWA JS Sdk for skype in the SharePoint Framework. It shows how to subscribe to status change of the different people of the organization but you can get much more information, checkout the documentation" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-skype-status/images/demo.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-skype-status/images/demo.gif", "alt": "JavaScript Skype Status Web Part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-solution-editions/assets/sample.json b/samples/js-solution-editions/assets/sample.json index a815e5d5a..2103c37b8 100644 --- a/samples/js-solution-editions/assets/sample.json +++ b/samples/js-solution-editions/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Handling Multiple Editions of SPFx Solution", "shortDescription": "This sample shows possible approach of handling multiple editions (e.g. trial, lite, full) of SharePoint Framework solution.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-solution-editions", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-solution-editions", "longDescription": [ "This sample shows possible approach of handling multiple editions (e.g. trial, lite, full) of SharePoint Framework solution." ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-theme-manager-2019/assets/sample.json b/samples/js-theme-manager-2019/assets/sample.json index f0c270cf7..9559060c1 100644 --- a/samples/js-theme-manager-2019/assets/sample.json +++ b/samples/js-theme-manager-2019/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Modern Experience Theme Manager 2019", "shortDescription": "This sample web part provides a user interface for applying a Modern Experience theme in SharePoint 2019 on-premises.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-theme-manager-2019", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-theme-manager-2019", "longDescription": [ "This sample web part provides a user interface for applying a Modern Experience theme in SharePoint 2019 on-premises." ], @@ -28,31 +28,31 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-theme-manager-2019/assets/apply-a-theme.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-theme-manager-2019/assets/apply-a-theme.png", "alt": "Modern Experience Theme Manager 2019" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-theme-manager-2019/assets/create-a-theme.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-theme-manager-2019/assets/create-a-theme.png?raw=true", "alt": "Modern Experience Theme Manager 2019" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-theme-manager-2019/assets/delete-a-theme.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-theme-manager-2019/assets/delete-a-theme.png?raw=true", "alt": "Modern Experience Theme Manager 2019" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-theme-manager-2019/assets/theme-manager.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-theme-manager-2019/assets/theme-manager.png?raw=true", "alt": "Modern Experience Theme Manager 2019" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-theme-manager-2019/assets/update-a-theme.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-theme-manager-2019/assets/update-a-theme.png?raw=true", "alt": "Modern Experience Theme Manager 2019" } ], @@ -87,4 +87,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-theme-manager/assets/sample.json b/samples/js-theme-manager/assets/sample.json index 413d8191d..5e8ba48b4 100644 --- a/samples/js-theme-manager/assets/sample.json +++ b/samples/js-theme-manager/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Modern Experience Theme Manager", "shortDescription": "This sample web part provides a user interface for creating, updating, deleting and applying a Modern Experience SharePoint theme in SharePoint Online.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-theme-manager", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-theme-manager", "longDescription": [ "This sample web part provides a user interface for creating, updating, deleting and applying a Modern Experience SharePoint theme in SharePoint Online." ], @@ -28,31 +28,31 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-theme-manager/assets/create-a-theme.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-theme-manager/assets/create-a-theme.png", "alt": "Modern Experience Theme Manager" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-theme-manager/assets/apply-a-theme.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-theme-manager/assets/apply-a-theme.png?raw=true", "alt": "Modern Experience Theme Manager" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-theme-manager/assets/delete-a-theme.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-theme-manager/assets/delete-a-theme.png?raw=true", "alt": "Modern Experience Theme Manager" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-theme-manager/assets/theme-manager.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-theme-manager/assets/theme-manager.png?raw=true", "alt": "Modern Experience Theme Manager" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/js-theme-manager/assets/update-a-theme.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/js-theme-manager/assets/update-a-theme.png?raw=true", "alt": "Modern Experience Theme Manager" } ], @@ -87,4 +87,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/js-workbench-customizer/assets/sample.json b/samples/js-workbench-customizer/assets/sample.json index a0fd2e897..07cbd4e78 100644 --- a/samples/js-workbench-customizer/assets/sample.json +++ b/samples/js-workbench-customizer/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Workbench customizer", "shortDescription": "This sample shows how the Workbench page can be customized to display in a way that better mimics a modern SharePoint page.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/js-workbench-customizer", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-workbench-customizer", "longDescription": [ "This sample shows how the Workbench page can be customized to display in a way that better mimics a modern SharePoint page." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/js-workbench-customizer/assets/Preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/js-workbench-customizer/assets/Preview.png", "alt": "Workbench customizer" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/knockout-dependent-properties/assets/sample.json b/samples/knockout-dependent-properties/assets/sample.json index 9c01c8b43..cef406a99 100644 --- a/samples/knockout-dependent-properties/assets/sample.json +++ b/samples/knockout-dependent-properties/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Knockout Dependent Properties", "shortDescription": "Sample Web Part illustrating...", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/knockout-dependent-properties", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/knockout-dependent-properties", "longDescription": [ "Sample Web Part illustrating..." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/knockout-dependent-properties/assets/dep-props.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/knockout-dependent-properties/assets/dep-props.png", "alt": "Knockout Dependent Properties" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/knockout-sp-pnp-js/assets/sample.json b/samples/knockout-sp-pnp-js/assets/sample.json index 06bd0adc3..46428a4e7 100644 --- a/samples/knockout-sp-pnp-js/assets/sample.json +++ b/samples/knockout-sp-pnp-js/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Sample showing the use of @pnp/sp library with Knockoutjs", "shortDescription": "This web part demonstrates how to integrate the @pnp/sp library into the SharePoint Framework as well as including mock data and simple list I/O.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/knockout-sp-pnp-js", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/knockout-sp-pnp-js", "longDescription": [ "This web part demonstrates how to integrate the @pnp/sp library into the SharePoint Framework as well as including mock data and simple list I/O." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/knockout-sp-pnp-js/assets/screenshot.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/knockout-sp-pnp-js/assets/screenshot.png", "alt": "Sample showing the use of @pnp/sp library with Knockoutjs" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/knockout-taxonomy/assets/sample.json b/samples/knockout-taxonomy/assets/sample.json index 38d49ae55..ba97e040d 100644 --- a/samples/knockout-taxonomy/assets/sample.json +++ b/samples/knockout-taxonomy/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Taxonomy Web Part", "shortDescription": "Sample Web Part illustrating Reading taxonomy term stores\u0027 hierarchy from SharePoint, Loading JavaScript Object Model scripts, creating Knockout components", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/knockout-taxonomy", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/knockout-taxonomy", "longDescription": [ "Sample Web Part illustrating Reading taxonomy term stores\u0027 hierarchy from SharePoint, Loading JavaScript Object Model scripts, creating Knockout components" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/knockout-taxonomy/assets/Taxonomy.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/knockout-taxonomy/assets/Taxonomy.png", "alt": "Taxonomy Web Part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/pnp-controls/assets/sample.json b/samples/pnp-controls/assets/sample.json index 431499e46..cd2f2a142 100644 --- a/samples/pnp-controls/assets/sample.json +++ b/samples/pnp-controls/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "SharePoint Framework PnP Controls Sample", "shortDescription": "This is a sample project that contains a web part which makes use of the PnP SPFx Controls", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/pnp-controls", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/pnp-controls", "longDescription": [ "This is a sample project that contains a web part which makes use of the PnP SPFx Controls" ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/pnp-controls/assets/webpart-outcome.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/pnp-controls/assets/webpart-outcome.gif", "alt": "SharePoint Framework PnP Controls Sample" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/pnp-controls/assets/documents.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/pnp-controls/assets/documents.png?raw=true", "alt": "SharePoint Framework PnP Controls Sample" } ], @@ -62,4 +62,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-3rd-party-api/README.md b/samples/react-3rd-party-api/README.md index ecdef98cc..5047aca3c 100644 --- a/samples/react-3rd-party-api/README.md +++ b/samples/react-3rd-party-api/README.md @@ -34,7 +34,7 @@ To build and run this client-side project, you will need to clone and build the Clone this repo by executing the following command in your console: ``` -git clone https://github.com/SharePoint/sp-dev-fx-webparts.git +git clone https://github.com/pnp/sp-dev-fx-webparts.git ``` Navigate to the cloned repo folder which should be the same as the repo name: diff --git a/samples/react-3rd-party-api/assets/sample.json b/samples/react-3rd-party-api/assets/sample.json index 9ba235f56..edb57d5fb 100644 --- a/samples/react-3rd-party-api/assets/sample.json +++ b/samples/react-3rd-party-api/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Consuming Third Party APIs secured with Azure Active Directory within SharePoint Framework", "shortDescription": "This sub folders contains a client-side project that shows how to consume a 3rd party API within SharePoint Framework.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-3rd-party-api", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-3rd-party-api", "longDescription": [ "This sub folders contains a client-side project that shows how to consume a 3rd party API within SharePoint Framework." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-3rd-party-api/images/react-3rd-party-api-ui-sample.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-3rd-party-api/images/react-3rd-party-api-ui-sample.gif", "alt": "Consuming Third Party APIs secured with Azure Active Directory within SharePoint Framework" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-Edit-ApplicationCustomizer/assets/sample.json b/samples/react-Edit-ApplicationCustomizer/assets/sample.json index b7f421abc..14fc71831 100644 --- a/samples/react-Edit-ApplicationCustomizer/assets/sample.json +++ b/samples/react-Edit-ApplicationCustomizer/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Edit Application Customizers", "shortDescription": "This web part will allow users to view/update application customizers properties across any web where the current user has access to.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-edit-applicationcustomizer", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-edit-applicationcustomizer", "longDescription": [ "This web part will allow users to view/update application customizers properties across any web where the current user has access to." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-Edit-ApplicationCustomizer/assets/react-all-applicationcustomizers.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-Edit-ApplicationCustomizer/assets/react-all-applicationcustomizers.gif?raw=true", "alt": "Edit Application Customizers" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-edit-applicationcustomizer/assets/react-all-applicationcustomizers.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-edit-applicationcustomizer/assets/react-all-applicationcustomizers.gif?raw=true", "alt": "Edit Application Customizers" } ], diff --git a/samples/react-aad-implicitflow/assets/sample.json b/samples/react-aad-implicitflow/assets/sample.json index ae2eb7f84..23d00bada 100644 --- a/samples/react-aad-implicitflow/assets/sample.json +++ b/samples/react-aad-implicitflow/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Azure Active Directory implicit flow authentication samples", "shortDescription": "Sample SharePoint Framework web parts built using React illustrating different scenarios using implicit OAuth flow with Azure Active Directory.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-aad-implicitflow", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-aad-implicitflow", "longDescription": [ "Sample SharePoint Framework web parts built using React illustrating different scenarios using implicit OAuth flow with Azure Active Directory." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-aad-implicitflow/assets/upcoming-meetings-preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-aad-implicitflow/assets/upcoming-meetings-preview.png", "alt": "Azure Active Directory implicit flow authentication samples" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-aad-webapi/assets/sample.json b/samples/react-aad-webapi/assets/sample.json index 2276c0d18..fdf06c73b 100644 --- a/samples/react-aad-webapi/assets/sample.json +++ b/samples/react-aad-webapi/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Call custom Web API secured with AAD from SharePoint Framework client-side web part", "shortDescription": "Sample SharePoint Framework client-side web part illustrating communication with a custom Web API secured with Azure Active Directory.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-aad-webapi", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-aad-webapi", "longDescription": [ "Sample SharePoint Framework client-side web part illustrating communication with a custom Web API secured with Azure Active Directory." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-aad-webapi/assets/preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-aad-webapi/assets/preview.png", "alt": "Call custom Web API secured with AAD from SharePoint Framework client-side web part" } ], diff --git a/samples/react-accordion-dynamic-section/README.md b/samples/react-accordion-dynamic-section/README.md index d4d65e6c7..c5f3ccad6 100644 --- a/samples/react-accordion-dynamic-section/README.md +++ b/samples/react-accordion-dynamic-section/README.md @@ -2,7 +2,7 @@ ## Summary -- This sample is based on [Erik Benke](https://github.com/ejbenke) and [Mike Zimmerman](https://github.com/mikezimm)'s [Accordion Section FAQ Builder web part](https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-accordion-section). It adds extended support for single FAQs list based on Category and dynamic properties selection. +- This sample is based on [Erik Benke](https://github.com/ejbenke) and [Mike Zimmerman](https://github.com/mikezimm)'s [Accordion Section FAQ Builder web part](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-accordion-section). It adds extended support for single FAQs list based on Category and dynamic properties selection. - Adds a collapsible accordion section to an Office 365 SharePoint page or Teams Tab. - Ideal for displaying FAQs. - When adding the web part, you'll be prompted to select a list from a property panel dropdown (target list must be created with FAQ type Question and Answer.). diff --git a/samples/react-accordion-dynamic-section/assets/sample.json b/samples/react-accordion-dynamic-section/assets/sample.json index aa60e6e91..5104969e5 100644 --- a/samples/react-accordion-dynamic-section/assets/sample.json +++ b/samples/react-accordion-dynamic-section/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Dynamic Accordion - FAQ Builder web part", "shortDescription": "This sample is based on Erik Benke and Mike Zimmerman Accordion Section FAQ Builder web part. It was extended support single FAQs list based on Category and dynamic properties selection.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-accordion-dynamic-section", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-accordion-dynamic-section", "longDescription": [ "This sample is based on Erik Benke and Mike Zimmerman Accordion Section FAQ Builder web part. It was extended support single FAQs list based on Category and dynamic properties selection." ], @@ -32,25 +32,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-accordion-dynamic-section/assets/react-accordion-section.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-accordion-dynamic-section/assets/react-accordion-section.gif", "alt": "Dynamic Accordion - FAQ Builder web part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-accordion-dynamic-section/assets/AccordionSettings1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-accordion-dynamic-section/assets/AccordionSettings1.png?raw=true", "alt": "Dynamic Accordion - FAQ Builder web part" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-accordion-dynamic-section/assets/AccordionSettings2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-accordion-dynamic-section/assets/AccordionSettings2.png?raw=true", "alt": "Dynamic Accordion - FAQ Builder web part" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-accordion-dynamic-section/assets/FAQsList.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-accordion-dynamic-section/assets/FAQsList.png?raw=true", "alt": "Dynamic Accordion - FAQ Builder web part" } ], diff --git a/samples/react-accordion-section/assets/sample.json b/samples/react-accordion-section/assets/sample.json index a70dc1614..022a2b04f 100644 --- a/samples/react-accordion-section/assets/sample.json +++ b/samples/react-accordion-section/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Accordion Section FAQ Builder", "shortDescription": "Adds a collapsible accordion section to an Office 365 SharePoint page or Teams Tab. Ideal for creating FAQs.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-accordion-section", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-accordion-section", "longDescription": [ "Adds a collapsible accordion section to an Office 365 SharePoint page or Teams Tab. Ideal for creating FAQs." ], @@ -32,19 +32,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-accordion-section/assets/react-accordion-section.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-accordion-section/assets/react-accordion-section.gif", "alt": "Accordion Section FAQ Builder" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-accordion-section/assets/AccordionSettings.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-accordion-section/assets/AccordionSettings.png?raw=true", "alt": "Accordion Section FAQ Builder" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-accordion-section/assets/ListForAccordion.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-accordion-section/assets/ListForAccordion.png?raw=true", "alt": "Accordion Section FAQ Builder" } ], @@ -76,4 +76,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-accordion/assets/sample.json b/samples/react-accordion/assets/sample.json index fe614a3a7..3b1f17b99 100644 --- a/samples/react-accordion/assets/sample.json +++ b/samples/react-accordion/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Accordion Web Part", "shortDescription": "This is a sample web Part that illustrates the use of React Accessible Accordion plugin for building SharePoint Framework client-side web parts to show SharePoint list data in Accordion format.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-accordion", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-accordion", "longDescription": [ "This is a sample web Part that illustrates the use of React Accessible Accordion plugin for building SharePoint Framework client-side web parts to show SharePoint list data in Accordion format." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-accordion/assets/previewAccordion.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-accordion/assets/previewAccordion.PNG", "alt": "Accordion Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-accordion/assets/AccordionPreview.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-accordion/assets/AccordionPreview.png?raw=true", "alt": "Accordion Web Part" } ], @@ -62,4 +62,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-adaptive-cards-image-gallery/assets/sample.json b/samples/react-adaptive-cards-image-gallery/assets/sample.json index 5fd003b58..e20b7ed62 100644 --- a/samples/react-adaptive-cards-image-gallery/assets/sample.json +++ b/samples/react-adaptive-cards-image-gallery/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Image Gallery Web Part Built with Adaptive Cards", "shortDescription": "This sample demonstrates the capability of using Adaptive Cards with SharePoint Framework. Adaptive cards are great fit for Bot, however they can be effectively used with SPFx to render the content. This web part helps to display the image gallery from SharePoint list.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-adaptive-cards-image-gallery", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-adaptive-cards-image-gallery", "longDescription": [ "This sample demonstrates the capability of using Adaptive Cards with SharePoint Framework. Adaptive cards are great fit for Bot, however they can be effectively used with SPFx to render the content. This web part helps to display the image gallery from SharePoint list." ], @@ -28,25 +28,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-adaptive-cards-image-gallery/assets/sharepoint-run.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-adaptive-cards-image-gallery/assets/sharepoint-run.gif", "alt": "Image Gallery Web Part Built with Adaptive Cards" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptive-cards-image-gallery/assets/list-sample-data.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptive-cards-image-gallery/assets/list-sample-data.png?raw=true", "alt": "Image Gallery Web Part Built with Adaptive Cards" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptive-cards-image-gallery/assets/list-schema.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptive-cards-image-gallery/assets/list-schema.png?raw=true", "alt": "Image Gallery Web Part Built with Adaptive Cards" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptive-cards-image-gallery/assets/webpart-preview.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptive-cards-image-gallery/assets/webpart-preview.png?raw=true", "alt": "Image Gallery Web Part Built with Adaptive Cards" } ], @@ -73,4 +73,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-adaptivecards-hooks/README.md b/samples/react-adaptivecards-hooks/README.md index ec89e05b2..bf0cf83b3 100644 --- a/samples/react-adaptivecards-hooks/README.md +++ b/samples/react-adaptivecards-hooks/README.md @@ -2,7 +2,7 @@ ## Summary -A version of [react-adaptivecards](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-adaptivecards) using React Hooks. +A version of [react-adaptivecards](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-adaptivecards) using React Hooks. ![Adaptive Cards in SharePoint](assets/preview.png) diff --git a/samples/react-adaptivecards-hooks/assets/sample.json b/samples/react-adaptivecards-hooks/assets/sample.json index d1334c606..29f60ac51 100644 --- a/samples/react-adaptivecards-hooks/assets/sample.json +++ b/samples/react-adaptivecards-hooks/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Adaptive Cards Viewer using Hooks", "shortDescription": "A version of react-adaptivecards using React Hooks.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-adaptivecards-hooks", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-adaptivecards-hooks", "longDescription": [ "A version of react-adaptivecards using React Hooks." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-adaptivecards-hooks/assets/preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-adaptivecards-hooks/assets/preview.png", "alt": "Adaptive Cards Viewer using Hooks" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-adaptivecards/assets/sample.json b/samples/react-adaptivecards/assets/sample.json index 1539d50ee..58268cac5 100644 --- a/samples/react-adaptivecards/assets/sample.json +++ b/samples/react-adaptivecards/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Adaptive Cards Host", "shortDescription": "This sample creates an Adaptive Cards Host web part that you can use to display Adaptive Cards in your SharePoint applications.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-adaptivecards", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-adaptivecards", "longDescription": [ "This sample creates an Adaptive Cards Host web part that you can use to display Adaptive Cards in your SharePoint applications." ], @@ -32,103 +32,103 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-adaptivecards/assets/AdaptiveCardsHostAllSamples.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-adaptivecards/assets/AdaptiveCardsHostAllSamples.gif", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/AdaptiveCardHostRendering.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/AdaptiveCardHostRendering.gif?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/AdaptiveCardsHost.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/AdaptiveCardsHost.gif?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/BackgroundColors.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/BackgroundColors.gif?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/DataContext.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/DataContext.png?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/DependentControls.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/DependentControls.gif?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/DevTools.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/DevTools.png?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/EnableTemplating.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/EnableTemplating.gif?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/ErrorHandling.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/ErrorHandling.png?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/SampleDataEditor.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/SampleDataEditor.png?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 110, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/SelectLibrary.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/SelectLibrary.gif?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 111, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/SharePointHost.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/SharePointHost.gif?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 112, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/Templating.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/Templating.gif?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 113, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/TemplatingDetection.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/TemplatingDetection.png?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 114, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/TemplatingSamples.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/TemplatingSamples.gif?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 115, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/UIFabric.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/UIFabric.png?raw=true", "alt": "Adaptive Cards Host" }, { "type": "image", "order": 116, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-adaptivecards/assets/YouNeedData.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-adaptivecards/assets/YouNeedData.png?raw=true", "alt": "Adaptive Cards Host" } ], @@ -154,4 +154,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-add-js-css-ref/assets/sample.json b/samples/react-add-js-css-ref/assets/sample.json index def2bbada..c8f3cd977 100644 --- a/samples/react-add-js-css-ref/assets/sample.json +++ b/samples/react-add-js-css-ref/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Add JS and CSS reference on Modern Pages", "shortDescription": "React-based SPFx web part and extension that allows users to add/modify/delete custom js and css file references using SPFx application customizer extension all modern pages within SP online site.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-add-js-css-ref", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-add-js-css-ref", "longDescription": [ "React-based SPFx web part and extension that allows users to add/modify/delete custom js and css file references using SPFx application customizer extension all modern pages within SP online site." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-add-js-css-ref/assets/webpartinaction.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-add-js-css-ref/assets/webpartinaction.gif", "alt": "Add JS and CSS reference on Modern Pages" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-admin-sc-catalog-pnpjs/assets/sample.json b/samples/react-admin-sc-catalog-pnpjs/assets/sample.json index 2be8a22f7..c4f93d16e 100644 --- a/samples/react-admin-sc-catalog-pnpjs/assets/sample.json +++ b/samples/react-admin-sc-catalog-pnpjs/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Site Collection App Catalogs", "shortDescription": "A SPFx Web Part using @pnp/sp/appcatalog and @pnp/spfx-controls-react. It allows to see in a single view all the SiteCollection catalogs and the Apps installed with some useful metadata. It needs Globlal Administrator or SharePoint Online Administrator permissions in order to access Site collection App Catalogs hidden list and each Site Collection App Catalog.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-admin-sc-catalog-pnpjs", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-admin-sc-catalog-pnpjs", "longDescription": [ "A SPFx Web Part using @pnp/sp/appcatalog and @pnp/spfx-controls-react. It allows to see in a single view all the SiteCollection catalogs and the Apps installed with some useful metadata. It needs Globlal Administrator or SharePoint Online Administrator permissions in order to access Site collection App Catalogs hidden list and each Site Collection App Catalog." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-admin-sc-catalog-pnpjs/assets/react-admin-sc-catalog-pnpjs-webpart-animated.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-admin-sc-catalog-pnpjs/assets/react-admin-sc-catalog-pnpjs-webpart-animated.gif", "alt": "Site Collection App Catalogs" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-advanced-page-properties/assets/sample.json b/samples/react-advanced-page-properties/assets/sample.json index 07d5e10f0..cb4a720be 100644 --- a/samples/react-advanced-page-properties/assets/sample.json +++ b/samples/react-advanced-page-properties/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Advanced Page Properties", "shortDescription": "Replicates the functionality of Page Properties with improvements", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-advanced-page-properties", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-advanced-page-properties", "longDescription": [ "Attempts to replicate the functionality of Page Properties with the following improvements:", "- Support for theme variants", @@ -34,19 +34,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-advanced-page-properties/assets/diff-screencap.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-advanced-page-properties/assets/diff-screencap.png", "alt": "Web part in action" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-advanced-page-properties/assets/props.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-advanced-page-properties/assets/props.gif", "alt": "Web part in action" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-advanced-page-properties/assets/add-to-page.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-advanced-page-properties/assets/add-to-page.png", "alt": "Adding to a page" } ], diff --git a/samples/react-aggregated-calendar/assets/sample.json b/samples/react-aggregated-calendar/assets/sample.json index bfdd84878..afef0bc57 100644 --- a/samples/react-aggregated-calendar/assets/sample.json +++ b/samples/react-aggregated-calendar/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Aggregated Calendar Web part", "shortDescription": "This is a sample web part developed using React Framework to gather the aggregated events from the multiple calendars from multiple sites using Full Calendar from fullcalendar.io", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-aggregated-calendar", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-aggregated-calendar", "longDescription": [ "This is a sample web part developed using React Framework to gather the aggregated events from the multiple calendars from multiple sites using Full Calendar from fullcalendar.io" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-aggregated-calendar/assets/react-aggregated-calendar.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-aggregated-calendar/assets/react-aggregated-calendar.gif", "alt": "Aggregated Calendar Web part" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-app-settings/assets/sample.json b/samples/react-app-settings/assets/sample.json index 31b413472..37c7aac43 100644 --- a/samples/react-app-settings/assets/sample.json +++ b/samples/react-app-settings/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "App settings web part", "shortDescription": "This sample shows how AppSettings.ts file can be added and used within SharePoint Framewrok webparts similar to the Web.config / App.config key value app settings in .NET Framework projects. That allows better DevOps and continuous integration (CI/CD) automation. The AppSettings.ts is transpiled/compiled with your SPFx solution which differs from the way the web.config. With .Net web.config file we would be able to update independently without the need of compiling DLLs. If that behavior is required, you can store your app settings in a SharePoint list and change them from there. However, that will have performance degradation over if the setting was part of the SPFx code where the logic can get a setting value in milliseconds.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-app-settings", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-app-settings", "longDescription": [ "This sample shows how AppSettings.ts file can be added and used within SharePoint Framewrok webparts similar to the Web.config / App.config key value app settings in .NET Framework projects. That allows better DevOps and continuous integration (CI/CD) automation. The AppSettings.ts is transpiled/compiled with your SPFx solution which differs from the way the web.config. With .Net web.config file we would be able to update independently without the need of compiling DLLs. If that behavior is required, you can store your app settings in a SharePoint list and change them from there. However, that will have performance degradation over if the setting was part of the SPFx code where the logic can get a setting value in milliseconds." ], @@ -32,13 +32,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-app-settings/assets/app-settings-class.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-app-settings/assets/app-settings-class.PNG", "alt": "App settings web part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-app-settings/assets/spfx-appSettings-json.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-app-settings/assets/spfx-appSettings-json.PNG?raw=true", "alt": "App settings web part" } ], @@ -63,4 +63,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-appinsights-dashboard/README.md b/samples/react-appinsights-dashboard/README.md index 7cca4d17c..a4614f5f2 100644 --- a/samples/react-appinsights-dashboard/README.md +++ b/samples/react-appinsights-dashboard/README.md @@ -22,8 +22,8 @@ This web part displays different statistics data captured in the **Azure Applica ## Pre-requisites **Azure Application Insights** has to be configured. If you want to track the **SharePoint Online** web parts and pages, please use either of the following **Application Customizer** or you can use your own extensions to track the pages and other components. -* [Injecting JavaScript with SharePoint Framework Extensions - Azure Application Insights](https://github.com/pnp/sp-dev-fx-extensions/tree/master/samples/js-application-appinsights) -* [JS Application AppInsights Advanced](https://github.com/pnp/sp-dev-fx-extensions/tree/master/samples/js-application-appinsights-advanced) +* [Injecting JavaScript with SharePoint Framework Extensions - Azure Application Insights](https://github.com/pnp/sp-dev-fx-extensions/tree/main/samples/js-application-appinsights) +* [JS Application AppInsights Advanced](https://github.com/pnp/sp-dev-fx-extensions/tree/main/samples/js-application-appinsights-advanced) Following are required to access the data using **[App Insights API](https://dev.applicationinsights.io/)**. The API has been provided in a very simple way with **[API Explorer](https://dev.applicationinsights.io/apiexplorer)** for the developers to play around the API to understand the schema and the methods that can used. * **Application ID** of the Application Insights diff --git a/samples/react-appinsights-dashboard/assets/sample.json b/samples/react-appinsights-dashboard/assets/sample.json index b3bd7176c..90bc3fdc2 100644 --- a/samples/react-appinsights-dashboard/assets/sample.json +++ b/samples/react-appinsights-dashboard/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "React AppInsights Dashboard", "shortDescription": "This web part displays different statistics data captured in the Azure Application Insights in a graphical representation.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-appinsights-dashboard", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-appinsights-dashboard", "longDescription": [ "This web part displays different statistics data captured in the Azure Application Insights in a graphical representation." ], @@ -32,37 +32,37 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-appinsights-dashboard/assets/AppInsights_Dashboard.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-appinsights-dashboard/assets/AppInsights_Dashboard.gif", "alt": "React AppInsights Dashboard" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-appinsights-dashboard/assets/AppInsights_APIAccess.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-appinsights-dashboard/assets/AppInsights_APIAccess.png?raw=true", "alt": "React AppInsights Dashboard" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-appinsights-dashboard/assets/AppInsights_APIKey.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-appinsights-dashboard/assets/AppInsights_APIKey.png?raw=true", "alt": "React AppInsights Dashboard" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-appinsights-dashboard/assets/PageStatistics.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-appinsights-dashboard/assets/PageStatistics.png?raw=true", "alt": "React AppInsights Dashboard" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-appinsights-dashboard/assets/PerformanceStatistics.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-appinsights-dashboard/assets/PerformanceStatistics.png?raw=true", "alt": "React AppInsights Dashboard" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-appinsights-dashboard/assets/UserStatistics.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-appinsights-dashboard/assets/UserStatistics.png?raw=true", "alt": "React AppInsights Dashboard" } ], @@ -88,4 +88,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-async-await-sp-pnp-js/assets/sample.json b/samples/react-async-await-sp-pnp-js/assets/sample.json index 6e4584317..cebf10848 100644 --- a/samples/react-async-await-sp-pnp-js/assets/sample.json +++ b/samples/react-async-await-sp-pnp-js/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Using @pnp/js with Async / Await", "shortDescription": "This web part demonstrates how to use PnPJS with Async functions into the SharePoint Framework as well as integrating PnP JS and SPFx Logging systems. Real example querying SharePoint library to show document sizes.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-async-await-sp-pnp-js", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-async-await-sp-pnp-js", "longDescription": [ "This web part demonstrates how to use PnPJS with Async functions into the SharePoint Framework as well as integrating PnP JS and SPFx Logging systems. Real example querying SharePoint library to show document sizes." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-async-await-sp-pnp-js/assets/async-await-sp-pnp-js.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-async-await-sp-pnp-js/assets/async-await-sp-pnp-js.png", "alt": "Using @pnp/js with Async / Await" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-async-await-sp-pnp-js/assets/async-await-sp-pnp-js-2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-async-await-sp-pnp-js/assets/async-await-sp-pnp-js-2.png?raw=true", "alt": "Using @pnp/js with Async / Await" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-async-await-sp-pnp-js/assets/pnp-js-logging-spfx.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-async-await-sp-pnp-js/assets/pnp-js-logging-spfx.png?raw=true", "alt": "Using @pnp/js with Async / Await" } ], @@ -60,4 +60,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-avatar/assets/sample.json b/samples/react-avatar/assets/sample.json index 1e9b7849b..3e50c12a5 100644 --- a/samples/react-avatar/assets/sample.json +++ b/samples/react-avatar/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "SPFx Avatar", "shortDescription": "This is a sample web part that helps user create their avatar and save as profile picture. User can even download their avatar as PNG file. This web part can be useful in Intranet to help user create their avatar and save it as profile picture.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-avatar", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-avatar", "longDescription": [ "This is a sample web part that helps user create their avatar and save as profile picture. User can even download their avatar as PNG file. This web part can be useful in Intranet to help user create their avatar and save it as profile picture." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-avatar/assets/reactAvatarOutcome.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-avatar/assets/reactAvatarOutcome.gif", "alt": "SPFx Avatar" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-azfunc-vimeo/assets/sample.json b/samples/react-azfunc-vimeo/assets/sample.json index bdc311131..3c52d7474 100644 --- a/samples/react-azfunc-vimeo/assets/sample.json +++ b/samples/react-azfunc-vimeo/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Local Azure Function and SPFx Web Part Development to consume third party APIs", "shortDescription": "This sample shows how to consume third-party APIs through an Azure Functions by a Web Part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-azfunc-vimeo", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-azfunc-vimeo", "longDescription": [ "This sample shows how to consume third-party APIs through an Azure Functions by a Web Part." ], diff --git a/samples/react-banner/README.md b/samples/react-banner/README.md index 8d37bb5aa..fef7d6607 100644 --- a/samples/react-banner/README.md +++ b/samples/react-banner/README.md @@ -1,6 +1,6 @@ # Banner web part -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/banner. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/banner. This web part provides you the ability to add a variable height image banner with a linkable title. @@ -28,9 +28,9 @@ The `Banner` web part can be configured with the following properties: ## Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part does not have external dependencies. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part does not have external dependencies. ## Screenshots @@ -38,7 +38,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f ## Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/banner +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/banner ## Minimal Path to Awesome diff --git a/samples/react-banner/assets/sample.json b/samples/react-banner/assets/sample.json index 1fccd9d2f..8678f9f21 100644 --- a/samples/react-banner/assets/sample.json +++ b/samples/react-banner/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Banner Web Part", "shortDescription": "This web part provides you the ability to add a variable height image banner with a linkable title.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-banner", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-banner", "longDescription": [ "This web part provides you the ability to add a variable height image banner with a linkable title." ], diff --git a/samples/react-birthdays/assets/sample.json b/samples/react-birthdays/assets/sample.json index 98f18753a..8acd48981 100644 --- a/samples/react-birthdays/assets/sample.json +++ b/samples/react-birthdays/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Birthdays Web Part", "shortDescription": "The Web Part Birthdays shows the upcoming birthdays in the company, the web part reads birthdays from a list located on the tenant\u0027s root site with title \u0022Birthdays.\u0022", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-birthdays", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-birthdays", "longDescription": [ "The Web Part Birthdays shows the upcoming birthdays in the company, the web part reads birthdays from a list located on the tenant\u0027s root site with title \u0022Birthdays.\u0022" ], @@ -32,187 +32,187 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-birthdays/assets/birthdays.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-birthdays/assets/birthdays.gif", "alt": "Birthdays Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/ballonsBackgroud.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/ballonsBackgroud.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/baloons.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/baloons.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/birthdays.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/birthdays.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/birthdays2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/birthdays2.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof1.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof10.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof10.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof11.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof11.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof12.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof12.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 110, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof14.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof14.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 111, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof14_1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof14_1.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 112, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof17.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof17.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 113, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof18.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof18.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 114, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof181.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof181.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 115, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof19.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof19.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 116, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof2.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 117, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof20.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof20.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 118, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof21.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof21.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 119, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof22.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof22.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 120, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof24.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof24.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 121, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof28.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof28.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 122, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof29.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof29.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 123, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof3.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof3.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 124, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof30.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof30.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 125, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof4.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof4.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 126, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof5.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof5.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 127, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof6.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof6.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 128, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof7.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof7.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 129, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof8.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof8.png?raw=true", "alt": "Birthdays Web Part" }, { "type": "image", "order": 130, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-birthdays/assets/cof9.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-birthdays/assets/cof9.png?raw=true", "alt": "Birthdays Web Part" } ], @@ -238,4 +238,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-bot-framework-secure/assets/sample.json b/samples/react-bot-framework-secure/assets/sample.json index 33be310d6..9d66d73dc 100644 --- a/samples/react-bot-framework-secure/assets/sample.json +++ b/samples/react-bot-framework-secure/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Secure Bot Framework", "shortDescription": "This sample shows how to secure your conversation including the use of a Direct Line token instead of secret, for user id, generate it inside client side and detect if the client has changed the user ID and reject the change.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-bot-framework-secure", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-bot-framework-secure", "longDescription": [ "This sample shows how to secure your conversation including the use of a Direct Line token instead of secret, for user id, generate it inside client side and detect if the client has changed the user ID and reject the change." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-bot-framework-secure/assets/sp-wp-secure.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-bot-framework-secure/assets/sp-wp-secure.gif", "alt": "Secure Bot Framework" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-bot-framework-secure/assets/EnhancedAuth.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-bot-framework-secure/assets/EnhancedAuth.png?raw=true", "alt": "Secure Bot Framework" } ], diff --git a/samples/react-bot-framework-sso/assets/sample.json b/samples/react-bot-framework-sso/assets/sample.json index 0cfa3a432..8fdcc81b1 100644 --- a/samples/react-bot-framework-sso/assets/sample.json +++ b/samples/react-bot-framework-sso/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Single-Sign On Bot Framework", "shortDescription": "The web parts embeds the login bot by using a webchat. As the user has already login in the SharePoint website, we could use SSO to authorize the bot.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-bot-framework-sso", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-bot-framework-sso", "longDescription": [ "The web parts embeds the login bot by using a webchat. As the user has already login in the SharePoint website, we could use SSO to authorize the bot." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-bot-framework-secure/assets/sp-wp-secure.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-bot-framework-secure/assets/sp-wp-secure.gif", "alt": "Single-Sign On Bot Framework" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-bot-framework-sso/assets/EnhancedAuth.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-bot-framework-sso/assets/EnhancedAuth.png?raw=true", "alt": "Single-Sign On Bot Framework" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-bot-framework-sso/assets/sp-wp-sso.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-bot-framework-sso/assets/sp-wp-sso.gif?raw=true", "alt": "Single-Sign On Bot Framework" } ], diff --git a/samples/react-bot-framework/assets/sample.json b/samples/react-bot-framework/assets/sample.json index 5ff321bae..4cb1fefae 100644 --- a/samples/react-bot-framework/assets/sample.json +++ b/samples/react-bot-framework/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Microsoft Bot Framework Web Chat", "shortDescription": "A web part that uses the botframework-webchat module to create implement a React component to render the Bot Framework v4 webchat component. This web part is able to render Text and richt attachments (Images, Cards, Adaptive Cards, ...) and has settings for branding purposes.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-bot-framework", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-bot-framework", "longDescription": [ "A web part that uses the botframework-webchat module to create implement a React component to render the Bot Framework v4 webchat component. This web part is able to render Text and richt attachments (Images, Cards, Adaptive Cards, ...) and has settings for branding purposes." ], @@ -28,37 +28,37 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-bot-framework/assets/bot-frameworkv4-webpart-preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-bot-framework/assets/bot-frameworkv4-webpart-preview.png", "alt": "Microsoft Bot Framework Web Chat" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-bot-framework/assets/add-another-channel.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-bot-framework/assets/add-another-channel.png?raw=true", "alt": "Microsoft Bot Framework Web Chat" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-bot-framework/assets/bf-add-directline-channel.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-bot-framework/assets/bf-add-directline-channel.png?raw=true", "alt": "Microsoft Bot Framework Web Chat" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-bot-framework/assets/bf-configure-directline-secret.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-bot-framework/assets/bf-configure-directline-secret.png?raw=true", "alt": "Microsoft Bot Framework Web Chat" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-bot-framework/assets/bot-framework-configure-direct-line-secret.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-bot-framework/assets/bot-framework-configure-direct-line-secret.png?raw=true", "alt": "Microsoft Bot Framework Web Chat" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-bot-framework/assets/bot-framework-webpart-preview.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-bot-framework/assets/bot-framework-webpart-preview.png?raw=true", "alt": "Microsoft Bot Framework Web Chat" } ], @@ -91,4 +91,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-calendar-feed/assets/sample.json b/samples/react-calendar-feed/assets/sample.json index 0fd4e9559..9d8f6f62f 100644 --- a/samples/react-calendar-feed/assets/sample.json +++ b/samples/react-calendar-feed/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Calendar Feed Web Part", "shortDescription": "This web part uses event feeds from various sources and renders events using a look and feel that is consistent with the SharePoint out-of-the-box Group calendar/events web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-calendar-feed", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-calendar-feed", "longDescription": [ "This web part uses event feeds from various sources and renders events using a look and feel that is consistent with the SharePoint out-of-the-box Group calendar/events web part." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-calendar-feed/assets/react-calendar-feed-demo.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-calendar-feed/assets/react-calendar-feed-demo.gif", "alt": "Calendar Feed Web Part" } ], @@ -65,4 +65,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-calendar/assets/sample.json b/samples/react-calendar/assets/sample.json index 4b3957f76..90cba2aaf 100644 --- a/samples/react-calendar/assets/sample.json +++ b/samples/react-calendar/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Calendar", "shortDescription": "This Web Part allows you to manage events in a calendar. Uses a list of existing calendars on any website. The location and name of the list and the dates of the events to be displayed are defined in the properties of the web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-calendar", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-calendar", "longDescription": [ "This Web Part allows you to manage events in a calendar. Uses a list of existing calendars on any website. The location and name of the list and the dates of the events to be displayed are defined in the properties of the web part." ], @@ -32,127 +32,127 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-calendar/assets/animatevideo.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-calendar/assets/animatevideo.gif", "alt": "Calendar" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/calendar_teams.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/calendar_teams.jpg?raw=true", "alt": "Calendar" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/calendar_teams2.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/calendar_teams2.jpg?raw=true", "alt": "Calendar" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/modercalendar_monthly.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/modercalendar_monthly.gif?raw=true", "alt": "Calendar" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/moderncalendar_yearly.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/moderncalendar_yearly.gif?raw=true", "alt": "Calendar" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen1.0.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen1.0.jpg?raw=true", "alt": "Calendar" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen1.0.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen1.0.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen1.1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen1.1.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen1.2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen1.2.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen1.3.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen1.3.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 110, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen1.4.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen1.4.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 111, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen1.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 112, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen2.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 113, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen3.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen3.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 114, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen4.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen4.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 115, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen5.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen5.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 116, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen6.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen6.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 117, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen7.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen7.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 118, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen8.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen8.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 119, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/screen9.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/screen9.png?raw=true", "alt": "Calendar" }, { "type": "image", "order": 120, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-calendar/assets/weekly_moderncalendar.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-calendar/assets/weekly_moderncalendar.gif?raw=true", "alt": "Calendar" } ], diff --git a/samples/react-carousel/assets/sample.json b/samples/react-carousel/assets/sample.json index 71b847202..62ac2ad88 100644 --- a/samples/react-carousel/assets/sample.json +++ b/samples/react-carousel/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Carousel Web Part", "shortDescription": "This web part show images and videos in carousel", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-carousel", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-carousel", "longDescription": [ "This web part show images and videos in carousel" ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-carousel/assets/carousel.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-carousel/assets/carousel.gif", "alt": "Carousel Web Part" } ], @@ -79,4 +79,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-chartcontrol/README.md b/samples/react-chartcontrol/README.md index fbc132e89..bf4674a2b 100644 --- a/samples/react-chartcontrol/README.md +++ b/samples/react-chartcontrol/README.md @@ -8,7 +8,7 @@ This sample contains several web parts that demonstrate how to use the ChartCont The web parts in this sample are not intended to be used in production -- they simply demonstrate how you would use all the capabilities of the ChartControl. -> **NOTE:** If you are looking for a ready-to-use web part, please look into [joelfmrodrigues' cool react-modern-charts sample](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-modern-charts), which was built without the `ChartControl`. +> **NOTE:** If you are looking for a ready-to-use web part, please look into [joelfmrodrigues' cool react-modern-charts sample](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-modern-charts), which was built without the `ChartControl`. ## About the samples diff --git a/samples/react-chartcontrol/assets/sample.json b/samples/react-chartcontrol/assets/sample.json index 04fb98e66..33f7b44fc 100644 --- a/samples/react-chartcontrol/assets/sample.json +++ b/samples/react-chartcontrol/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Chart Control Samples", "shortDescription": "This sample contains several web parts that demonstrate how to use the ChartControl from @pnp/spfx-controls-react.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-chartcontrol", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-chartcontrol", "longDescription": [ "This sample contains several web parts that demonstrate how to use the ChartControl from @pnp/spfx-controls-react." ], @@ -28,115 +28,115 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-chartcontrol/assets/WebPartList.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-chartcontrol/assets/WebPartList.png", "alt": "Chart Control Samples" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/AccessibleChart.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/AccessibleChart.png?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/AreaChart.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/AreaChart.gif?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/BarChart.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/BarChart.png?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/BarChartStatic.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/BarChartStatic.png?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/BubbleChart.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/BubbleChart.gif?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/Chartinator.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/Chartinator.gif?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/ComboBar.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/ComboBar.png?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/CustomPlugin.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/CustomPlugin.png?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/DoughnutPatterns.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/DoughnutPatterns.gif?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 110, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/DynamicDataCallable.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/DynamicDataCallable.gif?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 111, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/DynamicDataConsumer.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/DynamicDataConsumer.gif?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 112, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/HorizontalBarChart.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/HorizontalBarChart.png?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 113, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/LineChart.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/LineChart.png?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 114, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/PieChart.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/PieChart.png?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 115, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/PolarChart.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/PolarChart.png?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 116, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/RadarChart.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/RadarChart.png?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 117, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/RealTime.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/RealTime.gif?raw=true", "alt": "Chart Control Samples" }, { "type": "image", "order": 118, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-chartcontrol/assets/ScatterChart.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-chartcontrol/assets/ScatterChart.png?raw=true", "alt": "Chart Control Samples" } ], @@ -157,4 +157,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-check-flows/assets/sample.json b/samples/react-check-flows/assets/sample.json index a67f71649..91c0f8eba 100644 --- a/samples/react-check-flows/assets/sample.json +++ b/samples/react-check-flows/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Check Flows", "shortDescription": "This web part lists all the automated Flows associated with a SharePoint List/ Library. Basic flow information like Flow Name, Flow Trigger, Flow shared Type and Flow URL are displayed.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-check-flows", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-check-flows", "longDescription": [ "This web part lists all the automated Flows associated with a SharePoint List/ Library. Basic flow information like Flow Name, Flow Trigger, Flow shared Type and Flow URL are displayed." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-check-flows/assets/CheckFlows.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-check-flows/assets/CheckFlows.gif", "alt": "Check Flows" } ], diff --git a/samples/react-check-user-group/assets/sample.json b/samples/react-check-user-group/assets/sample.json index f474f3080..e09a7d238 100644 --- a/samples/react-check-user-group/assets/sample.json +++ b/samples/react-check-user-group/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Check User Group", "shortDescription": "This web part finds all the Office 365 or AAD Security groups a user is a member of or all the members present in such a group. It can be used as an admin utility to quickly check the membership of any user or group from within a SharePoint page itself. The retrieved results can also be exported to a CSV file.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-check-user-group", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-check-user-group", "longDescription": [ "This web part finds all the Office 365 or AAD Security groups a user is a member of or all the members present in such a group. It can be used as an admin utility to quickly check the membership of any user or group from within a SharePoint page itself. The retrieved results can also be exported to a CSV file." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-check-user-group/assets/CheckUserGroup.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-check-user-group/assets/CheckUserGroup.gif", "alt": "Check User Group" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-comparer/assets/sample.json b/samples/react-comparer/assets/sample.json index 70887b7b9..4e1842953 100644 --- a/samples/react-comparer/assets/sample.json +++ b/samples/react-comparer/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Comparer with File Picker", "shortDescription": "Allows users to compare Before and After pictures, with a draggable slider. Implements a custom file picker.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-comparer", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-comparer", "longDescription": [ "Allows users to compare Before and After pictures, with a draggable slider. Implements a custom file picker." ], @@ -28,61 +28,61 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-comparer/assets/ComparerWebPart.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-comparer/assets/ComparerWebPart.gif", "alt": "Comparer with File Picker" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-comparer/assets/FluentSlider.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-comparer/assets/FluentSlider.gif?raw=true", "alt": "Comparer with File Picker" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-comparer/assets/FromLinkTab.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-comparer/assets/FromLinkTab.gif?raw=true", "alt": "Comparer with File Picker" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-comparer/assets/OneDriveTab.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-comparer/assets/OneDriveTab.gif?raw=true", "alt": "Comparer with File Picker" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-comparer/assets/RecentTab.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-comparer/assets/RecentTab.gif?raw=true", "alt": "Comparer with File Picker" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-comparer/assets/SitesTab.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-comparer/assets/SitesTab.gif?raw=true", "alt": "Comparer with File Picker" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-comparer/assets/UploadTab.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-comparer/assets/UploadTab.gif?raw=true", "alt": "Comparer with File Picker" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-comparer/assets/WebSearch.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-comparer/assets/WebSearch.gif?raw=true", "alt": "Comparer with File Picker" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-comparer/assets/WebSearchNoAPI.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-comparer/assets/WebSearchNoAPI.png?raw=true", "alt": "Comparer with File Picker" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-comparer/assets/WebSearchTab.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-comparer/assets/WebSearchTab.gif?raw=true", "alt": "Comparer with File Picker" } ], @@ -103,4 +103,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-components-dynamicloading/assets/sample.json b/samples/react-components-dynamicloading/assets/sample.json index 7033c37fd..64a059139 100644 --- a/samples/react-components-dynamicloading/assets/sample.json +++ b/samples/react-components-dynamicloading/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Code Splitting in SharePoint Framework", "shortDescription": "Load React components and third party packages on demand in SPFx", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-components-dynamicloading", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-components-dynamicloading", "longDescription": [ "Load React components and third party packages on demand in SPFx" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-components-dynamicloading/assets/cs3.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-components-dynamicloading/assets/cs3.gif", "alt": "Code Splitting in SharePoint Framework" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-content-query-online/assets/sample.json b/samples/react-content-query-online/assets/sample.json index f57ec584e..1e468a840 100644 --- a/samples/react-content-query-online/assets/sample.json +++ b/samples/react-content-query-online/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Content Query Web Part (SharePoint Online)", "shortDescription": "The React Content Query Web Part is a modern version of the good old Content by Query Web Part that was introduced in SharePoint 2007. Built for SharePoint Online, this modern version is built against the new SharePoint Framework (SPFx) and uses the latest Web Stack practices. While the original Web Part was based on a XSLT templating engine, this React Web Part is based on the well known Handlebars templating engine, which empowers users to create simple, yet powerfull HTML templates for rendering the queried content. This new version also lets the user query any site collections which resides on the same domain url, add unlimited filters, query DateTime fields to the nearest minute rather than being limited to a day, and much more.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-content-query-online", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-content-query-online", "longDescription": [ "The React Content Query Web Part is a modern version of the good old Content by Query Web Part that was introduced in SharePoint 2007. Built for SharePoint Online, this modern version is built against the new SharePoint Framework (SPFx) and uses the latest Web Stack practices. While the original Web Part was based on a XSLT templating engine, this React Web Part is based on the well known Handlebars templating engine, which empowers users to create simple, yet powerfull HTML templates for rendering the queried content. This new version also lets the user query any site collections which resides on the same domain url, add unlimited filters, query DateTime fields to the nearest minute rather than being limited to a day, and much more." ], @@ -28,73 +28,73 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-content-query-online/assets/toolpart.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-content-query-online/assets/toolpart.gif", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/allsites.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/allsites.gif?raw=true", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/allsites_v2.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/allsites_v2.gif?raw=true", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/clearItemSelector.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/clearItemSelector.png?raw=true", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/configureItemSelector.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/configureItemSelector.png?raw=true", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/connectToSource.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/connectToSource.png?raw=true", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/datetime.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/datetime.gif?raw=true", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/dynamicDataConnection.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/dynamicDataConnection.png?raw=true", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/externalScripts.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/externalScripts.png?raw=true", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/filters.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/filters.gif?raw=true", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 110, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/itemSelectorTemplate.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/itemSelectorTemplate.png?raw=true", "alt": "Content Query Web Part (SharePoint Online)" }, { "type": "image", "order": 111, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-content-query-online/assets/itemSelectorTemplateOutput.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-content-query-online/assets/itemSelectorTemplateOutput.png?raw=true", "alt": "Content Query Web Part (SharePoint Online)" } ], @@ -135,4 +135,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-content-query-onprem/assets/sample.json b/samples/react-content-query-onprem/assets/sample.json index f2d32a7d5..ed13505ab 100644 --- a/samples/react-content-query-onprem/assets/sample.json +++ b/samples/react-content-query-onprem/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Content Query Web Part (On-Premises SharePoint)", "shortDescription": "The React Content Query Web Part is a modern version of the good old Content by Query Web Part that was introduced in SharePoint 2007. Built for SharePoint 2016 and Office 365, this modern version is built against the new SharePoint Framework (SPFx) and uses the latest Web Stack practices. While the original Web Part was based on a XSLT templating engine, this React Web Part is based on the well known Handlebars templating engine, which empowers users to create simple, yet powerfull HTML templates for rendering the queried content. This new version also lets the user query any site collections which resides on the same domain url, add unlimited filters, query DateTime fields to the nearest minute rather than being limited to a day, and much more.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-content-query-onprem", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-content-query-onprem", "longDescription": [ "The React Content Query Web Part is a modern version of the good old Content by Query Web Part that was introduced in SharePoint 2007. Built for SharePoint 2016 and Office 365, this modern version is built against the new SharePoint Framework (SPFx) and uses the latest Web Stack practices. While the original Web Part was based on a XSLT templating engine, this React Web Part is based on the well known Handlebars templating engine, which empowers users to create simple, yet powerfull HTML templates for rendering the queried content. This new version also lets the user query any site collections which resides on the same domain url, add unlimited filters, query DateTime fields to the nearest minute rather than being limited to a day, and much more." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-content-query-onprem/Misc/toolpart.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-content-query-onprem/Misc/toolpart.gif", "alt": "Content Query Web Part (On-Premises SharePoint)" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-covid19-info/assets/sample.json b/samples/react-covid19-info/assets/sample.json index 42b66ce97..ec338670d 100644 --- a/samples/react-covid19-info/assets/sample.json +++ b/samples/react-covid19-info/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "COVID 19 information web part", "shortDescription": "This web part displays info about the COVID-19 virus for a given country.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-covid19-info", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-covid19-info", "longDescription": [ "This web part displays info about the COVID-19 virus for a given country." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-covid19-info/assets/covid-counter.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-covid19-info/assets/covid-counter.gif", "alt": "COVID 19 information web part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-covid19-info/assets/Langing-page-screenshot.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-covid19-info/assets/Langing-page-screenshot.png?raw=true", "alt": "COVID 19 information web part" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-css-in-js-typestyle/assets/sample.json b/samples/react-css-in-js-typestyle/assets/sample.json index d99cb7a2b..064d3d537 100644 --- a/samples/react-css-in-js-typestyle/assets/sample.json +++ b/samples/react-css-in-js-typestyle/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "CSS in JS with SharePoint Framework and TypeStyle", "shortDescription": "The web part demonstrates the usage of \u0022CSS in JS\u0022 pattern with SharePoint Framework. \u0022CSS in JS\u0022 is implemented using TypeStyle library.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-css-in-js-typestyle", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-css-in-js-typestyle", "longDescription": [ "The web part demonstrates the usage of \u0022CSS in JS\u0022 pattern with SharePoint Framework. \u0022CSS in JS\u0022 is implemented using TypeStyle library." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-css-in-js-typestyle/assets/dynamic-styles.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-css-in-js-typestyle/assets/dynamic-styles.gif", "alt": "CSS in JS with SharePoint Framework and TypeStyle" } ], @@ -58,4 +58,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-custom-links/assets/sample.json b/samples/react-custom-links/assets/sample.json index 12d165030..7f271baf4 100644 --- a/samples/react-custom-links/assets/sample.json +++ b/samples/react-custom-links/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Custom Links", "shortDescription": "In this web part you can full customize the background and foreground color, font size, width and height of links.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-custom-links", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-custom-links", "longDescription": [ "In this web part you can full customize the background and foreground color, font size, width and height of links." ], @@ -40,25 +40,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-custom-links/assets/customlinks.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-custom-links/assets/customlinks.gif", "alt": "Custom Links" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-custom-links/assets/customLinks01.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-custom-links/assets/customLinks01.PNG?raw=true", "alt": "Custom Links" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-custom-links/assets/customLinks02.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-custom-links/assets/customLinks02.PNG?raw=true", "alt": "Custom Links" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-custom-links/assets/customlinks03.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-custom-links/assets/customlinks03.PNG?raw=true", "alt": "Custom Links" } ], @@ -89,4 +89,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-custompropertypanecontrols/assets/sample.json b/samples/react-custompropertypanecontrols/assets/sample.json index ac3bd4017..f1951d4e5 100644 --- a/samples/react-custompropertypanecontrols/assets/sample.json +++ b/samples/react-custompropertypanecontrols/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Custom property pane controls", "shortDescription": "Sample custom property pane controls built in React for use with SharePoint Framework client-side web parts.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-custompropertypanecontrols", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-custompropertypanecontrols", "longDescription": [ "Sample custom property pane controls built in React for use with SharePoint Framework client-side web parts." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-custompropertypanecontrols/assets/async-dropdown-preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-custompropertypanecontrols/assets/async-dropdown-preview.gif", "alt": "Custom property pane controls" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-custompropertypanecontrols/assets/cascading-dropdown-preview.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-custompropertypanecontrols/assets/cascading-dropdown-preview.gif?raw=true", "alt": "Custom property pane controls" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-datatable/assets/sample.json b/samples/react-datatable/assets/sample.json index 9c34c18db..94d6145a3 100644 --- a/samples/react-datatable/assets/sample.json +++ b/samples/react-datatable/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Data Table", "shortDescription": "This web part provides easy way to render SharePoint custom list in data table view with all the necessary features.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-datatable", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-datatable", "longDescription": [ "This web part provides easy way to render SharePoint custom list in data table view with all the necessary features." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-datatable/assets/preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-datatable/assets/preview.png", "alt": "Data Table" } ], diff --git a/samples/react-daterangepicker/assets/sample.json b/samples/react-daterangepicker/assets/sample.json index 01d8efc14..a3b571ed3 100644 --- a/samples/react-daterangepicker/assets/sample.json +++ b/samples/react-daterangepicker/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Date range picker in SPFx", "shortDescription": "This web part used the date range picker in the SharePoint Framework (SPFx) web part", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-daterangepicker", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-daterangepicker", "longDescription": [ "This web part used the date range picker in the SharePoint Framework (SPFx) web part" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-daterangepicker/assets/daterange1.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-daterangepicker/assets/daterange1.png", "alt": "Date range picker in SPFx" } ], diff --git a/samples/react-designpatterns-typescript/assets/sample.json b/samples/react-designpatterns-typescript/assets/sample.json index 08dc8bc74..554298b4e 100644 --- a/samples/react-designpatterns-typescript/assets/sample.json +++ b/samples/react-designpatterns-typescript/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Design Patterns applied to Sharepoint Framework", "shortDescription": "In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design. A design pattern isn\u0027t a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-designpatterns-typescript", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-designpatterns-typescript", "longDescription": [ "In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design. A design pattern isn\u0027t a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations." ], diff --git a/samples/react-dev-radar/assets/sample.json b/samples/react-dev-radar/assets/sample.json index cb66704fb..7bdc9c6d2 100644 --- a/samples/react-dev-radar/assets/sample.json +++ b/samples/react-dev-radar/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Dev-Radar for SharePoint Online", "shortDescription": "The web part Use PnPjs library and Axios", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-dev-radar", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-dev-radar", "longDescription": [ "The web part Use PnPjs library and Axios" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-dev-radar/dev-radar.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-dev-radar/dev-radar.png", "alt": "Dev-Radar for SharePoint Online" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-directory/assets/sample.json b/samples/react-directory/assets/sample.json index b3f6fdf97..44d638259 100644 --- a/samples/react-directory/assets/sample.json +++ b/samples/react-directory/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Organization Directory Web Part", "shortDescription": "Search People from Organization Directory and show live persona card on hover.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-directory", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-directory", "longDescription": [ "Search People from Organization Directory and show live persona card on hover." ], @@ -32,79 +32,79 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-directory/assets/react-directory7.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-directory/assets/react-directory7.png", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory-teams1.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory-teams1.jpg?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory-teams2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory-teams2.png?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory-teams3.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory-teams3.jpg?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory-withPaging.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory-withPaging.png?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory.jpg?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory2.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory2.jpg?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory21.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory21.png?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory3.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory3.jpg?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory5.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory5.jpg?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 110, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory6.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory6.png?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 111, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory8.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory8.png?raw=true", "alt": "Organization Directory Web Part" }, { "type": "image", "order": 112, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-directory/assets/react-directory9.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-directory/assets/react-directory9.png?raw=true", "alt": "Organization Directory Web Part" } ], @@ -150,4 +150,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-display-hierarchy/assets/sample.json b/samples/react-display-hierarchy/assets/sample.json index bd83fff34..1c882dee7 100644 --- a/samples/react-display-hierarchy/assets/sample.json +++ b/samples/react-display-hierarchy/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Web part displaying hierarchical information from SharePoint list", "shortDescription": "At the time of developing this sample, the Office 365 UI fabric does not have any control for displaying hierarchical information. This web part helps to display the hierarchical information from SharePoint list.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-display-hierarchy", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-display-hierarchy", "longDescription": [ "At the time of developing this sample, the Office 365 UI fabric does not have any control for displaying hierarchical information. This web part helps to display the hierarchical information from SharePoint list." ], @@ -28,31 +28,31 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-display-hierarchy/assets/local-sharepoint-workbench-run.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-display-hierarchy/assets/local-sharepoint-workbench-run.png", "alt": "Web part displaying hierarchical information from SharePoint list" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-display-hierarchy/assets/list-sample-data.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-display-hierarchy/assets/list-sample-data.png?raw=true", "alt": "Web part displaying hierarchical information from SharePoint list" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-display-hierarchy/assets/list-schema.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-display-hierarchy/assets/list-schema.png?raw=true", "alt": "Web part displaying hierarchical information from SharePoint list" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-display-hierarchy/assets/sharepoint-run.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-display-hierarchy/assets/sharepoint-run.gif?raw=true", "alt": "Web part displaying hierarchical information from SharePoint list" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-display-hierarchy/assets/webpart-preview.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-display-hierarchy/assets/webpart-preview.png?raw=true", "alt": "Web part displaying hierarchical information from SharePoint list" } ], @@ -79,4 +79,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-doccard-faq/assets/sample.json b/samples/react-doccard-faq/assets/sample.json index 1f18be80a..37a43680e 100644 --- a/samples/react-doccard-faq/assets/sample.json +++ b/samples/react-doccard-faq/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Document Card FAQ", "shortDescription": "React FAQ Document Card Web Part", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-doccard-faq", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-doccard-faq", "longDescription": [ "Document Card FAQ" ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-doccard-faq/assets/FAQdocCardPreview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-doccard-faq/assets/FAQdocCardPreview.gif", "alt": "Web part in action" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-doccard-faq/assets/reactdoccardfaq.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-doccard-faq/assets/reactdoccardfaq.png", "alt": "Web part in action" } ], diff --git a/samples/react-documents-detailslist/assets/sample.json b/samples/react-documents-detailslist/assets/sample.json index 07d86672a..706a7ecbf 100644 --- a/samples/react-documents-detailslist/assets/sample.json +++ b/samples/react-documents-detailslist/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Documents Web Part", "shortDescription": "This sample shows how to build web parts that display documents in accordance with the SharePoint Online modern experience. The code uses Office UI Fabric components on the top of SharePoint framework. The web parts implement filtering and sorting. Two data source approaches are demonstrated items retrieved from the search index and real-time query to a document library.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-documents-detailslist", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-documents-detailslist", "longDescription": [ "This sample shows how to build web parts that display documents in accordance with the SharePoint Online modern experience. The code uses Office UI Fabric components on the top of SharePoint framework. The web parts implement filtering and sorting. Two data source approaches are demonstrated items retrieved from the search index and real-time query to a document library." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-documents-detailslist/assets/Preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-documents-detailslist/assets/Preview.gif", "alt": "Documents Web Part" } ], @@ -56,4 +56,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-dynamics-crm-api/assets/sample.json b/samples/react-dynamics-crm-api/assets/sample.json index d3b2fb586..f7828cdb4 100644 --- a/samples/react-dynamics-crm-api/assets/sample.json +++ b/samples/react-dynamics-crm-api/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Using Dynamics CRM API", "shortDescription": "This sample shows how to consume Dynamics CRM API using AadTokenProvider class.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-dynamics-crm-api", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-dynamics-crm-api", "longDescription": [ "This sample shows how to consume Dynamics CRM API using AadTokenProvider class." ], @@ -36,7 +36,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-dynamics-crm-api/assets/screenshot.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-dynamics-crm-api/assets/screenshot.gif", "alt": "Using Dynamics CRM API" } ], @@ -62,4 +62,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-enhanced-list-formatting/assets/sample.json b/samples/react-enhanced-list-formatting/assets/sample.json index dc61f7d37..0a4a3520e 100644 --- a/samples/react-enhanced-list-formatting/assets/sample.json +++ b/samples/react-enhanced-list-formatting/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Enhanced List Formatting", "shortDescription": "This web part allows you to add custom CSS on a page to enhance list formatting.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-enhanced-list-formatting", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-enhanced-list-formatting", "longDescription": [ "This web part allows you to add custom CSS on a page to enhance list formatting." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-enhanced-list-formatting/assets/EnhancedListFormatting.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-enhanced-list-formatting/assets/EnhancedListFormatting.gif", "alt": "Enhanced List Formatting" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-enhanced-list-formatting/assets/Viewformatting.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-enhanced-list-formatting/assets/Viewformatting.png?raw=true", "alt": "Enhanced List Formatting" } ], @@ -62,4 +62,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-enhanced-powerapps/assets/sample.json b/samples/react-enhanced-powerapps/assets/sample.json index 3ce9f2334..cd02c59da 100644 --- a/samples/react-enhanced-powerapps/assets/sample.json +++ b/samples/react-enhanced-powerapps/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Enhanced Power Apps", "shortDescription": "Adds dynamic resizing, theme awareness, and dynamic data to embedded Power Apps", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-enhanced-powerapps", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-enhanced-powerapps", "longDescription": [ "Adds dynamic resizing, theme awareness, and dynamic data to embedded Power Apps" ], @@ -28,43 +28,43 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-enhanced-powerapps/assets/enhanced-power-apps.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-enhanced-powerapps/assets/enhanced-power-apps.gif", "alt": "Enhanced Power Apps" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-enhanced-powerapps/assets/dpstep1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-enhanced-powerapps/assets/dpstep1.png?raw=true", "alt": "Enhanced Power Apps" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-enhanced-powerapps/assets/resize.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-enhanced-powerapps/assets/resize.gif?raw=true", "alt": "Enhanced Power Apps" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-enhanced-powerapps/assets/sizeoptions.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-enhanced-powerapps/assets/sizeoptions.png?raw=true", "alt": "Enhanced Power Apps" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-enhanced-powerapps/assets/step1-5.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-enhanced-powerapps/assets/step1-5.png?raw=true", "alt": "Enhanced Power Apps" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-enhanced-powerapps/assets/step1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-enhanced-powerapps/assets/step1.png?raw=true", "alt": "Enhanced Power Apps" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-enhanced-powerapps/assets/step2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-enhanced-powerapps/assets/step2.png?raw=true", "alt": "Enhanced Power Apps" } ], @@ -85,4 +85,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-events-aggregator/README.md b/samples/react-events-aggregator/README.md index 7e6c4325a..8ef4070e9 100644 --- a/samples/react-events-aggregator/README.md +++ b/samples/react-events-aggregator/README.md @@ -4,7 +4,7 @@ > > The event aggregator is deprecated and no longer available in the SharePoint Framework. Please use [dynamic data](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data) instead. # -Following issue [#659](https://github.com/SharePoint/sp-dev-fx-webparts/issues/659), the event aggregator functionality is no longer working. This feature was in ALPHA state and never made it to general availability state. There is a replacement for the event aggregator. Please have a look at the dynamic data functionality and use it instead [https://docs.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data). There is already a sample in this library [https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-events-dynamicdata](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-events-dynamicdata) +Following issue [#659](https://github.com/pnp/sp-dev-fx-webparts/issues/659), the event aggregator functionality is no longer working. This feature was in ALPHA state and never made it to general availability state. There is a replacement for the event aggregator. Please have a look at the dynamic data functionality and use it instead [https://docs.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data). There is already a sample in this library [https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-events-dynamicdata](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-events-dynamicdata) ## Summary diff --git a/samples/react-events-aggregator/assets/sample.json b/samples/react-events-aggregator/assets/sample.json index c8fda5af8..bb2a67c8a 100644 --- a/samples/react-events-aggregator/assets/sample.json +++ b/samples/react-events-aggregator/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Event Aggregator Sample (DEPRECATED)", "shortDescription": "This sample shows how we can use the SPFx Event Aggregator to communicate between web parts through broadcasting events utilizing the Publish\u2013subscribe pattern. It enables a web part or component to raise event (broadcast message) through the SPFx event aggregator and that event is received by other web parts or components that have been subscribed to receive it.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-events-aggregator", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-events-aggregator", "longDescription": [ "This sample shows how we can use the SPFx Event Aggregator to communicate between web parts through broadcasting events utilizing the Publish\u2013subscribe pattern. It enables a web part or component to raise event (broadcast message) through the SPFx event aggregator and that event is received by other web parts or components that have been subscribed to receive it." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-events-aggregator/assets/spfx-event-aggregator.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-events-aggregator/assets/spfx-event-aggregator.gif", "alt": "Event Aggregator Sample (DEPRECATED)" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-events-dynamicdata/README.md b/samples/react-events-dynamicdata/README.md index a5794e8d0..2f7ff1917 100644 --- a/samples/react-events-dynamicdata/README.md +++ b/samples/react-events-dynamicdata/README.md @@ -66,6 +66,6 @@ Web parts in this solution illustrate the following concepts on top of the Share * subscribing to dynamic data source notifications from a web part * deploying list instances from a SharePoint Framework solution package * using [PnPjs](https://github.com/pnp/pnpjs) to retrieve data from a SharePoint list -* using [SharePoint Framework React Controls](https://github.com/SharePoint/sp-dev-fx-controls-react) in web parts +* using [SharePoint Framework React Controls](https://github.com/pnp/sp-dev-fx-controls-react) in web parts diff --git a/samples/react-events-dynamicdata/assets/sample.json b/samples/react-events-dynamicdata/assets/sample.json index 4f910d76b..40bfe2d00 100644 --- a/samples/react-events-dynamicdata/assets/sample.json +++ b/samples/react-events-dynamicdata/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Dynamic data", "shortDescription": "Sample web parts illustrating using the SharePoint Framework Dynamic data capability.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-events-dynamicdata", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-events-dynamicdata", "longDescription": [ "Sample web parts illustrating using the SharePoint Framework Dynamic data capability." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-events-dynamicdata/assets/dynamic-data-webparts.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-events-dynamicdata/assets/dynamic-data-webparts.png", "alt": "Dynamic data" } ], @@ -56,4 +56,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-facebook-plugin/assets/sample.json b/samples/react-facebook-plugin/assets/sample.json index 3c144a8f4..c9597d645 100644 --- a/samples/react-facebook-plugin/assets/sample.json +++ b/samples/react-facebook-plugin/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "SharePoint Framework Facebook Page Social Plugin web part sample", "shortDescription": "This sample shows how to implement iFrame-based web parts with a dynamic responsive behavior on the example of Facebook Page Social Plugin.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-facebook-plugin", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-facebook-plugin", "longDescription": [ "This sample shows how to implement iFrame-based web parts with a dynamic responsive behavior on the example of Facebook Page Social Plugin." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-facebook-plugin/assets/preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-facebook-plugin/assets/preview.png", "alt": "SharePoint Framework Facebook Page Social Plugin web part sample" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-faqapp/assets/sample.json b/samples/react-faqapp/assets/sample.json index 3168e6cde..678a41adf 100644 --- a/samples/react-faqapp/assets/sample.json +++ b/samples/react-faqapp/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Frequently Asked Questions", "shortDescription": "Allows users to create Frequently Asked Questions(Faq App) in modern and classic SharePoint pages.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-faqapp", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-faqapp", "longDescription": [ "Allows users to create Frequently Asked Questions(Faq App) in modern and classic SharePoint pages." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-faqapp/assets/FAQWebpart.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-faqapp/assets/FAQWebpart.png", "alt": "Frequently Asked Questions" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-feature-framework/assets/sample.json b/samples/react-feature-framework/assets/sample.json index 46f4ec652..8ae676429 100644 --- a/samples/react-feature-framework/assets/sample.json +++ b/samples/react-feature-framework/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Deployment of SharePoint assets as part of SPFx package", "shortDescription": "Simplistic solution demonstrating how to provision SharePoint assets using Feature Framework elements when SharePoint Framework solution is being deployed to a SharePoint site.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-feature-framework", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-feature-framework", "longDescription": [ "Simplistic solution demonstrating how to provision SharePoint assets using Feature Framework elements when SharePoint Framework solution is being deployed to a SharePoint site." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-feature-framework/assets/screenshot.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-feature-framework/assets/screenshot.png", "alt": "Deployment of SharePoint assets as part of SPFx package" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-feedback/assets/sample.json b/samples/react-feedback/assets/sample.json index 59b9e33a2..0e60fe96a 100644 --- a/samples/react-feedback/assets/sample.json +++ b/samples/react-feedback/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Feedback", "shortDescription": "This is an application that supports Feedback through a web part that can be used directly on a Modern SharePoint Site page. This web part can be added to any site page or article. This allows users to send categorized feedback via email to users in the \u0022Feedback Owners\u0022 group.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-feedback", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-feedback", "longDescription": [ "This is an application that supports Feedback through a web part that can be used directly on a Modern SharePoint Site page. This web part can be added to any site page or article. This allows users to send categorized feedback via email to users in the \u0022Feedback Owners\u0022 group." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-feedback/assets/feedbackwebpart.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-feedback/assets/feedbackwebpart.gif", "alt": "Feedback" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-file-upload/assets/sample.json b/samples/react-file-upload/assets/sample.json index 1312fc664..bd04c3feb 100644 --- a/samples/react-file-upload/assets/sample.json +++ b/samples/react-file-upload/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "File Upload Web Part", "shortDescription": "The file upload web part allowing users to upload multiple files to a document library or as item attachments.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-file-upload", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-file-upload", "longDescription": [ "The file upload web part allowing users to upload multiple files to a document library or as item attachments." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-file-upload/assets/SPFileUploadPreview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-file-upload/assets/SPFileUploadPreview.gif", "alt": "File Upload Web Part" } ], diff --git a/samples/react-followedsites/README.md b/samples/react-followedsites/README.md index 52b31d535..ac3e8c240 100644 --- a/samples/react-followedsites/README.md +++ b/samples/react-followedsites/README.md @@ -24,9 +24,9 @@ The `Followed Sites` web part can be configured with the following properties: ## Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part utilizes the SharePoint Rest API, `/_api/social.following/my/followed(types=4)`, endpoint. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part utilizes the SharePoint Rest API, `/_api/social.following/my/followed(types=4)`, endpoint. ## Screenshots @@ -34,7 +34,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f ## Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/followedSites +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/followedSites ## Minimal Path to Awesome diff --git a/samples/react-followedsites/assets/sample.json b/samples/react-followedsites/assets/sample.json index 32b5bcb83..206ed3b55 100644 --- a/samples/react-followedsites/assets/sample.json +++ b/samples/react-followedsites/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Followed Sites", "shortDescription": "This web part provides you the ability to display a list of site administrator defined number of sites that a given user is following, with paging as well as inline filtering of sites by keyword or phrase. Currently the list of followed sites includes classic as well as modern communication sites but does not include group enabled (modern) team sites.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-followedsites", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-followedsites", "longDescription": [ "This web part provides you the ability to display a list of site administrator defined number of sites that a given user is following, with paging as well as inline filtering of sites by keyword or phrase. Currently the list of followed sites includes classic as well as modern communication sites but does not include group enabled (modern) team sites." ], diff --git a/samples/react-functional-component-with-data-fetch/README.md b/samples/react-functional-component-with-data-fetch/README.md index d60be368d..fdc46efdc 100644 --- a/samples/react-functional-component-with-data-fetch/README.md +++ b/samples/react-functional-component-with-data-fetch/README.md @@ -55,7 +55,7 @@ The purpose of this web part is to demonstrate building a React functional compo ![Screenshot](ShowChannels.png "Screenshot - Teams Tracker web part with Teams channels displayed") -This is an extension of the approach used in the [React-Functional-Component](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-functional-component) and [React-Functional-Stateful-Component](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-functional-stateful-component) samples. +This is an extension of the approach used in the [React-Functional-Component](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-functional-component) and [React-Functional-Stateful-Component](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-functional-stateful-component) samples. * Simplification * Functional Component diff --git a/samples/react-functional-component-with-data-fetch/assets/sample.json b/samples/react-functional-component-with-data-fetch/assets/sample.json index 8a0532956..abd5cc5dd 100644 --- a/samples/react-functional-component-with-data-fetch/assets/sample.json +++ b/samples/react-functional-component-with-data-fetch/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "React Functional Component web part with data fetch", "shortDescription": "This web part demonstrates building a React functional component that uses data from a remote service, in this case the Microsoft Graph, using the recently introduced React Hooks feature. The example web part renders a list of the user\u0027s Teams and, optionally, the channels in each Team.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-functional-component-with-data-fetch", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-functional-component-with-data-fetch", "longDescription": [ "This web part demonstrates building a React functional component that uses data from a remote service, in this case the Microsoft Graph, using the recently introduced React Hooks feature. The example web part renders a list of the user\u0027s Teams and, optionally, the channels in each Team." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-functional-component-with-data-fetch/Screenshot.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-functional-component-with-data-fetch/Screenshot.png", "alt": "React Functional Component web part with data fetch" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-functional-component/README.md b/samples/react-functional-component/README.md index 7fd305af0..7a895acea 100644 --- a/samples/react-functional-component/README.md +++ b/samples/react-functional-component/README.md @@ -73,7 +73,7 @@ In addition the React elements returned have been simplified. In particular the ## Adding State -You may be wondering how maintaining state, side effects or other complexities can be accommodated with functional components like the one used. This can be achieved by using a fairly new feature called [React Hooks](https://reactjs.org/docs/hooks-intro.html) and will be demonstrated using [another sample](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-functional-stateful-component). +You may be wondering how maintaining state, side effects or other complexities can be accommodated with functional components like the one used. This can be achieved by using a fairly new feature called [React Hooks](https://reactjs.org/docs/hooks-intro.html) and will be demonstrated using [another sample](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-functional-stateful-component). ## Building and testing diff --git a/samples/react-functional-component/assets/sample.json b/samples/react-functional-component/assets/sample.json index 413da1c32..4b85ae714 100644 --- a/samples/react-functional-component/assets/sample.json +++ b/samples/react-functional-component/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "React Functional Component web part", "shortDescription": "This web part is intended to be easier to understand for new developers building their first SPFx web part. It is a refactoring of the HelloWorld web part that is created by the @microsoft/generator-sharepoint Yeoman generator, and introduces React Functional Components.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-functional-component", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-functional-component", "longDescription": [ "This web part is intended to be easier to understand for new developers building their first SPFx web part. It is a refactoring of the HelloWorld web part that is created by the @microsoft/generator-sharepoint Yeoman generator, and introduces React Functional Components." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-functional-component/Screenshot.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-functional-component/Screenshot.png", "alt": "React Functional Component web part" } ], @@ -58,4 +58,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-functional-servicescope-hooks/assets/sample.json b/samples/react-functional-servicescope-hooks/assets/sample.json index 5d41496ca..09c619f39 100644 --- a/samples/react-functional-servicescope-hooks/assets/sample.json +++ b/samples/react-functional-servicescope-hooks/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Consuming SPFX Service Scopes using React Hooks", "shortDescription": "This web part is designed to help developers understand how to use the Context API and useContext() React Hook to share global data between a hierarchy of nested React components.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-functional-servicescope-hooks", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-functional-servicescope-hooks", "longDescription": [ "This web part is designed to help developers understand how to use the Context API and useContext() React Hook to share global data between a hierarchy of nested React components." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-functional-servicescope-hooks/webpart.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-functional-servicescope-hooks/webpart.png", "alt": "Consuming SPFX Service Scopes using React Hooks" } ], diff --git a/samples/react-functional-stateful-component/README.md b/samples/react-functional-stateful-component/README.md index c5a2666ed..008fe550d 100644 --- a/samples/react-functional-stateful-component/README.md +++ b/samples/react-functional-stateful-component/README.md @@ -49,7 +49,7 @@ Version|Date|Comments The purpose of this web part is to demonstrate building a React functional component that includes state. This is achieved using the recent React Hooks feature. The resulting code is cleaner and easier to follow than using a JavaScript/TypeScript class derived from React.Component. The example web part renders a number to Roman numerals conversion tool, although the functionality is just for the purposes of the demonstration. -This is an extension of the approach used in the [React-Functional-Component](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-functional-component) sample. +This is an extension of the approach used in the [React-Functional-Component](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-functional-component) sample. * Simplification * Functional Component diff --git a/samples/react-functional-stateful-component/assets/sample.json b/samples/react-functional-stateful-component/assets/sample.json index a91483b0f..00909412c 100644 --- a/samples/react-functional-stateful-component/assets/sample.json +++ b/samples/react-functional-stateful-component/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "React Functional Stateful Component web part", "shortDescription": "This web part demonstrates building a React functional component that includes state, using the recently introduced React Hooks feature. The example web part renders a number to Roman numerals conversion tool.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-functional-stateful-component", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-functional-stateful-component", "longDescription": [ "This web part demonstrates building a React functional component that includes state, using the recently introduced React Hooks feature. The example web part renders a number to Roman numerals conversion tool." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-functional-stateful-component/Screenshot.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-functional-stateful-component/Screenshot.png", "alt": "React Functional Stateful Component web part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-github-badge/README.md b/samples/react-github-badge/README.md index bdae92116..e99172cd1 100644 --- a/samples/react-github-badge/README.md +++ b/samples/react-github-badge/README.md @@ -22,7 +22,7 @@ Displays information about a GitHub user. Solution|Author(s) --------|--------- react-github-badge | Hugo Bernier ([Tahoe Ninjas](http://tahoeninjas.blog), [@bernierh](https://www.twitter.com/bernierh)) -Converted from: [js-GitHubBadge](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/js-gitHubBadge) | Eric Skaggs [@skaggej](https://www.twitter.com/skaggej) +Converted from: [js-GitHubBadge](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-gitHubBadge) | Eric Skaggs [@skaggej](https://www.twitter.com/skaggej) ## Version history @@ -46,7 +46,7 @@ Version|Date|Comments ## Features -This sample illustrates how to convert an existing Javascript-only SPFx web part to a React SPFx web part while keeping the same look and feel. Please refer to the [js-GitHubBadge](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/js-gitHubBadge) sample for the original Javascript-only web part. +This sample illustrates how to convert an existing Javascript-only SPFx web part to a React SPFx web part while keeping the same look and feel. Please refer to the [js-GitHubBadge](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/js-gitHubBadge) sample for the original Javascript-only web part. A second web part (called `GitHub Badge v2`) demonstrates how to render the same data using a Fabric UI persona card. diff --git a/samples/react-github-badge/assets/sample.json b/samples/react-github-badge/assets/sample.json index af4848de8..52e21886b 100644 --- a/samples/react-github-badge/assets/sample.json +++ b/samples/react-github-badge/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "GitHub Badge (React)", "shortDescription": "Displays information about a GitHub user.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-github-badge", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-github-badge", "longDescription": [ "Displays information about a GitHub user." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-github-badge/assets/githubbadge.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-github-badge/assets/githubbadge.png", "alt": "GitHub Badge (React)" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-global-news/assets/sample.json b/samples/react-global-news/assets/sample.json index f1c60d387..17bfcdda8 100644 --- a/samples/react-global-news/assets/sample.json +++ b/samples/react-global-news/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Global News", "shortDescription": "This web part show a world news from various sources, it uses the API available on https://newsapi.org this collect information from news and blog sites around the world.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-global-news", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-global-news", "longDescription": [ "This web part show a world news from various sources, it uses the API available on https://newsapi.org this collect information from news and blog sites around the world." ], @@ -44,19 +44,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-global-news/assets/GlobalNews.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-global-news/assets/GlobalNews.png", "alt": "Global News" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-global-news/assets/globalNews.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-global-news/assets/globalNews.gif?raw=true", "alt": "Global News" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-global-news/assets/news.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-global-news/assets/news.jpg?raw=true", "alt": "Global News" } ], @@ -92,4 +92,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-google-fit/assets/sample.json b/samples/react-google-fit/assets/sample.json index 42e5a02d1..c556c9dad 100644 --- a/samples/react-google-fit/assets/sample.json +++ b/samples/react-google-fit/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Web part displaying Google Fit information", "shortDescription": "This sample demonstrates integration of Google Fit information with SharePoint Framework. The Google Fitness REST APIs allows developers to extend it further and create their own dashboards. Google Fitness REST APIs are useful if you have fitness app and you want to integrate your data with google fit or if you just want to collect Fitness data and display some information to the users. This web part helps to display the key fitness information (activity time spent, distance travelled, calories burned, step count) from the Google fit data source.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-google-fit", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-google-fit", "longDescription": [ "This sample demonstrates integration of Google Fit information with SharePoint Framework. The Google Fitness REST APIs allows developers to extend it further and create their own dashboards. Google Fitness REST APIs are useful if you have fitness app and you want to integrate your data with google fit or if you just want to collect Fitness data and display some information to the users. This web part helps to display the key fitness information (activity time spent, distance travelled, calories burned, step count) from the Google fit data source." ], @@ -28,49 +28,49 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-google-fit/assets/webpart-preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-google-fit/assets/webpart-preview.png", "alt": "Web part displaying Google Fit information" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-google-fit/assets/add-authorized-origins.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-google-fit/assets/add-authorized-origins.png?raw=true", "alt": "Web part displaying Google Fit information" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-google-fit/assets/add-credentials-to-your-project.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-google-fit/assets/add-credentials-to-your-project.png?raw=true", "alt": "Web part displaying Google Fit information" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-google-fit/assets/create-new-project.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-google-fit/assets/create-new-project.png?raw=true", "alt": "Web part displaying Google Fit information" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-google-fit/assets/generate-credentials.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-google-fit/assets/generate-credentials.png?raw=true", "alt": "Web part displaying Google Fit information" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-google-fit/assets/oauth-clientid.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-google-fit/assets/oauth-clientid.png?raw=true", "alt": "Web part displaying Google Fit information" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-google-fit/assets/setup-oauth-consent.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-google-fit/assets/setup-oauth-consent.png?raw=true", "alt": "Web part displaying Google Fit information" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-google-fit/assets/sharepoint-run.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-google-fit/assets/sharepoint-run.gif?raw=true", "alt": "Web part displaying Google Fit information" } ], @@ -91,4 +91,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-graph-calendar/assets/sample.json b/samples/react-graph-calendar/assets/sample.json index 820370ba1..dabf37055 100644 --- a/samples/react-graph-calendar/assets/sample.json +++ b/samples/react-graph-calendar/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Graph Calendar Web Part", "shortDescription": "This is a sample web part developed using React Framework to gather events from the underlying group calendar of a Team site. This sample also demonstrates the utilization of web parts as Teams tabs and Personal tab and offering a visualization context to change behaviors based on the platform used (Getting the proper information from the team vs. SharePoint site, understanding the context of the theme on Teams, etc.).", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-graph-calendar", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-graph-calendar", "longDescription": [ "This is a sample web part developed using React Framework to gather events from the underlying group calendar of a Team site. This sample also demonstrates the utilization of web parts as Teams tabs and Personal tab and offering a visualization context to change behaviors based on the platform used (Getting the proper information from the team vs. SharePoint site, understanding the context of the theme on Teams, etc.)." ], @@ -36,13 +36,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-graph-calendar/assets/react-graph-calendar-spo.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-graph-calendar/assets/react-graph-calendar-spo.gif", "alt": "Graph Calendar Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-graph-calendar/assets/react-graph-calendar-teams.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-graph-calendar/assets/react-graph-calendar-teams.gif?raw=true", "alt": "Graph Calendar Web Part" } ], @@ -74,4 +74,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-graph-cascading-managed-metadata/assets/sample.json b/samples/react-graph-cascading-managed-metadata/assets/sample.json index 10b9a997a..76594b36f 100644 --- a/samples/react-graph-cascading-managed-metadata/assets/sample.json +++ b/samples/react-graph-cascading-managed-metadata/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Cascading managed metadata using Graph API", "shortDescription": "Shows how to use the Microsoft Graph APIs (beta) for Taxonomy to get the data.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-graph-cascading-managed-metadata", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-graph-cascading-managed-metadata", "longDescription": [ "Shows how to use the Microsoft Graph APIs (beta) for Taxonomy to get the data." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-graph-cascading-managed-metadata/assets/cmmd.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-graph-cascading-managed-metadata/assets/cmmd.gif", "alt": "Cascading managed metadata using Graph API" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-graph-cascading-managed-metadata/assets/termstore.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-graph-cascading-managed-metadata/assets/termstore.png?raw=true", "alt": "Cascading managed metadata using Graph API" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-graph-evalurl/assets/sample.json b/samples/react-graph-evalurl/assets/sample.json index 0a2d4d365..433234d1e 100644 --- a/samples/react-graph-evalurl/assets/sample.json +++ b/samples/react-graph-evalurl/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Web part showing Url validation for SharePoint using Office Graph", "shortDescription": "This sample contains a class that evaluates the url input of a text field against the Microsoft Graph.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-graph-evalurl", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-graph-evalurl", "longDescription": [ "This sample contains a class that evaluates the url input of a text field against the Microsoft Graph." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-graph-evalurl/assets/url-graph-eval.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-graph-evalurl/assets/url-graph-eval.gif", "alt": "Web part showing Url validation for SharePoint using Office Graph" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-graph-evalurl/assets/eval-web-after-site-collection.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-graph-evalurl/assets/eval-web-after-site-collection.png?raw=true", "alt": "Web part showing Url validation for SharePoint using Office Graph" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-graph-evalurl/assets/evaluation-client-searching-for-site-collection.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-graph-evalurl/assets/evaluation-client-searching-for-site-collection.png?raw=true", "alt": "Web part showing Url validation for SharePoint using Office Graph" } ], @@ -61,4 +61,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-graph-feedback-form/assets/sample.json b/samples/react-graph-feedback-form/assets/sample.json index 71ff5c762..74bffc129 100644 --- a/samples/react-graph-feedback-form/assets/sample.json +++ b/samples/react-graph-feedback-form/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Feedback Form", "shortDescription": "Sample SPFx React web part which allows sending emails using Microsoft Graph.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-graph-feedback-form", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-graph-feedback-form", "longDescription": [ "Sample SPFx React web part which allows sending emails using Microsoft Graph." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-graph-feedback-form/assets/preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-graph-feedback-form/assets/preview.gif", "alt": "Feedback Form" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-graph-mgt-client/assets/sample.json b/samples/react-graph-mgt-client/assets/sample.json index 67c994672..12a2c3311 100644 --- a/samples/react-graph-mgt-client/assets/sample.json +++ b/samples/react-graph-mgt-client/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Graph MGT Client", "shortDescription": "This is a sample web part developed using React Framework that showcases how to use the latest `microsoft-graph-client` in order to do advanced configuration of the Microsoft Graph client. ", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-graph-mgt-client", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-graph-mgt-client", "longDescription": [ "This is a sample web part developed using React Framework that showcases how to use the latest `microsoft-graph-client` in order to do advanced configuration of the Microsoft Graph client.", "This enables scenarios like throttling management, Chaos management and a lot more!" @@ -29,7 +29,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-graph-mgt-client/assets/DemoGraphClient.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-graph-mgt-client/assets/DemoGraphClient.gif", "alt": "Web Part in action" } ], diff --git a/samples/react-graph-personalemail/assets/sample.json b/samples/react-graph-personalemail/assets/sample.json index 6bc1afdd0..09ce9eb30 100644 --- a/samples/react-graph-personalemail/assets/sample.json +++ b/samples/react-graph-personalemail/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Personal e-mail", "shortDescription": "Sample React web part showing how to retrieve and display personal e-mail retrieved using the Microsoft Graph.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-graph-personalemail", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-graph-personalemail", "longDescription": [ "Sample React web part showing how to retrieve and display personal e-mail retrieved using the Microsoft Graph." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-graph-personalemail/assets/preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-graph-personalemail/assets/preview.png", "alt": "Personal e-mail" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-graph-pnpjs/assets/sample.json b/samples/react-graph-pnpjs/assets/sample.json index adf5c5fa8..b4a7df505 100644 --- a/samples/react-graph-pnpjs/assets/sample.json +++ b/samples/react-graph-pnpjs/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Using PnPJS with MS Graph", "shortDescription": "This web part demonstrates how to use PnPJS with SharePoint Framework and how to query Microsoft Graph with PnPJS. It requests a list of Azure AD groups at your tenant and shows them using Office UI Fabric React list.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-graph-pnpjs", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-graph-pnpjs", "longDescription": [ "This web part demonstrates how to use PnPJS with SharePoint Framework and how to query Microsoft Graph with PnPJS. It requests a list of Azure AD groups at your tenant and shows them using Office UI Fabric React list." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-graph-pnpjs/assets/summary.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-graph-pnpjs/assets/summary.png", "alt": "Using PnPJS with MS Graph" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-graph-pnpjs/assets/approve-request.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-graph-pnpjs/assets/approve-request.png?raw=true", "alt": "Using PnPJS with MS Graph" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-graph-pnpjs/assets/approve.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-graph-pnpjs/assets/approve.png?raw=true", "alt": "Using PnPJS with MS Graph" } ], @@ -61,4 +61,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-graph-reports/assets/sample.json b/samples/react-graph-reports/assets/sample.json index d8d9b7acf..bb8791ad2 100644 --- a/samples/react-graph-reports/assets/sample.json +++ b/samples/react-graph-reports/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Graph Usage Reports", "shortDescription": "This sample describe a SPFX application which retrieves an office 365 usage reports using Microsoft Graph API. This application also use chartjs library to generate graph.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-graph-reports", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-graph-reports", "longDescription": [ "This sample describe a SPFX application which retrieves an office 365 usage reports using Microsoft Graph API. This application also use chartjs library to generate graph." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-graph-reports/assets/react-graph-reports.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-graph-reports/assets/react-graph-reports.gif", "alt": "Graph Usage Reports" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-graph-reports/assets/graph-api-permissions-usage-reports.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-graph-reports/assets/graph-api-permissions-usage-reports.png?raw=true", "alt": "Graph Usage Reports" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-graph-schema-extensions/assets/sample.json b/samples/react-graph-schema-extensions/assets/sample.json index 6bb592d3d..9eca727e9 100644 --- a/samples/react-graph-schema-extensions/assets/sample.json +++ b/samples/react-graph-schema-extensions/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Read / update MS Graph Custom Schema Extensions", "shortDescription": "This sample shows how read and update a custom Schema extension in MS Graph. It shows how to create a custom Schema extension in Graph to store custom data related to an Office 365 Group, and how we can read and update that data using an spfx web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-graph-schema-extensions", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-graph-schema-extensions", "longDescription": [ "This sample shows how read and update a custom Schema extension in MS Graph. It shows how to create a custom Schema extension in Graph to store custom data related to an Office 365 Group, and how we can read and update that data using an spfx web part." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-graph-schema-extensions/assets/webpart.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-graph-schema-extensions/assets/webpart.png", "alt": "Read / update MS Graph Custom Schema Extensions" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-graph-telephonedirectory/assets/sample.json b/samples/react-graph-telephonedirectory/assets/sample.json index e4d488f80..5b102563b 100644 --- a/samples/react-graph-telephonedirectory/assets/sample.json +++ b/samples/react-graph-telephonedirectory/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Telephone Directory using React, Ms Graph and SPFx", "shortDescription": "This is sample web part using SPFx and MSGraph to fetch the users information based on First Name, Last Name and Email Address. web part will fetch data from directory using Graph API and display in details list.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-graph-telephonedirectory", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-graph-telephonedirectory", "longDescription": [ "This is sample web part using SPFx and MSGraph to fetch the users information based on First Name, Last Name and Email Address. web part will fetch data from directory using Graph API and display in details list." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-graph-telephonedirectory/assets/Preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-graph-telephonedirectory/assets/Preview.gif", "alt": "Telephone Directory using React, Ms Graph and SPFx" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-graph-telephonedirectory/assets/Capture.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-graph-telephonedirectory/assets/Capture.PNG?raw=true", "alt": "Telephone Directory using React, Ms Graph and SPFx" } ], @@ -62,4 +62,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-hooks/assets/sample.json b/samples/react-hooks/assets/sample.json index 74b52eff4..b83def719 100644 --- a/samples/react-hooks/assets/sample.json +++ b/samples/react-hooks/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "React Hooks Form Web Part", "shortDescription": "The React Hooks web part is an example of how to implement Hooks in Spfx. Hooks is a new feature included in React version 16.8, with the new version of SharePoint Framework (SPFx) version 1.9.1 we can use them in our developments. In this example we are going to see the different types of hooks that are available and with the comparison of how this implementation can be done without the Hooks to be able to observe the benefits of using it.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-hooks", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-hooks", "longDescription": [ "The React Hooks web part is an example of how to implement Hooks in Spfx. Hooks is a new feature included in React version 16.8, with the new version of SharePoint Framework (SPFx) version 1.9.1 we can use them in our developments. In this example we are going to see the different types of hooks that are available and with the comparison of how this implementation can be done without the Hooks to be able to observe the benefits of using it." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-hooks/assets/webpart.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-hooks/assets/webpart.PNG", "alt": "React Hooks Form Web Part" } ], @@ -41,4 +41,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-image-editor/assets/sample.json b/samples/react-image-editor/assets/sample.json index 211529385..3781dc687 100644 --- a/samples/react-image-editor/assets/sample.json +++ b/samples/react-image-editor/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Image Editor", "shortDescription": "This solution contains an SPFx web part that shows an HTML Image Editor based on canvas and Office UI Fabric", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-image-editor", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-image-editor", "longDescription": [ "This solution contains an SPFx web part that shows an HTML Image Editor based on canvas and Office UI Fabric ", "Key features of the Editor", @@ -41,7 +41,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-image-editor/assets/react-image-editor.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-image-editor/assets/react-image-editor.gif", "alt": "React Image Editor Web part" } ], diff --git a/samples/react-image-gallery/assets/sample.json b/samples/react-image-gallery/assets/sample.json index 9de2bed1f..9949a104b 100644 --- a/samples/react-image-gallery/assets/sample.json +++ b/samples/react-image-gallery/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Filterable Image Gallery Web Part", "shortDescription": "This sample describe a SPFX application which implement an image gallery with taxonomy base filtering and typed search. This application also implement pagination.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-image-gallery", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-image-gallery", "longDescription": [ "This sample describe a SPFX application which implement an image gallery with taxonomy base filtering and typed search. This application also implement pagination." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-image-gallery/assets/image-gallery.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-image-gallery/assets/image-gallery.gif", "alt": "Filterable Image Gallery Web Part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-image-magnifier/assets/sample.json b/samples/react-image-magnifier/assets/sample.json index d10efdc41..308e29fcc 100644 --- a/samples/react-image-magnifier/assets/sample.json +++ b/samples/react-image-magnifier/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Image Magnifier", "shortDescription": "This web part allow to magnify an image, displaying a resolution more detailed through a lens.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-image-magnifier", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-image-magnifier", "longDescription": [ "This web part allow to magnify an image, displaying a resolution more detailed through a lens." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-image-magnifier/assets/spfx-react-image-magnifier.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-image-magnifier/assets/spfx-react-image-magnifier.gif", "alt": "Image Magnifier" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-image-slider-list-taxonomy-filter/assets/sample.json b/samples/react-image-slider-list-taxonomy-filter/assets/sample.json index 3b4c925c2..7d99392e7 100644 --- a/samples/react-image-slider-list-taxonomy-filter/assets/sample.json +++ b/samples/react-image-slider-list-taxonomy-filter/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Image Slider from Photo Gallery using Taxonomy Filter", "shortDescription": "This web part display the image in slider based on the filter of Taxonomy from Property panel. Images are stored in PhotoGallery and tagged with Taxonomy.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-image-slider-list-taxonomy-filter", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-image-slider-list-taxonomy-filter", "longDescription": [ "This web part display the image in slider based on the filter of Taxonomy from Property panel. Images are stored in PhotoGallery and tagged with Taxonomy." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-image-slider-list-taxonomy-filter/assets/ImageSlider.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-image-slider-list-taxonomy-filter/assets/ImageSlider.gif", "alt": "Image Slider from Photo Gallery using Taxonomy Filter" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-invitation-manager/assets/sample.json b/samples/react-invitation-manager/assets/sample.json index 3ad7b1971..05dcfcff7 100644 --- a/samples/react-invitation-manager/assets/sample.json +++ b/samples/react-invitation-manager/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Azure Active Directory invitation manager Graph API samples", "shortDescription": "Sample SharePoint Framework web parts built using React illustrating the possibility to use Graph API to invite external users into the Azure Active Directory.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-invitation-manager", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-invitation-manager", "longDescription": [ "Sample SharePoint Framework web parts built using React illustrating the possibility to use Graph API to invite external users into the Azure Active Directory." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-invitation-manager/assets/SPFx-Invitation-Manager.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-invitation-manager/assets/SPFx-Invitation-Manager.gif", "alt": "Azure Active Directory invitation manager Graph API samples" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-ioc-tests/README.md b/samples/react-ioc-tests/README.md index 5b73df0b5..61c155e31 100644 --- a/samples/react-ioc-tests/README.md +++ b/samples/react-ioc-tests/README.md @@ -60,7 +60,7 @@ This Web Part illustrates the following concepts on top of the SharePoint Framew ## References -https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-jest-testing +https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-jest-testing https://blog.velingeorgiev.com/unit-test-your-sharepoint-framework-solution-with-jest diff --git a/samples/react-ioc-tests/assets/sample.json b/samples/react-ioc-tests/assets/sample.json index 4f64e83cf..641926a64 100644 --- a/samples/react-ioc-tests/assets/sample.json +++ b/samples/react-ioc-tests/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "React Inversion Of Control Web Part with Unit Tests using Jest and Enzyme", "shortDescription": "This web part is provided as an example of implementing an IoC (Inversion of Control) pattern in the context of a SharePoint Framework web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-ioc-tests", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-ioc-tests", "longDescription": [ "This web part is provided as an example of implementing an IoC (Inversion of Control) pattern in the context of a SharePoint Framework web part." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-ioc-tests/assets/preview.jpg", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-ioc-tests/assets/preview.jpg", "alt": "React Inversion Of Control Web Part with Unit Tests using Jest and Enzyme" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-item-History/assets/sample.json b/samples/react-item-History/assets/sample.json index 970b12c8f..e569c3894 100644 --- a/samples/react-item-History/assets/sample.json +++ b/samples/react-item-History/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Item History", "shortDescription": "This listview command is used to show the past versions of the selected list item in a grid.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-item-History", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-item-History", "longDescription": [ "This listview command is used to show the past versions of the selected list item in a grid." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-item-History/Capture.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-item-History/Capture.PNG", "alt": "Item History" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-jest-testing/assets/sample.json b/samples/react-jest-testing/assets/sample.json index 9c656ddfe..c99be5af6 100644 --- a/samples/react-jest-testing/assets/sample.json +++ b/samples/react-jest-testing/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "React Jest Testing sample", "shortDescription": "This sample uses the popular Jest Testing Framework with a SPFx client side solution. It is a SPFx-Jest-Enzyme-Sinon starter kit so you can start writing and debugging unit tests in typescript for your SPFx solution. The setup includes unit tests examples, code coverage reports in different formats, visual studio code unit test debug configurations for typescript, setting a coverage threshold (gates) for continuous integration and continuous deployment scenarios.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-jest-testing", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-jest-testing", "longDescription": [ "This sample uses the popular Jest Testing Framework with a SPFx client side solution. It is a SPFx-Jest-Enzyme-Sinon starter kit so you can start writing and debugging unit tests in typescript for your SPFx solution. The setup includes unit tests examples, code coverage reports in different formats, visual studio code unit test debug configurations for typescript, setting a coverage threshold (gates) for continuous integration and continuous deployment scenarios." ], @@ -28,187 +28,187 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-jest-testing/assets/Jest-Typescript-VSCode-debugging.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-jest-testing/assets/Jest-Typescript-VSCode-debugging.png", "alt": "React Jest Testing sample" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-add-artifacts-to-release.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-add-artifacts-to-release.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-add-job.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-add-job.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-add-release-task.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-add-release-task.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-all-build-steps-done.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-all-build-steps-done.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-appcatalog.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-appcatalog.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-bash-args.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-bash-args.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-bash.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-bash.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-change-name.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-change-name.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-ci-enabled.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-ci-enabled.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 110, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-edit-build.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-edit-build.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 111, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-edit-continious.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-edit-continious.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 112, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-goto-build.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-goto-build.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 113, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-goto-buld.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-goto-buld.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 114, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-new-project.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-new-project.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 115, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-new-release.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-new-release.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 116, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-node.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-node.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 117, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-node8.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-node8.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 118, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-office365cli-script.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-office365cli-script.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 119, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-overview.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-overview.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 120, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-repo-config.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-repo-config.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 121, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-repos.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-repos.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 122, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-select-repo.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-select-repo.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 123, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-select-template.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-select-template.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 124, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-spfx.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-spfx.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 125, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-success.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-success.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 126, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-suggest.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-suggest.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 127, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-ubuntu.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-ubuntu.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 128, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-vars.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github-vars.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 129, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/config-Azure-Pipelines-in-Github.PNG?raw=true", "alt": "React Jest Testing sample" }, { "type": "image", "order": 130, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-jest-testing/assets/SPFx-jest-coverage.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-jest-testing/assets/SPFx-jest-coverage.png?raw=true", "alt": "React Jest Testing sample" } ], @@ -228,4 +228,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-jest-testing/devops/README.md b/samples/react-jest-testing/devops/README.md index 6ead8e062..d59e274e5 100644 --- a/samples/react-jest-testing/devops/README.md +++ b/samples/react-jest-testing/devops/README.md @@ -12,7 +12,7 @@ The example has build and release scripts that can be used with Github as well a ## Build definition -The build folder has two build definitions. The PRE-BUILD definition ("azure-pipelines-pre-build.yml") is to be run before the code goes to the master branch to verify that the code will not break the existing branch. The BUILD definition ("azure-pipelines-build.yaml") is to be run after the new code is merged into the master branch. +The build folder has two build definitions. The PRE-BUILD definition ("azure-pipelines-pre-build.yml") is to be run before the code goes to the main branch to verify that the code will not break the existing branch. The BUILD definition ("azure-pipelines-build.yaml") is to be run after the new code is merged into the main branch. ## Release definitions @@ -51,7 +51,7 @@ There is a good article on how to do that here: https://blog.github.com/2018-09 ![Config Azure Pipelines repo config](../assets/config-Azure-Pipelines-in-Github-suggest.PNG) -8. Click save and run to test the template using the master branch. +8. Click save and run to test the template using the main branch. Note: We will replace the default suggested template with one that already exists in the sample to speed up the guide. @@ -111,7 +111,7 @@ Once you agree with the consent you can use it in the Release pipeline. ![Config Azure Pipelines repo config](../assets/config-Azure-Pipelines-in-Github-spfx.PNG) Note: The source alias ("_SPFx build") can be changed to any name, but the bash script later is using that one this is why for this specific example we use that specific name. -4. Enable the releace pipeline to be triggered every time new code is pushed to the master branch. +4. Enable the releace pipeline to be triggered every time new code is pushed to the main branch. ![Config Azure Pipelines repo config](../assets/config-Azure-Pipelines-in-Github-edit-continious.PNG) ![Config Azure Pipelines repo config](../assets/config-Azure-Pipelines-in-Github-ci-enabled.PNG) @@ -172,9 +172,9 @@ Note: You can use password like fields to hide sensitive or secret values. ## Now we should be good to go -The next code merged with the master branch in Github should trigger the fully automated devops pipeline and deploy that built package all the way to the SharePoint online app catalog. +The next code merged with the main branch in Github should trigger the fully automated devops pipeline and deploy that built package all the way to the SharePoint online app catalog. -Here is the releace pipeline executed successfully and also the sppkg file deployed to the app catalog. +Here is the release pipeline executed successfully and also the sppkg file deployed to the app catalog. ![Config Azure Pipelines repo config](../assets/config-Azure-Pipelines-in-Github-success.PNG) ![Config Azure Pipelines repo config](../assets/config-Azure-Pipelines-in-Github-appcatalog.PNG) diff --git a/samples/react-kanban-board/assets/sample.json b/samples/react-kanban-board/assets/sample.json index 60732d60d..214294eea 100644 --- a/samples/react-kanban-board/assets/sample.json +++ b/samples/react-kanban-board/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Kanban Board Web part", "shortDescription": "This solution contains an SPFx web part which shows a Kanban board using jqxKanban ReactJS component (from JQWidgets). The web part uses the default columns of the SharePoint Tasks list for showing the board\u0027s columns and the tasks.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-kanban-board", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-kanban-board", "longDescription": [ "This solution contains an SPFx web part which shows a Kanban board using jqxKanban ReactJS component (from JQWidgets). The web part uses the default columns of the SharePoint Tasks list for showing the board\u0027s columns and the tasks." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-kanban-board/assets/kanbanofficeUI.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-kanban-board/assets/kanbanofficeUI.gif", "alt": "Kanban Board Web part" } ], @@ -72,4 +72,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-links/README.md b/samples/react-links/README.md index 2f088b9a8..d8bed227f 100644 --- a/samples/react-links/README.md +++ b/samples/react-links/README.md @@ -47,9 +47,9 @@ Configurable properties for each collection row within the `collectionData` coll # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part does not have external dependencies. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part does not have external dependencies. # Screenshots @@ -57,7 +57,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/links +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/links # Minimal Path to Awesome diff --git a/samples/react-links/assets/sample.json b/samples/react-links/assets/sample.json index 55ed48d13..9e94f35f5 100644 --- a/samples/react-links/assets/sample.json +++ b/samples/react-links/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Links web part", "shortDescription": "This web part provides you the ability to add a per instance listing of links with the ability to group sets of links. Links are stored as a collection of links within the web part\u0027s properties, removing the need for link storage within SharePoint lists, tenant properties, or other external link storage requirements.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-links", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-links", "longDescription": [ "This web part provides you the ability to add a per instance listing of links with the ability to group sets of links. Links are stored as a collection of links within the web part\u0027s properties, removing the need for link storage within SharePoint lists, tenant properties, or other external link storage requirements." ], diff --git a/samples/react-list-form/assets/sample.json b/samples/react-list-form/assets/sample.json index 4b017b1b9..bc6f5f984 100644 --- a/samples/react-list-form/assets/sample.json +++ b/samples/react-list-form/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "List Form Web Part", "shortDescription": "The React List Form web part is a web part for adding a list form to any page. It provides a working example of implementing generic SharePoint list forms using the SharePoint Framework (SPFx) and the React and Office UI Fabric libraries.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-list-form", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-list-form", "longDescription": [ "The React List Form web part is a web part for adding a list form to any page. It provides a working example of implementing generic SharePoint list forms using the SharePoint Framework (SPFx) and the React and Office UI Fabric libraries." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-list-form/assets/React-ListForm-Overview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-list-form/assets/React-ListForm-Overview.gif", "alt": "List Form Web Part" } ], @@ -82,4 +82,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-list-items-menu/assets/sample.json b/samples/react-list-items-menu/assets/sample.json index 9b18df381..18297b732 100644 --- a/samples/react-list-items-menu/assets/sample.json +++ b/samples/react-list-items-menu/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "List Items Menu", "shortDescription": "Allows user create a navigation menu , grouped by any column of document library. When the user clicks on the header it dynamically load documents.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-list-items-menu", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-list-items-menu", "longDescription": [ "Allows user create a navigation menu , grouped by any column of document library. When the user clicks on the header it dynamically load documents." ], @@ -40,25 +40,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-list-items-menu/assets/ListMenuDocs.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-list-items-menu/assets/ListMenuDocs.gif", "alt": "List Items Menu" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-list-items-menu/assets/reactListItems1.JPG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-list-items-menu/assets/reactListItems1.JPG?raw=true", "alt": "List Items Menu" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-list-items-menu/assets/reactListItems2.JPG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-list-items-menu/assets/reactListItems2.JPG?raw=true", "alt": "List Items Menu" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-list-items-menu/assets/reactListItems3.JPG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-list-items-menu/assets/reactListItems3.JPG?raw=true", "alt": "List Items Menu" } ], @@ -89,4 +89,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-list-search/assets/sample.json b/samples/react-list-search/assets/sample.json index bde847259..70c7e42f3 100644 --- a/samples/react-list-search/assets/sample.json +++ b/samples/react-list-search/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "List Search", "shortDescription": "This list search web part allows the user to show data from lists or libraries.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-list-search", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-list-search", "longDescription": [ "This list search web part allows the user to show data from lists or libraries." ], @@ -32,49 +32,49 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-list-search/assets/differentSources.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-list-search/assets/differentSources.gif", "alt": "List Search" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-list-search/assets/docInModal.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-list-search/assets/docInModal.gif?raw=true", "alt": "List Search" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-list-search/assets/docInNewTab.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-list-search/assets/docInNewTab.gif?raw=true", "alt": "List Search" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-list-search/assets/dynamicData.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-list-search/assets/dynamicData.gif?raw=true", "alt": "List Search" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-list-search/assets/itemCurrentData.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-list-search/assets/itemCurrentData.gif?raw=true", "alt": "List Search" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-list-search/assets/itemSelectedData.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-list-search/assets/itemSelectedData.gif?raw=true", "alt": "List Search" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-list-search/assets/redirectToUrl.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-list-search/assets/redirectToUrl.gif?raw=true", "alt": "List Search" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-list-search/assets/selectFieldRenderType.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-list-search/assets/selectFieldRenderType.gif?raw=true", "alt": "List Search" } ], diff --git a/samples/react-lob-integration/README.md b/samples/react-lob-integration/README.md index 2428107da..f50f323a0 100644 --- a/samples/react-lob-integration/README.md +++ b/samples/react-lob-integration/README.md @@ -1,6 +1,6 @@ # LOB Integration webpart -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/lobIntegration. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/lobIntegration. This web part allows you to learn how to consume 3rd party APIs, secured with Azure Active Directory, in the context of SharePoint Framework. @@ -67,9 +67,9 @@ The `LobIntegration` web part can be configured with the following properties: # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part does not have external dependencies. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part does not have external dependencies. # Screenshots ![Links](https://github.com/pnp/sp-starter-kit/raw/master/assets/images/components/part-lob-integration.png) @@ -77,7 +77,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/lobIntegration +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/lobIntegration # Minimal Path to Awesome diff --git a/samples/react-lob-integration/assets/sample.json b/samples/react-lob-integration/assets/sample.json index 76993b128..550ae6a46 100644 --- a/samples/react-lob-integration/assets/sample.json +++ b/samples/react-lob-integration/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "LOB Integration web part", "shortDescription": "This web part allows you to learn how to consume 3rd party APIs, secured with Azure Active Directory, in the context of SharePoint Framework.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-lob-integration", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-lob-integration", "longDescription": [ "This web part allows you to learn how to consume 3rd party APIs, secured with Azure Active Directory, in the context of SharePoint Framework." ], diff --git a/samples/react-manage-o365-groups/assets/sample.json b/samples/react-manage-o365-groups/assets/sample.json index 98587b597..724152825 100644 --- a/samples/react-manage-o365-groups/assets/sample.json +++ b/samples/react-manage-o365-groups/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Manage Office 365 Groups with SPFx", "shortDescription": "Office 365 Groups is the foundational membership service, that drives all teamwork across Microsoft 365. Once in a group, we can get the benefits of the group-connected services like shared Outlook inbox, shared calendar, SharePoint site, Planner, Power BI, Yammer, and Teams.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-manage-o365-groups", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-manage-o365-groups", "longDescription": [ "Office 365 Groups is the foundational membership service, that drives all teamwork across Microsoft 365. Once in a group, we can get the benefits of the group-connected services like shared Outlook inbox, shared calendar, SharePoint site, Planner, Power BI, Yammer, and Teams." ], @@ -28,49 +28,49 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-manage-o365-groups/assets/web-part-preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-manage-o365-groups/assets/web-part-preview.gif", "alt": "Manage Office 365 Groups with SPFx" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-o365-groups/assets/approve-request.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-o365-groups/assets/approve-request.gif?raw=true", "alt": "Manage Office 365 Groups with SPFx" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-o365-groups/assets/group-listing-search.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-o365-groups/assets/group-listing-search.gif?raw=true", "alt": "Manage Office 365 Groups with SPFx" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-o365-groups/assets/join-group.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-o365-groups/assets/join-group.gif?raw=true", "alt": "Manage Office 365 Groups with SPFx" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-o365-groups/assets/join-private-group.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-o365-groups/assets/join-private-group.gif?raw=true", "alt": "Manage Office 365 Groups with SPFx" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-o365-groups/assets/leave-group.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-o365-groups/assets/leave-group.gif?raw=true", "alt": "Manage Office 365 Groups with SPFx" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-o365-groups/assets/new-group.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-o365-groups/assets/new-group.gif?raw=true", "alt": "Manage Office 365 Groups with SPFx" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-o365-groups/assets/pending-permission-requests.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-o365-groups/assets/pending-permission-requests.png?raw=true", "alt": "Manage Office 365 Groups with SPFx" } ], @@ -98,4 +98,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-manage-profile-card-properties/assets/sample.json b/samples/react-manage-profile-card-properties/assets/sample.json index af1799e7d..834d1958a 100644 --- a/samples/react-manage-profile-card-properties/assets/sample.json +++ b/samples/react-manage-profile-card-properties/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Manage Profile Card Properties", "shortDescription": "This web part allows tenant administrators to manage profile card properties.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-manage-profile-card-properties", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-manage-profile-card-properties", "longDescription": [ "This web part allows tenant administrators to manage profile card properties." ], @@ -40,31 +40,31 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-manage-profile-card-properties/assets/Screenshot5.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-manage-profile-card-properties/assets/Screenshot5.png", "alt": "Manage Profile Card Properties" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-profile-card-properties/assets/Screenshot1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-profile-card-properties/assets/Screenshot1.png?raw=true", "alt": "Manage Profile Card Properties" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-profile-card-properties/assets/Screenshot2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-profile-card-properties/assets/Screenshot2.png?raw=true", "alt": "Manage Profile Card Properties" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-profile-card-properties/assets/Screenshot3.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-profile-card-properties/assets/Screenshot3.png?raw=true", "alt": "Manage Profile Card Properties" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-profile-card-properties/assets/Screenshot4.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-profile-card-properties/assets/Screenshot4.png?raw=true", "alt": "Manage Profile Card Properties" } ], @@ -95,4 +95,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-manage-sitedesigns/assets/sample.json b/samples/react-manage-sitedesigns/assets/sample.json index e56eba1e1..c2c03f5c3 100644 --- a/samples/react-manage-sitedesigns/assets/sample.json +++ b/samples/react-manage-sitedesigns/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Site Designs Manager", "shortDescription": "This web part allows tenant administrators to manage site designs through a graphical interface.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-manage-sitedesigns", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-manage-sitedesigns", "longDescription": [ "This web part allows tenant administrators to manage site designs through a graphical interface." ], @@ -34,103 +34,103 @@ { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen10.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen10.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen11.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen11.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen12.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen12.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen13.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen13.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen14.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen14.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen15.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen15.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen16.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen16.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen17.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen17.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen2.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen2.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 110, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen3.1.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen3.1.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 111, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen3.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen3.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 112, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen4.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen4.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 113, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen5.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen5.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 114, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen6.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen6.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 115, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen7.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen7.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 116, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen8.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen8.jpg?raw=true", "alt": "Site Designs Manager" }, { "type": "image", "order": 117, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-sitedesigns/assets/screen9.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-sitedesigns/assets/screen9.jpg?raw=true", "alt": "Site Designs Manager" } ], @@ -151,4 +151,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-manage-spfx-solutions-alm/assets/sample.json b/samples/react-manage-spfx-solutions-alm/assets/sample.json index c02ad3230..f04668272 100644 --- a/samples/react-manage-spfx-solutions-alm/assets/sample.json +++ b/samples/react-manage-spfx-solutions-alm/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Manage SPFx solution using ALM APIs", "shortDescription": "This web part acts as a centralized place where admin can manage SPFx solutions present in their tenant using Application lifecycle Management(ALM) APIs and perform activities like Add, Deploy, Install, Retract, Uninstall \u0026 Remove apps.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-manage-spfx-solutions-alm", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-manage-spfx-solutions-alm", "longDescription": [ "This web part acts as a centralized place where admin can manage SPFx solutions present in their tenant using Application lifecycle Management(ALM) APIs and perform activities like Add, Deploy, Install, Retract, Uninstall \u0026 Remove apps." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-manage-spfx-solutions-alm/assets/SPFxALM.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-manage-spfx-solutions-alm/assets/SPFxALM.gif", "alt": "Manage SPFx solution using ALM APIs" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-manage-spfx-solutions-alm/assets/SPFxALMSPAppcatalog.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-manage-spfx-solutions-alm/assets/SPFxALMSPAppcatalog.gif?raw=true", "alt": "Manage SPFx solution using ALM APIs" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-material-ui/assets/sample.json b/samples/react-material-ui/assets/sample.json index 03182f582..5a28dd77d 100644 --- a/samples/react-material-ui/assets/sample.json +++ b/samples/react-material-ui/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Material UI", "shortDescription": "This sample shows how you can use Material UI components in your SharePoint Framework solution. In this sample you will find some of the Material UI components like Table, Dialog, Text Field and Icon. This sample also includes RXJS DebounceTime, this feature allows you to wait for a certain amount of time before make requests to the server while user is typing to prevent to make requests for each character.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-material-ui", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-material-ui", "longDescription": [ "This sample shows how you can use Material UI components in your SharePoint Framework solution. In this sample you will find some of the Material UI components like Table, Dialog, Text Field and Icon. This sample also includes RXJS DebounceTime, this feature allows you to wait for a certain amount of time before make requests to the server while user is typing to prevent to make requests for each character." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-material-ui/assets/screenshot.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-material-ui/assets/screenshot.gif", "alt": "Material UI" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-members-with-presence/assets/sample.json b/samples/react-members-with-presence/assets/sample.json index 1d21f1576..cdc259274 100644 --- a/samples/react-members-with-presence/assets/sample.json +++ b/samples/react-members-with-presence/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Group members list with Presence information", "shortDescription": "This sample shows how to get the members of a specific group, including their presence information (using the new Presence endpoint in the MS Graph API).", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-members-with-presence", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-members-with-presence", "longDescription": [ "This sample shows how to get the members of a specific group, including their presence information (using the new Presence endpoint in the MS Graph API)." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-members-with-presence/assets/react-members-with-presence.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-members-with-presence/assets/react-members-with-presence.gif", "alt": "Group members list with Presence information" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-mgtEvents/assets/sample.json b/samples/react-mgtEvents/assets/sample.json index 896776953..9052f6287 100644 --- a/samples/react-mgtEvents/assets/sample.json +++ b/samples/react-mgtEvents/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "MGT Events", "shortDescription": "This sample shows how to use Microsoft Graph Toolkit in SPFx and custom with Fluent UI Fabric Controls", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-mgtEvents", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-mgtEvents", "longDescription": [ "This sample shows how to use Microsoft Graph Toolkit in SPFx and custom with Fluent UI Fabric Controls" ], @@ -44,7 +44,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-mgtEvents/assets/mhtEvents.JPG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-mgtEvents/assets/mhtEvents.JPG", "alt": "MGT Events" } ], @@ -80,4 +80,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-minesweeper/assets/sample.json b/samples/react-minesweeper/assets/sample.json index 8de2054bc..73b2cf121 100644 --- a/samples/react-minesweeper/assets/sample.json +++ b/samples/react-minesweeper/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Minesweeper", "shortDescription": "This web part is the classic game Minesweeper, put in a Fluent UI powered SPFx web part!.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-minesweeper", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-minesweeper", "longDescription": [ "This web part is the classic game Minesweeper, put in a Fluent UI powered SPFx web part!." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-minesweeper/assets/Minesweeper.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-minesweeper/assets/Minesweeper.gif", "alt": "Minesweeper" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-mobx-multiple-stores/README.md b/samples/react-mobx-multiple-stores/README.md index 7eca862b8..b4ad01c0b 100644 --- a/samples/react-mobx-multiple-stores/README.md +++ b/samples/react-mobx-multiple-stores/README.md @@ -13,7 +13,7 @@ A sample web part that uses the [Mobx](https://mobx.js.org/) library with multip ## Applies to * [SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/sharepoint-framework-overview) -* [SharePoint Framework Web part Samples](https://github.com/SharePoint/sp-dev-fx-webparts) +* [SharePoint Framework Web part Samples](https://github.com/pnp/sp-dev-fx-webparts) * [Office 365 developer tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-developer-tenant) ## Solution @@ -37,7 +37,7 @@ Version|Date|Comments ## Minimal Path to Awesome ```sh -$ git clone https://github.com/SharePoint/sp-dev-fx-webparts +$ git clone https://github.com/pnp/sp-dev-fx-webparts $ cd sp-dev-fx-webparts/samples/react-mobx-multiple-stores $ npm install $ gulp serve diff --git a/samples/react-mobx-multiple-stores/assets/sample.json b/samples/react-mobx-multiple-stores/assets/sample.json index 01bae009a..42c48b632 100644 --- a/samples/react-mobx-multiple-stores/assets/sample.json +++ b/samples/react-mobx-multiple-stores/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Using multiple stores with React and Mobx", "shortDescription": "A sample web part that uses the Mobx library with multiple stores to keep track of the applications state.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-mobx-multiple-stores", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-mobx-multiple-stores", "longDescription": [ "A sample web part that uses the Mobx library with multiple stores to keep track of the applications state." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-mobx-multiple-stores/assets/demo.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-mobx-multiple-stores/assets/demo.gif", "alt": "Using multiple stores with React and Mobx" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-mobx/README.md b/samples/react-mobx/README.md index 3229539e2..99115ff85 100644 --- a/samples/react-mobx/README.md +++ b/samples/react-mobx/README.md @@ -53,7 +53,7 @@ Version|Date|Comments ## Minimal Path to Awesome ```sh -$ git clone https://github.com/SharePoint/sp-dev-fx-webparts +$ git clone https://github.com/pnp/sp-dev-fx-webparts $ cd sp-dev-fx-webparts/samples/react-mobx $ npm install $ gulp serve diff --git a/samples/react-mobx/assets/sample.json b/samples/react-mobx/assets/sample.json index 4ccaa4f6e..b2a6df476 100644 --- a/samples/react-mobx/assets/sample.json +++ b/samples/react-mobx/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Using React and Mobx", "shortDescription": "Sample web part implementation that uses Mobx to keep track of its state.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-mobx", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-mobx", "longDescription": [ "Sample web part implementation that uses Mobx to keep track of its state." ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-modern-charts/assets/sample.json b/samples/react-modern-charts/assets/sample.json index 5b4f7e672..42dd7ba20 100644 --- a/samples/react-modern-charts/assets/sample.json +++ b/samples/react-modern-charts/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Modern Charts", "shortDescription": "This web part uses the Chart.js library to visualize SharePoint list data.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-modern-charts", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-modern-charts", "longDescription": [ "This web part uses the Chart.js library to visualize SharePoint list data." ], @@ -34,13 +34,13 @@ { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-modern-charts/assets/Modern-Charts.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-modern-charts/assets/Modern-Charts.gif?raw=true", "alt": "Modern Charts" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-modern-charts/assets/modern-charts.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-modern-charts/assets/modern-charts.png?raw=true", "alt": "Modern Charts" } ], @@ -67,4 +67,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-modern-organization-chart/assets/sample.json b/samples/react-modern-organization-chart/assets/sample.json index 8cd1970d1..bcfbcb6c8 100644 --- a/samples/react-modern-organization-chart/assets/sample.json +++ b/samples/react-modern-organization-chart/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Modern Organization Chart", "shortDescription": "This web part show organization chart for current user, shows, managers and direct reports and there available status.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-modern-organization-chart", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-modern-organization-chart", "longDescription": [ "This web part show organization chart for current user, shows, managers and direct reports and there available status." ], @@ -36,13 +36,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-modern-organization-chart/assets/Screenshot1.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-modern-organization-chart/assets/Screenshot1.png", "alt": "Modern Organization Chart" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-modern-organization-chart/assets/Screenshot2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-modern-organization-chart/assets/Screenshot2.png?raw=true", "alt": "Modern Organization Chart" } ], @@ -73,4 +73,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-msal-msgraph/assets/sample.json b/samples/react-msal-msgraph/assets/sample.json index 088a38195..4f346f0a2 100644 --- a/samples/react-msal-msgraph/assets/sample.json +++ b/samples/react-msal-msgraph/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Microsoft Authentication Library (MSAL JS) authentication sample", "shortDescription": "", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-msal-msgraph", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-msal-msgraph", "longDescription": [ "" ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-msal-msgraph/assets/msal-wp-output.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-msal-msgraph/assets/msal-wp-output.png", "alt": "Microsoft Authentication Library (MSAL JS) authentication sample" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-msal-msgraph/assets/permission-scopes.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-msal-msgraph/assets/permission-scopes.png?raw=true", "alt": "Microsoft Authentication Library (MSAL JS) authentication sample" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-msal-msgraph/assets/redirect-url.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-msal-msgraph/assets/redirect-url.png?raw=true", "alt": "Microsoft Authentication Library (MSAL JS) authentication sample" } ], @@ -61,4 +61,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-msgraph-extension/assets/sample.json b/samples/react-msgraph-extension/assets/sample.json index 0cd082011..87f8832e9 100644 --- a/samples/react-msgraph-extension/assets/sample.json +++ b/samples/react-msgraph-extension/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Manage Microsoft Graph Open Extension in SPFx", "shortDescription": "This sample shows how to managed Microsoft Graph Open Extension in SPFX. This application uses User Resource to create Open Extension.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-msgraph-extension", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-msgraph-extension", "longDescription": [ "This sample shows how to managed Microsoft Graph Open Extension in SPFX. This application uses User Resource to create Open Extension." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-msgraph-extension/assets/create-graph-extension.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-msgraph-extension/assets/create-graph-extension.png", "alt": "Manage Microsoft Graph Open Extension in SPFx" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-msgraph-extension/assets/get-graph-extension.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-msgraph-extension/assets/get-graph-extension.png?raw=true", "alt": "Manage Microsoft Graph Open Extension in SPFx" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-msgraph-extension/assets/graph-extension-user-permissions.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-msgraph-extension/assets/graph-extension-user-permissions.png?raw=true", "alt": "Manage Microsoft Graph Open Extension in SPFx" } ], @@ -61,4 +61,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-msgraph-peoplesearch/README.md b/samples/react-msgraph-peoplesearch/README.md index ffd434e1c..c4076b0f2 100644 --- a/samples/react-msgraph-peoplesearch/README.md +++ b/samples/react-msgraph-peoplesearch/README.md @@ -66,7 +66,7 @@ o365 spo serviceprincipal grant add --resource 'Microsoft Graph' --scope 'User.R There are many web parts that aim to do the same thing, but they either use SharePoint Search as data store or they render their results in a completely different way. It's impossible to acknowledge all sources of inspiration to this solution, but I do want to give a shout out to two projects (and their contributors) that were foundational to deliver this solution as quickly as I did: ### React Directory Web Part -The foundation on which I started building my own solution. This web part can be downloaded from the [SharePoint Framework Client-Side Web Part Samples & Tutorial Materials](https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-directory) +The foundation on which I started building my own solution. This web part can be downloaded from the [SharePoint Framework Client-Side Web Part Samples & Tutorial Materials](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-directory) #### Thanks to - João Mendes ([@joaojmendes](https://twitter.com/joaojmendes)) diff --git a/samples/react-msgraph-peoplesearch/assets/sample.json b/samples/react-msgraph-peoplesearch/assets/sample.json index 3f336c865..b5be977cc 100644 --- a/samples/react-msgraph-peoplesearch/assets/sample.json +++ b/samples/react-msgraph-peoplesearch/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Microsoft Graph People Search Web Part", "shortDescription": "Show and search users from your organization, through Microsoft Graph. Search results show as a nice People Card, and display the Live Persona Card on hover.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-msgraph-peoplesearch", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-msgraph-peoplesearch", "longDescription": [ "Show and search users from your organization, through Microsoft Graph. Search results show as a nice People Card, and display the Live Persona Card on hover." ], @@ -36,13 +36,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-msgraph-peoplesearch/assets/MicrosoftGraphPeopleSearch.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-msgraph-peoplesearch/assets/MicrosoftGraphPeopleSearch.gif", "alt": "Microsoft Graph People Search Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-msgraph-peoplesearch/assets/MicrosoftGraphPeopleSearch-LPC.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-msgraph-peoplesearch/assets/MicrosoftGraphPeopleSearch-LPC.gif?raw=true", "alt": "Microsoft Graph People Search Web Part" } ], @@ -73,4 +73,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-multilist-grid/assets/sample.json b/samples/react-multilist-grid/assets/sample.json index 364f263ed..3f9cdd9ef 100644 --- a/samples/react-multilist-grid/assets/sample.json +++ b/samples/react-multilist-grid/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Multi-list Grid", "shortDescription": "React-multilist-grid is an SPFX web part that uses React, Office-UI-Fabric, and Redux to let users edit list data from lists that reside in multiple webs and multiple sites in a single grid, similar to Quick Edit mode. The lists do not to be of the same type \u2013 you just need to create column mappings to tell the web part which fields to show in which columns of the grid.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-multilist-grid", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-multilist-grid", "longDescription": [ "React-multilist-grid is an SPFX web part that uses React, Office-UI-Fabric, and Redux to let users edit list data from lists that reside in multiple webs and multiple sites in a single grid, similar to Quick Edit mode. The lists do not to be of the same type \u2013 you just need to create column mappings to tell the web part which fields to show in which columns of the grid." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-multilist-grid/src/images/ColumnTypes.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-multilist-grid/src/images/ColumnTypes.PNG", "alt": "Multi-list Grid" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-multimedia-gallery/assets/sample.json b/samples/react-multimedia-gallery/assets/sample.json index 99e6ff7db..5ce585195 100644 --- a/samples/react-multimedia-gallery/assets/sample.json +++ b/samples/react-multimedia-gallery/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Image Gallery", "shortDescription": "This web part show images and videos in responsive grid, on click it show images and videos in a carousel view.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-multimedia-gallery", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-multimedia-gallery", "longDescription": [ "This web part show images and videos in responsive grid, on click it show images and videos in a carousel view." ], @@ -32,37 +32,37 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-multimedia-gallery/assets/MultimediaGallery.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-multimedia-gallery/assets/MultimediaGallery.gif", "alt": "Image Gallery" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-multimedia-gallery/assets/Annotation0.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-multimedia-gallery/assets/Annotation0.jpg?raw=true", "alt": "Image Gallery" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-multimedia-gallery/assets/Annotation1.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-multimedia-gallery/assets/Annotation1.jpg?raw=true", "alt": "Image Gallery" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-multimedia-gallery/assets/Annotation2.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-multimedia-gallery/assets/Annotation2.jpg?raw=true", "alt": "Image Gallery" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-multimedia-gallery/assets/Screenshot1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-multimedia-gallery/assets/Screenshot1.png?raw=true", "alt": "Image Gallery" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-multimedia-gallery/assets/Screenshot2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-multimedia-gallery/assets/Screenshot2.png?raw=true", "alt": "Image Gallery" } ], @@ -101,4 +101,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-multipage/assets/sample.json b/samples/react-multipage/assets/sample.json index 5b64ad737..9bc2df4c4 100644 --- a/samples/react-multipage/assets/sample.json +++ b/samples/react-multipage/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Multi-page client-side web part", "shortDescription": "Sample SharePoint Framework client-side web parts built using React illustrating building multi-page web parts.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-multipage", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-multipage", "longDescription": [ "Sample SharePoint Framework client-side web parts built using React illustrating building multi-page web parts." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-multipage/assets/poll-preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-multipage/assets/poll-preview.gif", "alt": "Multi-page client-side web part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-multiscreen-webpart/assets/sample.json b/samples/react-multiscreen-webpart/assets/sample.json index c141fbda7..09392dd5a 100644 --- a/samples/react-multiscreen-webpart/assets/sample.json +++ b/samples/react-multiscreen-webpart/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Multi screen web part sample", "shortDescription": "This sample uses the popular React Router library to create tab, multi-screen or single page app (spa) experience in React SPFx web part. This is useful when the web part is more complex and to simplify the user experience multiple screens or tabs are needed. The same approach can be taken when a single page app (SPA) has to be migrated to modern SharePoint sites.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-multiscreen-webpart", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-multiscreen-webpart", "longDescription": [ "This sample uses the popular React Router library to create tab, multi-screen or single page app (spa) experience in React SPFx web part. This is useful when the web part is more complex and to simplify the user experience multiple screens or tabs are needed. The same approach can be taken when a single page app (SPA) has to be migrated to modern SharePoint sites." ], @@ -32,13 +32,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-multiscreen-webpart/assets/multi-screen-webpart.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-multiscreen-webpart/assets/multi-screen-webpart.gif", "alt": "Multi screen web part sample" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-multiscreen-webpart/assets/multi-screen-webpart-history.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-multiscreen-webpart/assets/multi-screen-webpart-history.gif?raw=true", "alt": "Multi screen web part sample" } ], @@ -63,4 +63,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-my-groups/assets/sample.json b/samples/react-my-groups/assets/sample.json index 756eac6aa..01d70f073 100644 --- a/samples/react-my-groups/assets/sample.json +++ b/samples/react-my-groups/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "My Groups", "shortDescription": "Using Microsoft Graph, this web part grabs the Office 365 groups the current user is a member of with links to the groups SharePoint site.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-my-groups", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-my-groups", "longDescription": [ "Using Microsoft Graph, this web part grabs the Office 365 groups the current user is a member of with links to the groups SharePoint site." ], @@ -28,25 +28,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-my-groups/assets/example.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-my-groups/assets/example.png", "alt": "My Groups" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-groups/assets/React-MyGroups_Compact.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-groups/assets/React-MyGroups_Compact.png?raw=true", "alt": "My Groups" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-groups/assets/React-MyGroups_Grid.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-groups/assets/React-MyGroups_Grid.png?raw=true", "alt": "My Groups" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-groups/assets/React-MyGroups_Property.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-groups/assets/React-MyGroups_Property.png?raw=true", "alt": "My Groups" } ], @@ -66,4 +66,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-my-personal-apps/assets/sample.json b/samples/react-my-personal-apps/assets/sample.json index 1aaa1575d..9e136829e 100644 --- a/samples/react-my-personal-apps/assets/sample.json +++ b/samples/react-my-personal-apps/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "My Personal Apps", "shortDescription": "The Web Part My Personal Apps allows the user to define links to Applications or Sites for quick access.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-my-personal-apps", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-my-personal-apps", "longDescription": [ "The Web Part My Personal Apps allows the user to define links to Applications or Sites for quick access." ], @@ -40,85 +40,85 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-my-personal-apps/assets/Image1.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-my-personal-apps/assets/Image1.png", "alt": "My Personal Apps" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/Image06.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/Image06.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/Image10.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/Image10.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/image11.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/image11.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/image12.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/image12.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/image13.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/image13.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/image14.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/image14.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/Image2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/Image2.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/Image3.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/Image3.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/Image4.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/Image4.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 110, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/Image5.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/Image5.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 111, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/Image7.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/Image7.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 112, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/Image8.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/Image8.png?raw=true", "alt": "My Personal Apps" }, { "type": "image", "order": 113, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-personal-apps/assets/Image9.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-personal-apps/assets/Image9.png?raw=true", "alt": "My Personal Apps" } ], diff --git a/samples/react-my-sites/assets/sample.json b/samples/react-my-sites/assets/sample.json index ab40731e2..a128eb6a1 100644 --- a/samples/react-my-sites/assets/sample.json +++ b/samples/react-my-sites/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "My Sites", "shortDescription": "This web part shows sites that user has permissions to access. It includes Office 365 Groups, OneDrive Sites, SharePoint Sites and App Sites created by SharePoint Add-ins.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-my-sites", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-my-sites", "longDescription": [ "This web part shows sites that user has permissions to access. It includes Office 365 Groups, OneDrive Sites, SharePoint Sites and App Sites created by SharePoint Add-ins." ], @@ -40,25 +40,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-my-sites/assets/MySites.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-my-sites/assets/MySites.gif", "alt": "My Sites" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-sites/assets/Screenshot 2020-08-06 at 13.50.51.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-sites/assets/Screenshot 2020-08-06 at 13.50.51.png?raw=true", "alt": "My Sites" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-sites/assets/Screenshot 2020-08-06 at 13.52.58.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-sites/assets/Screenshot 2020-08-06 at 13.52.58.png?raw=true", "alt": "My Sites" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-my-sites/assets/Screenshot 2020-08-06 at 14.17.35.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-my-sites/assets/Screenshot 2020-08-06 at 14.17.35.png?raw=true", "alt": "My Sites" } ], @@ -89,4 +89,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-my-teams/assets/sample.json b/samples/react-my-teams/assets/sample.json index 5522113c2..388103281 100644 --- a/samples/react-my-teams/assets/sample.json +++ b/samples/react-my-teams/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "My Teams", "shortDescription": "This sample uses Microsoft Graph to list the Teams the current user is a member of. When the user clicks on one of the teams, the web part retrieves information about the default channel (General) and opens it. The web part can be configured to open the team on the web browser or client app.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-my-teams", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-my-teams", "longDescription": [ "This sample uses Microsoft Graph to list the Teams the current user is a member of. When the user clicks on one of the teams, the web part retrieves information about the default channel (General) and opens it. The web part can be configured to open the team on the web browser or client app." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-my-teams/assets/Preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-my-teams/assets/Preview.png", "alt": "My Teams" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-mytasks/assets/sample.json b/samples/react-mytasks/assets/sample.json index 0898c5307..7fb920f23 100644 --- a/samples/react-mytasks/assets/sample.json +++ b/samples/react-mytasks/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "My Tasks Web Part", "shortDescription": "This web part allows user to manage planner tasks in SharePoint Site. The UI was inspired on Planner UI, it is full implemented with Office-UI-Fabric Components. Use MSGraph API\u0027s and PnPjs to data access. The user can search task by name, can filter by progress status, all data are dynamic updated on change..", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-mytasks", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-mytasks", "longDescription": [ "This web part allows user to manage planner tasks in SharePoint Site. The UI was inspired on Planner UI, it is full implemented with Office-UI-Fabric Components. Use MSGraph API\u0027s and PnPjs to data access. The user can search task by name, can filter by progress status, all data are dynamic updated on change.." ], @@ -38,97 +38,97 @@ { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/AddTask.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/AddTask.gif?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/EditTask.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/EditTask.gif?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen1.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen10.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen10.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen11.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen11.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen12.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen12.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen13.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen13.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 108, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/Screen14.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/Screen14.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 109, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen2.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 110, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen3.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen3.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 111, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen4.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen4.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 112, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen5.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen5.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 113, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen6.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen6.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 114, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen7.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen7.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 115, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen8.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen8.png?raw=true", "alt": "My Tasks Web Part" }, { "type": "image", "order": 116, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-mytasks/assets/screen9.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-mytasks/assets/screen9.png?raw=true", "alt": "My Tasks Web Part" } ], @@ -161,4 +161,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-officegraph/README.md b/samples/react-officegraph/README.md index 989a51082..c707428ac 100644 --- a/samples/react-officegraph/README.md +++ b/samples/react-officegraph/README.md @@ -19,7 +19,7 @@ extensions: # DEPRECATED: React & Office Graph Web Part samples > ## DEPRECATED -> This sample makes use of deprecated or otherwise outdated packages and will no longer work. See issue [#358](https://github.com/SharePoint/sp-dev-fx-webparts/issues/358) for more information. +> This sample makes use of deprecated or otherwise outdated packages and will no longer work. See issue [#358](https://github.com/pnp/sp-dev-fx-webparts/issues/358) for more information. ## Summary diff --git a/samples/react-officegraph/assets/sample.json b/samples/react-officegraph/assets/sample.json index bcfafc22c..99dcc8ab6 100644 --- a/samples/react-officegraph/assets/sample.json +++ b/samples/react-officegraph/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Office Graph Web Part samples", "shortDescription": "", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-officegraph", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-officegraph", "longDescription": [ "" ], @@ -28,25 +28,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-officegraph/assets/trendinginthissite-preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-officegraph/assets/trendinginthissite-preview.png", "alt": "Office Graph Web Part samples" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-officegraph/assets/my-recent-documents-preview.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-officegraph/assets/my-recent-documents-preview.png?raw=true", "alt": "Office Graph Web Part samples" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-officegraph/assets/trending-in-sites-i-follow-preview.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-officegraph/assets/trending-in-sites-i-follow-preview.png?raw=true", "alt": "Office Graph Web Part samples" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-officegraph/assets/working-with-preview.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-officegraph/assets/working-with-preview.png?raw=true", "alt": "Office Graph Web Part samples" } ], @@ -67,4 +67,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-offline-first/assets/sample.json b/samples/react-offline-first/assets/sample.json index 0aeddabaf..ffea771f7 100644 --- a/samples/react-offline-first/assets/sample.json +++ b/samples/react-offline-first/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Offline First Web part built using LocalForage, Whatwg-Fetch, ES6-Promise", "shortDescription": "Sample SharePoint Framework Client-Side Web Parts built using React showing interacting with the Office Graph.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-offline-first", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-offline-first", "longDescription": [ "Sample SharePoint Framework Client-Side Web Parts built using React showing interacting with the Office Graph." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-offline-first/assets/preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-offline-first/assets/preview.gif", "alt": "Offline First Web part built using LocalForage, Whatwg-Fetch, ES6-Promise" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-offline-first/assets/webpart-screenshot.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-offline-first/assets/webpart-screenshot.jpg?raw=true", "alt": "Offline First Web part built using LocalForage, Whatwg-Fetch, ES6-Promise" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-onedrive-finder/Assets/sample.json b/samples/react-onedrive-finder/Assets/sample.json index a61dba5ad..27dbfa7b4 100644 --- a/samples/react-onedrive-finder/Assets/sample.json +++ b/samples/react-onedrive-finder/Assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "OneDrive Finder", "shortDescription": "This sample access drives from OneDrive and navigate between his content using Graph OneDrive and Site API and Microsoft Graph Toolkit React controls with the addition of new FileList control.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-onedrive-finder", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-onedrive-finder", "longDescription": [ "This sample access drives from OneDrive and navigate between his content using Graph OneDrive and Site API and Microsoft Graph Toolkit React controls with the addition of new FileList control.", "This new control provides the ability to retrieve the Drive Library with associated Files and folders making easier to develop and navigate between tenant content and access to file. " @@ -29,19 +29,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-onedrive-finder/Assets/OneDrivefinderSample3.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-onedrive-finder/Assets/OneDrivefinderSample3.gif", "alt": "Web Part in action" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-onedrive-finder/Assets/OneDrivefinderSample1.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-onedrive-finder/Assets/OneDrivefinderSample1.PNG", "alt": "Web Part in action" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-onedrive-finder/Assets/OneDrivefinderSample2.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-onedrive-finder/Assets/OneDrivefinderSample2.PNG", "alt": "Web Part in action" } ], diff --git a/samples/react-organisationchart/assets/sample.json b/samples/react-organisationchart/assets/sample.json index b7a2f4b79..1c354dc9d 100644 --- a/samples/react-organisationchart/assets/sample.json +++ b/samples/react-organisationchart/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Organisation Chart", "shortDescription": "A simple Organisation Chart web part using Office UI Fabric, React, REST API batching and ServiceScope plumbing.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-organisationchart", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-organisationchart", "longDescription": [ "A simple Organisation Chart web part using Office UI Fabric, React, REST API batching and ServiceScope plumbing." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-organisationchart/assets/orgchart.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-organisationchart/assets/orgchart.png", "alt": "Organisation Chart" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-organisationchart/assets/orgchart-mock.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-organisationchart/assets/orgchart-mock.png?raw=true", "alt": "Organisation Chart" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-outlook-add-todo-task/assets/sample.json b/samples/react-outlook-add-todo-task/assets/sample.json index 7e8eb404a..ffaeea2a6 100644 --- a/samples/react-outlook-add-todo-task/assets/sample.json +++ b/samples/react-outlook-add-todo-task/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Create To Do Task from Email (Outlook Add in)", "shortDescription": "This web part allows us to create a new To Do task using the new ToDo MS Graph endpoint. If deployed as an Outlook Add In, the Task title comes from email subject. Let\u00B4s say this is similar to the OOTB \u0022Flag\u0022 action, but here you can select the ToDo List where to store the Task, and you can modify the Title before adding it.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-outlook-add-todo-task", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-outlook-add-todo-task", "longDescription": [ "This web part allows us to create a new To Do task using the new ToDo MS Graph endpoint. If deployed as an Outlook Add In, the Task title comes from email subject. Let\u00B4s say this is similar to the OOTB \u0022Flag\u0022 action, but here you can select the ToDo List where to store the Task, and you can modify the Title before adding it." ], @@ -32,13 +32,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-my-groups/assets/example.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-my-groups/assets/example.png", "alt": "Create To Do Task from Email (Outlook Add in)" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-outlook-add-todo-task/assets/spfx-todo-outlook.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-outlook-add-todo-task/assets/spfx-todo-outlook.gif?raw=true", "alt": "Create To Do Task from Email (Outlook Add in)" } ], @@ -63,4 +63,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-outlook-copy2teams/assets/sample.json b/samples/react-outlook-copy2teams/assets/sample.json index a3e019491..8eae1cac7 100644 --- a/samples/react-outlook-copy2teams/assets/sample.json +++ b/samples/react-outlook-copy2teams/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Outlook to Teams", "shortDescription": "This SPFx Outlook Add-In lets you browse your OneDrive, joined Teams or Groups and select a folder to save your complete mail in there.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-outlook-copy2teams", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-outlook-copy2teams", "longDescription": [ "This SPFx Outlook Add-In lets you browse your OneDrive, joined Teams or Groups and select a folder to save your complete mail in there." ], @@ -58,4 +58,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-page-navigator/assets/sample.json b/samples/react-page-navigator/assets/sample.json index 7baf35d82..8d8f12ebf 100644 --- a/samples/react-page-navigator/assets/sample.json +++ b/samples/react-page-navigator/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Page Navigator", "shortDescription": "This web part fetches all the automatically added Header anchor tags in a SharePoint page and displays them in a Navigation component.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-page-navigator", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-page-navigator", "longDescription": [ "This web part fetches all the automatically added Header anchor tags in a SharePoint page and displays them in a Navigation component." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-page-navigator/assets/PageNavigator.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-page-navigator/assets/PageNavigator.gif", "alt": "Page Navigator" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-page-sections-navigation/assets/sample.json b/samples/react-page-sections-navigation/assets/sample.json index b342d2393..c116cbfcf 100644 --- a/samples/react-page-sections-navigation/assets/sample.json +++ b/samples/react-page-sections-navigation/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Page Sections Navigation", "shortDescription": "Sample web parts allowing to add sections navigation to the SharePoint page.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-page-sections-navigation", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-page-sections-navigation", "longDescription": [ "Sample web parts allowing to add sections navigation to the SharePoint page." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-page-sections-navigation/assets/page-nav.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-page-sections-navigation/assets/page-nav.gif", "alt": "Page Sections Navigation" } ], @@ -58,4 +58,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-pagecontributors/assets/sample.json b/samples/react-pagecontributors/assets/sample.json index 5100136f9..99ecad3a8 100644 --- a/samples/react-pagecontributors/assets/sample.json +++ b/samples/react-pagecontributors/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Page Contributors Web Part", "shortDescription": "Displays page contributors in reverse chronological order.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-pagecontributors", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-pagecontributors", "longDescription": [ "Displays page contributors in reverse chronological order." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-pagecontributors/assets/pagecontributors_inaction.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-pagecontributors/assets/pagecontributors_inaction.PNG", "alt": "Page Contributors Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-pagecontributors/assets/pagecontributors_mockup.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-pagecontributors/assets/pagecontributors_mockup.PNG?raw=true", "alt": "Page Contributors Web Part" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-pages-hierarchy/assets/sample.json b/samples/react-pages-hierarchy/assets/sample.json index d84b7deae..b0065d8f2 100644 --- a/samples/react-pages-hierarchy/assets/sample.json +++ b/samples/react-pages-hierarchy/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Page Hierarchy", "shortDescription": "This web part allows users to create a faux page hierarchy in their pages library and use it for page-to-page navigation.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-pages-hierarchy", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-pages-hierarchy", "longDescription": [ "This web part allows users to create a faux page hierarchy in their pages library and use it for page-to-page navigation." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-pages-hierarchy/assets/PagesHierarchy.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-pages-hierarchy/assets/PagesHierarchy.gif", "alt": "Page Hierarchy" } ], @@ -58,4 +58,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-people-directory/README.md b/samples/react-people-directory/README.md index c13d59d65..9524d1c5f 100644 --- a/samples/react-people-directory/README.md +++ b/samples/react-people-directory/README.md @@ -1,6 +1,6 @@ # People Directory -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/peopleDirectory. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/peopleDirectory. This web part provides you the ability to add a searchable people directory. A people search box and alphabet list are provided to enable both searching by name as well as selecting a specific letter. This web part requires no configuration and utilizes the people search API to surface people results. @@ -22,9 +22,9 @@ The `People Directory` web part can be configured with the following properties: # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part does not have external dependencies. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part does not have external dependencies. # Screenshots @@ -32,7 +32,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/peopleDirectory +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/peopleDirectory # Minimal Path to Awesome diff --git a/samples/react-people-directory/assets/sample.json b/samples/react-people-directory/assets/sample.json index e9dc2b5d4..44e8bf7c7 100644 --- a/samples/react-people-directory/assets/sample.json +++ b/samples/react-people-directory/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "People Directory", "shortDescription": "This web part provides you the ability to add a searchable people directory. A people search box and alphabet list are provided to enable both searching by name as well as selecting a specific letter. This web part requires no configuration and utilizes the people search API to surface people results.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-people-directory", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-people-directory", "longDescription": [ "This web part provides you the ability to add a searchable people directory. A people search box and alphabet list are provided to enable both searching by name as well as selecting a specific letter. This web part requires no configuration and utilizes the people search API to surface people results." ], diff --git a/samples/react-peoplepicker/assets/sample.json b/samples/react-peoplepicker/assets/sample.json index 5f7254eb6..6ac992404 100644 --- a/samples/react-peoplepicker/assets/sample.json +++ b/samples/react-peoplepicker/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "People Picker", "shortDescription": "SharePoint Framework solution with the Office UI Fabric People Picker, the client web part across the SharePoint Rest API is able to retrieve people and groups.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-peoplepicker", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-peoplepicker", "longDescription": [ "SharePoint Framework solution with the Office UI Fabric People Picker, the client web part across the SharePoint Rest API is able to retrieve people and groups." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-peoplepicker/assets/Preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-peoplepicker/assets/Preview.gif", "alt": "People Picker" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-personal-calendar/README.md b/samples/react-personal-calendar/README.md index fd3f76ce5..011c73ad9 100644 --- a/samples/react-personal-calendar/README.md +++ b/samples/react-personal-calendar/README.md @@ -1,6 +1,6 @@ # Personal Calendar -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/personalCalendar. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/personalCalendar. This web part provides you the ability to add a particular user's personal calendar on a web page. The web part may be configured to automatically refresh, as well as display up to seven days of events and a pre-defined number of events at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users. @@ -25,9 +25,9 @@ The `Personal Calendar` web part can be configured with the following properties # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. # Screenshots @@ -35,7 +35,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/personalCalendar +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/personalCalendar # Minimal Path to Awesome diff --git a/samples/react-personal-calendar/assets/sample.json b/samples/react-personal-calendar/assets/sample.json index 66ed9326b..dffbb9ade 100644 --- a/samples/react-personal-calendar/assets/sample.json +++ b/samples/react-personal-calendar/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Personal Calendar", "shortDescription": "This web part provides you the ability to add a particular user\u0027s personal calendar on a web page. The web part may be configured to automatically refresh, as well as display up to seven days of events and a pre-defined number of events at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-personal-calendar", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-personal-calendar", "longDescription": [ "This web part provides you the ability to add a particular user\u0027s personal calendar on a web page. The web part may be configured to automatically refresh, as well as display up to seven days of events and a pre-defined number of events at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users." ], diff --git a/samples/react-personal-contacts/README.md b/samples/react-personal-contacts/README.md index 5242227a6..70c93646d 100644 --- a/samples/react-personal-contacts/README.md +++ b/samples/react-personal-contacts/README.md @@ -1,6 +1,6 @@ # Personal Contacts -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/personalContacts. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/personalContacts. This web part provides you the ability to add a particular user's personal contacts on a web page. The web part may be configured to display a pre-defined number of contacts at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users. @@ -24,9 +24,9 @@ The `Personal Contacts` web part can be configured with the following properties # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. # Screenshots @@ -34,7 +34,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/personalContacts +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/personalContacts # Minimal Path to Awesome diff --git a/samples/react-personal-contacts/assets/sample.json b/samples/react-personal-contacts/assets/sample.json index 510f633f4..9c1bf62f4 100644 --- a/samples/react-personal-contacts/assets/sample.json +++ b/samples/react-personal-contacts/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Personal Contacts", "shortDescription": "This web part provides you the ability to add a particular user\u0027s personal contacts on a web page. The web part may be configured to display a pre-defined number of contacts at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-personal-contacts", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-personal-contacts", "longDescription": [ "This web part provides you the ability to add a particular user\u0027s personal contacts on a web page. The web part may be configured to display a pre-defined number of contacts at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users." ], diff --git a/samples/react-personal-email/README.md b/samples/react-personal-email/README.md index cfa8a4406..d90245989 100644 --- a/samples/react-personal-email/README.md +++ b/samples/react-personal-email/README.md @@ -1,6 +1,6 @@ # Personal Email -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/personalEmail. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/personalEmail. This web part provides you the ability to add a particular user's personal email on a web page. The web part may be configured to display a pre-defined number of emails at a time and includes a link to the user's Outlook to view all email. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users. @@ -23,9 +23,9 @@ The `Personal Email` web part can be configured with the following properties: # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. # Screenshots @@ -33,7 +33,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/personalEmail +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/personalEmail # Minimal Path to Awesome diff --git a/samples/react-personal-email/assets/sample.json b/samples/react-personal-email/assets/sample.json index a4a5ae21b..dfeadf634 100644 --- a/samples/react-personal-email/assets/sample.json +++ b/samples/react-personal-email/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Personal Email", "shortDescription": "This web part provides you the ability to add a particular user\u0027s personal email on a web page. The web part may be configured to display a pre-defined number of emails at a time and includes a link to the user\u0027s Outlook to view all email. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-personal-email", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-personal-email", "longDescription": [ "This web part provides you the ability to add a particular user\u0027s personal email on a web page. The web part may be configured to display a pre-defined number of emails at a time and includes a link to the user\u0027s Outlook to view all email. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users." ], diff --git a/samples/react-personal-greeting/assets/sample.json b/samples/react-personal-greeting/assets/sample.json index 130b71a6e..a74bf09d4 100644 --- a/samples/react-personal-greeting/assets/sample.json +++ b/samples/react-personal-greeting/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Personal Greeting", "shortDescription": "The web part pulls in the current user\u0027s name and displays it on the page. The greeting text before the name is customizable through the property pane. Additionally the position of the greeting and color of the text can be adjusted through the property pane as well.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-personal-greeting", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-personal-greeting", "longDescription": [ "The web part pulls in the current user\u0027s name and displays it on the page. The greeting text before the name is customizable through the property pane. Additionally the position of the greeting and color of the text can be adjusted through the property pane as well." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-personal-greeting/assets/react-personal-greeting.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-personal-greeting/assets/react-personal-greeting.gif", "alt": "Personal Greeting" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-personal-tasks/README.md b/samples/react-personal-tasks/README.md index 37c6bd889..e617b2f22 100644 --- a/samples/react-personal-tasks/README.md +++ b/samples/react-personal-tasks/README.md @@ -1,6 +1,6 @@ # Personal Tasks -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/personalTasks. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/personalTasks. This web part provides you the ability to add a particular user's personal tasks on a web page. The web part may be configured to show all tasks or to exclude completed tasks. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users. @@ -23,9 +23,9 @@ The `Personal Tasks` web part can be configured with the following properties: # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. # Screenshots @@ -33,7 +33,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/personalTasks +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/personalTasks # Minimal Path to Awesome diff --git a/samples/react-personal-tasks/assets/sample.json b/samples/react-personal-tasks/assets/sample.json index 5395f91cc..b698382a9 100644 --- a/samples/react-personal-tasks/assets/sample.json +++ b/samples/react-personal-tasks/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Personal Tasks", "shortDescription": "This web part provides you the ability to add a particular user\u0027s personal tasks on a web page. The web part may be configured to show all tasks or to exclude completed tasks. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-personal-tasks", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-personal-tasks", "longDescription": [ "This web part provides you the ability to add a particular user\u0027s personal tasks on a web page. The web part may be configured to show all tasks or to exclude completed tasks. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users." ], diff --git a/samples/react-photo-sync/assets/sample.json b/samples/react-photo-sync/assets/sample.json index ee64f8d02..6022ad56d 100644 --- a/samples/react-photo-sync/assets/sample.json +++ b/samples/react-photo-sync/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "SPUPS Photo Sync", "shortDescription": "This web part will help the administrators to synchronize the User Profile Photos from Azure AD or from the local file system to SharePoint User Profile Store.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-photo-sync", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-photo-sync", "longDescription": [ "This web part will help the administrators to synchronize the User Profile Photos from Azure AD or from the local file system to SharePoint User Profile Store." ], @@ -32,13 +32,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-photo-sync/assets/SPUPS_Photo_Sync_1.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-photo-sync/assets/SPUPS_Photo_Sync_1.gif", "alt": "SPUPS Photo Sync" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-photo-sync/assets/SPUPS_Photo_Sync_2.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-photo-sync/assets/SPUPS_Photo_Sync_2.gif?raw=true", "alt": "SPUPS Photo Sync" } ], @@ -64,4 +64,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-pnp-controls-list-view-fields/README.md b/samples/react-pnp-controls-list-view-fields/README.md index c7d41ce0b..eae70e376 100644 --- a/samples/react-pnp-controls-list-view-fields/README.md +++ b/samples/react-pnp-controls-list-view-fields/README.md @@ -56,6 +56,6 @@ Version|Date|Comments ## Features -This sample demonstrates how to combine different parts of PnP Reusable React controls to create rich solutions. It also partially answers the question from [Issue 493](https://github.com/SharePoint/sp-dev-fx-controls-react/issues/493) in PnP Reusable Controls repo. +This sample demonstrates how to combine different parts of PnP Reusable React controls to create rich solutions. It also partially answers the question from [Issue 493](https://github.com/pnp/sp-dev-fx-controls-react/issues/493) in PnP Reusable Controls repo. diff --git a/samples/react-pnp-controls-list-view-fields/assets/sample.json b/samples/react-pnp-controls-list-view-fields/assets/sample.json index bb028e200..230390a67 100644 --- a/samples/react-pnp-controls-list-view-fields/assets/sample.json +++ b/samples/react-pnp-controls-list-view-fields/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "PnP ListView with PnP Field Controls Web Part", "shortDescription": "Sample web part to display PnP ListView control with column rendering using PnP Field Controls.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-pnp-controls-list-view-fields", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-pnp-controls-list-view-fields", "longDescription": [ "Sample web part to display PnP ListView control with column rendering using PnP Field Controls." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-pnp-controls-list-view-fields/assets/web-part.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-pnp-controls-list-view-fields/assets/web-part.png", "alt": "PnP ListView with PnP Field Controls Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-pnp-controls-list-view-fields/assets/taxonomy.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-pnp-controls-list-view-fields/assets/taxonomy.png?raw=true", "alt": "PnP ListView with PnP Field Controls Web Part" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-pnpjs-project-online/assets/sample.json b/samples/react-pnpjs-project-online/assets/sample.json index 92476cb4a..82806f874 100644 --- a/samples/react-pnpjs-project-online/assets/sample.json +++ b/samples/react-pnpjs-project-online/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "PnPjs Project Online", "shortDescription": "This sample shows how to use SPFx to consume data from the Project Online REST API using a custom module for PnPjs. The web part is currently logging the data returned from the API to the browser console as a simple proof of concept.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-pnpjs-project-online", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-pnpjs-project-online", "longDescription": [ "This sample shows how to use SPFx to consume data from the Project Online REST API using a custom module for PnPjs. The web part is currently logging the data returned from the API to the browser console as a simple proof of concept." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-pnpjs-project-online/assets/Preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-pnpjs-project-online/assets/Preview.gif", "alt": "PnPjs Project Online" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-pnpjsexplorer/assets/sample.json b/samples/react-pnpjsexplorer/assets/sample.json index 85a894a01..e04f0be41 100644 --- a/samples/react-pnpjsexplorer/assets/sample.json +++ b/samples/react-pnpjsexplorer/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "SPFx web part to Test PnpJS SharePoint Methods", "shortDescription": "This web part will allow SPFx developers to test PnPjs methods and it displays response in JSON viewer to identify properties/attributes returned by method/API", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-pnpjsexplorer", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-pnpjsexplorer", "longDescription": [ "This web part will allow SPFx developers to test PnPjs methods and it displays response in JSON viewer to identify properties/attributes returned by method/API" ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-pnpjsexplorer/assets/pnpjstesterinaction.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-pnpjsexplorer/assets/pnpjstesterinaction.gif?raw=true", "alt": "SPFx web part to Test PnpJS SharePoint Methods" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-pnpjsexplorer/assets/pnpjstesterinaction.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-pnpjsexplorer/assets/pnpjstesterinaction.gif?raw=true", "alt": "SPFx web part to Test PnpJS SharePoint Methods" } ], @@ -73,4 +73,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-project-online/README.md b/samples/react-project-online/README.md index 8ce4060a8..7e906ed2c 100644 --- a/samples/react-project-online/README.md +++ b/samples/react-project-online/README.md @@ -17,7 +17,7 @@ extensions: # Project Online ## Summary -This sample shows how to use SPFx to consume data from the Project Online REST API. The code uses Placeholder and ListView [reusable controls](https://github.com/SharePoint/sp-dev-fx-controls-react) to create a better experience to the end user. +This sample shows how to use SPFx to consume data from the Project Online REST API. The code uses Placeholder and ListView [reusable controls](https://github.com/pnp/sp-dev-fx-controls-react) to create a better experience to the end user. The web part is intended to be used on a project site within PWA site collection, as the web url used for the rest calls is being taken from the web part context object. To use this web part outside of the PWA site collection, just add a new property to the web part to allow the PWA site collection url to be configured (or when provisioning through a provisioning mechanist). The web part is currently returning project tasks as a simple proof of concept. diff --git a/samples/react-project-online/assets/sample.json b/samples/react-project-online/assets/sample.json index 29a8381e6..aca7b2ce9 100644 --- a/samples/react-project-online/assets/sample.json +++ b/samples/react-project-online/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Project Online", "shortDescription": "This sample shows how to use SPFx to consume data from the Project Online REST API.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-project-online", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-project-online", "longDescription": [ "This sample shows how to use SPFx to consume data from the Project Online REST API." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-project-online/assets/Preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-project-online/assets/Preview.gif", "alt": "Project Online" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-property-bag-editor/assets/sample.json b/samples/react-property-bag-editor/assets/sample.json index 3d4266946..404151e35 100644 --- a/samples/react-property-bag-editor/assets/sample.json +++ b/samples/react-property-bag-editor/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Property Bag Navigation Webparts", "shortDescription": "A set of webparts that lets you set property bag settings on site collections and enable navigation using those properties.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-property-bag-editor", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-property-bag-editor", "longDescription": [ "A set of webparts that lets you set property bag settings on site collections and enable navigation using those properties." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-property-bag-editor/src/images/PropertyBagEditorDisplay.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-property-bag-editor/src/images/PropertyBagEditorDisplay.PNG", "alt": "Property Bag Navigation Webparts" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-provision-assets/assets/sample.json b/samples/react-provision-assets/assets/sample.json index 6f881d3a9..0722f602a 100644 --- a/samples/react-provision-assets/assets/sample.json +++ b/samples/react-provision-assets/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Provision SharePoint Assets with the SPFx solution package", "shortDescription": "This sample shows how we can provision Document Library, Custom List, Web and List PropertyBag properties, Site Columns, Content Types, Images, Site Page with the SFPx Client side web part and even prepopulated list and library items along with the SPFx solution package. All of the components can be deployed at once with the SPFx web part when the app is added to a SharePoint site. It also contains custom list and document library xml schemas.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-provision-assets", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-provision-assets", "longDescription": [ "This sample shows how we can provision Document Library, Custom List, Web and List PropertyBag properties, Site Columns, Content Types, Images, Site Page with the SFPx Client side web part and even prepopulated list and library items along with the SPFx solution package. All of the components can be deployed at once with the SPFx web part when the app is added to a SharePoint site. It also contains custom list and document library xml schemas." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-provision-assets/assets/spfx-provision-assets.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-provision-assets/assets/spfx-provision-assets.gif", "alt": "Provision SharePoint Assets with the SPFx solution package" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-questions-and-answers/assets/sample.json b/samples/react-questions-and-answers/assets/sample.json index dbf3c66df..6e20071c6 100644 --- a/samples/react-questions-and-answers/assets/sample.json +++ b/samples/react-questions-and-answers/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "React Questions and Answers", "shortDescription": "This is an application that supports Questions \u0026 Answers through a web part that can be used directly on a Modern SharePoint Site without the need for Yammer or a backing Microsoft Team site. It relies on a backing SharePoint list that is hidden and a provisioned Site Page that hosts a pre-configured version of the questions web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-questions-and-answers", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-questions-and-answers", "longDescription": [ "This is an application that supports Questions \u0026 Answers through a web part that can be used directly on a Modern SharePoint Site without the need for Yammer or a backing Microsoft Team site. It relies on a backing SharePoint list that is hidden and a provisioned Site Page that hosts a pre-configured version of the questions web part." ], @@ -36,7 +36,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-questions-and-answers/assets/QuestionsAndAnswers.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-questions-and-answers/assets/QuestionsAndAnswers.gif", "alt": "React Questions and Answers" } ], diff --git a/samples/react-quick-poll/assets/sample.json b/samples/react-quick-poll/assets/sample.json index 46bc31cfc..103d262b5 100644 --- a/samples/react-quick-poll/assets/sample.json +++ b/samples/react-quick-poll/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Quick Poll", "shortDescription": "This component is developed for the users who really need to create a Poll within a minute and with less maintenance.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-quick-poll", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-quick-poll", "longDescription": [ "This component is developed for the users who really need to create a Poll within a minute and with less maintenance." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-quick-poll/assets/react-quick-poll.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-quick-poll/assets/react-quick-poll.gif", "alt": "Quick Poll" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-quotes/assets/sample.json b/samples/react-quotes/assets/sample.json index ee5e910a3..67395dea5 100644 --- a/samples/react-quotes/assets/sample.json +++ b/samples/react-quotes/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Quote of the Day", "shortDescription": "This webpart displays a quote of the day by querying a third-party api or can display a quote entered manually into the webpart property pane.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-quotes", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-quotes", "longDescription": [ "This webpart displays a quote of the day by querying a third-party api or can display a quote entered manually into the webpart property pane." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-quotes/assets/react-quotes-sample.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-quotes/assets/react-quotes-sample.png", "alt": "Quote of the Day" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-real-time/assets/sample.json b/samples/react-real-time/assets/sample.json index 34424fc6c..397e8caed 100644 --- a/samples/react-real-time/assets/sample.json +++ b/samples/react-real-time/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Real Time News Feed using Azure Logic Apps, Node.js and socket.io", "shortDescription": "This sample shows you how to implement real time web parts using the SPFx, Azure Logic Apps, Node.js and socket.io.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-real-time", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-real-time", "longDescription": [ "This sample shows you how to implement real time web parts using the SPFx, Azure Logic Apps, Node.js and socket.io." ], @@ -28,49 +28,49 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-real-time/assets/animated-demo.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-real-time/assets/animated-demo.gif", "alt": "Real Time News Feed using Azure Logic Apps, Node.js and socket.io" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-real-time/assets/flow.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-real-time/assets/flow.png?raw=true", "alt": "Real Time News Feed using Azure Logic Apps, Node.js and socket.io" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-real-time/assets/network-console.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-real-time/assets/network-console.png?raw=true", "alt": "Real Time News Feed using Azure Logic Apps, Node.js and socket.io" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-real-time/assets/service-bus-new-connection.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-real-time/assets/service-bus-new-connection.png?raw=true", "alt": "Real Time News Feed using Azure Logic Apps, Node.js and socket.io" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-real-time/assets/service-bus.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-real-time/assets/service-bus.png?raw=true", "alt": "Real Time News Feed using Azure Logic Apps, Node.js and socket.io" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-real-time/assets/solution_overview.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-real-time/assets/solution_overview.png?raw=true", "alt": "Real Time News Feed using Azure Logic Apps, Node.js and socket.io" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-real-time/assets/spfx-initial.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-real-time/assets/spfx-initial.png?raw=true", "alt": "Real Time News Feed using Azure Logic Apps, Node.js and socket.io" }, { "type": "image", "order": 107, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-real-time/assets/spfx-newitem.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-real-time/assets/spfx-newitem.png?raw=true", "alt": "Real Time News Feed using Azure Logic Apps, Node.js and socket.io" } ], diff --git a/samples/react-realtime-documents/assets/sample.json b/samples/react-realtime-documents/assets/sample.json index 8232dc570..6b2d63279 100644 --- a/samples/react-realtime-documents/assets/sample.json +++ b/samples/react-realtime-documents/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "List subscription", "shortDescription": "Sample web part illustrating using the SharePoint Framework List subscription capability, which allows you to get notified of changes to documents in a SharePoint Document Library and refresh the displayed data.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-realtime-documents", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-realtime-documents", "longDescription": [ "Sample web part illustrating using the SharePoint Framework List subscription capability, which allows you to get notified of changes to documents in a SharePoint Document Library and refresh the displayed data." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-realtime-documents/assets/list-subscription-webpart.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-realtime-documents/assets/list-subscription-webpart.png", "alt": "List subscription" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-realtime-documents/src/webparts/latestDocuments/LatestDocumentsWebPart.ts b/samples/react-realtime-documents/src/webparts/latestDocuments/LatestDocumentsWebPart.ts index f8875b1f0..1a1c0a23a 100644 --- a/samples/react-realtime-documents/src/webparts/latestDocuments/LatestDocumentsWebPart.ts +++ b/samples/react-realtime-documents/src/webparts/latestDocuments/LatestDocumentsWebPart.ts @@ -1,113 +1,113 @@ -import * as React from 'react'; -import * as ReactDom from 'react-dom'; -import { Version } from '@microsoft/sp-core-library'; -import { - BaseClientSideWebPart, - IPropertyPaneConfiguration -} from '@microsoft/sp-webpart-base'; - -import * as strings from 'LatestDocumentsWebPartStrings'; -import LatestDocuments from './components/LatestDocuments'; -import { ILatestDocumentsProps } from './components/ILatestDocumentsProps'; -import { PropertyFieldListPicker, PropertyFieldListPickerOrderBy } from '@pnp/spfx-property-controls/lib/PropertyFieldListPicker'; -import { CalloutTriggers } from '@pnp/spfx-property-controls/lib/PropertyFieldHeader'; -import { PropertyFieldTextWithCallout } from '@pnp/spfx-property-controls/lib/PropertyFieldTextWithCallout'; -import { ListSubscriptionFactory } from '@microsoft/sp-list-subscription'; -import { sp } from '@pnp/sp'; - -export interface ILatestDocumentsWebPartProps { - libraryId?: string; - siteUrl?: string; - title: string; -} - -export default class LatestDocumentsWebPart extends BaseClientSideWebPart { - public onInit(): Promise { - sp.setup({ - spfxContext: this.context - }); - - return Promise.resolve(); - } - - public render(): void { - const element: React.ReactElement = React.createElement( - LatestDocuments, - { - displayMode: this.displayMode, - libraryId: this.properties.libraryId, - listSubscriptionFactory: new ListSubscriptionFactory(this), - onConfigure: this._onConfigure, - siteUrl: this.properties.siteUrl, - title: this.properties.title, - updateProperty: value => this.properties.title = value - } - ); - - ReactDom.render(element, this.domElement); - } - - protected onDispose(): void { - ReactDom.unmountComponentAtNode(this.domElement); - } - - protected get dataVersion(): Version { - return Version.parse('1.0'); - } - - protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration { - return { - pages: [ - { - header: { - description: strings.PropertyPaneDescription - }, - groups: [ - { - groupName: strings.BasicGroupName, - groupFields: [ - PropertyFieldTextWithCallout('siteUrl', { - calloutTrigger: CalloutTriggers.Click, - key: 'siteUrlFieldId', - label: 'Site URL', - calloutContent: React.createElement('span', {}, 'URL of the site where the document library to show documents from is located. Leave empty to connect to a document library from the current site'), - calloutWidth: 250, - value: this.properties.siteUrl - }), - PropertyFieldListPicker('libraryId', { - label: 'Select a document library', - selectedList: this.properties.libraryId, - includeHidden: false, - orderBy: PropertyFieldListPickerOrderBy.Title, - disabled: false, - onPropertyChange: this.onPropertyPaneFieldChanged.bind(this), - properties: this.properties, - context: this.context, - onGetErrorMessage: null, - deferredValidationTime: 0, - key: 'listPickerFieldId', - webAbsoluteUrl: this.properties.siteUrl, - baseTemplate: 101 - }) - ] - } - ] - } - ] - }; - } - - protected get disableReactivePropertyChanges(): boolean { - return true; - } - - protected onPropertyPaneConfigurationComplete(): void { - // ideally, we'd call a refresh here to update the list of properties - // but due to a bug in the list picker control, lists are loaded only - // on component mount, so this wouldn't do anything - // https://github.com/SharePoint/sp-dev-fx-property-controls/issues/109 - // this.context.propertyPane.refresh(); - } - - private _onConfigure = () => this.context.propertyPane.open(); -} +import * as React from 'react'; +import * as ReactDom from 'react-dom'; +import { Version } from '@microsoft/sp-core-library'; +import { + BaseClientSideWebPart, + IPropertyPaneConfiguration +} from '@microsoft/sp-webpart-base'; + +import * as strings from 'LatestDocumentsWebPartStrings'; +import LatestDocuments from './components/LatestDocuments'; +import { ILatestDocumentsProps } from './components/ILatestDocumentsProps'; +import { PropertyFieldListPicker, PropertyFieldListPickerOrderBy } from '@pnp/spfx-property-controls/lib/PropertyFieldListPicker'; +import { CalloutTriggers } from '@pnp/spfx-property-controls/lib/PropertyFieldHeader'; +import { PropertyFieldTextWithCallout } from '@pnp/spfx-property-controls/lib/PropertyFieldTextWithCallout'; +import { ListSubscriptionFactory } from '@microsoft/sp-list-subscription'; +import { sp } from '@pnp/sp'; + +export interface ILatestDocumentsWebPartProps { + libraryId?: string; + siteUrl?: string; + title: string; +} + +export default class LatestDocumentsWebPart extends BaseClientSideWebPart { + public onInit(): Promise { + sp.setup({ + spfxContext: this.context + }); + + return Promise.resolve(); + } + + public render(): void { + const element: React.ReactElement = React.createElement( + LatestDocuments, + { + displayMode: this.displayMode, + libraryId: this.properties.libraryId, + listSubscriptionFactory: new ListSubscriptionFactory(this), + onConfigure: this._onConfigure, + siteUrl: this.properties.siteUrl, + title: this.properties.title, + updateProperty: value => this.properties.title = value + } + ); + + ReactDom.render(element, this.domElement); + } + + protected onDispose(): void { + ReactDom.unmountComponentAtNode(this.domElement); + } + + protected get dataVersion(): Version { + return Version.parse('1.0'); + } + + protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration { + return { + pages: [ + { + header: { + description: strings.PropertyPaneDescription + }, + groups: [ + { + groupName: strings.BasicGroupName, + groupFields: [ + PropertyFieldTextWithCallout('siteUrl', { + calloutTrigger: CalloutTriggers.Click, + key: 'siteUrlFieldId', + label: 'Site URL', + calloutContent: React.createElement('span', {}, 'URL of the site where the document library to show documents from is located. Leave empty to connect to a document library from the current site'), + calloutWidth: 250, + value: this.properties.siteUrl + }), + PropertyFieldListPicker('libraryId', { + label: 'Select a document library', + selectedList: this.properties.libraryId, + includeHidden: false, + orderBy: PropertyFieldListPickerOrderBy.Title, + disabled: false, + onPropertyChange: this.onPropertyPaneFieldChanged.bind(this), + properties: this.properties, + context: this.context, + onGetErrorMessage: null, + deferredValidationTime: 0, + key: 'listPickerFieldId', + webAbsoluteUrl: this.properties.siteUrl, + baseTemplate: 101 + }) + ] + } + ] + } + ] + }; + } + + protected get disableReactivePropertyChanges(): boolean { + return true; + } + + protected onPropertyPaneConfigurationComplete(): void { + // ideally, we'd call a refresh here to update the list of properties + // but due to a bug in the list picker control, lists are loaded only + // on component mount, so this wouldn't do anything + // https://github.com/pnp/sp-dev-fx-property-controls/issues/109 + // this.context.propertyPane.refresh(); + } + + private _onConfigure = () => this.context.propertyPane.open(); +} diff --git a/samples/react-recaptcha/assets/sample.json b/samples/react-recaptcha/assets/sample.json index 65b342ce3..79f1440d3 100644 --- a/samples/react-recaptcha/assets/sample.json +++ b/samples/react-recaptcha/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Google reCaptcha Sample", "shortDescription": "This is sample web part which showcase how to implement Google reCaptcha v2 in SPFx. CAPTCHA is used to prevent bots from automatically submitting forms with SPAM or other unwanted content. If we are building a custom input form to get feedback, newsletter subscription or contact us form using SPFx web part. We might have to implement SPAM protection using some CAPTCHA resolving technique. This sample can come in handy to extend it for your business requirement if you need to implement CAPTCHA in SPFx web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-recaptcha", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-recaptcha", "longDescription": [ "This is sample web part which showcase how to implement Google reCaptcha v2 in SPFx. CAPTCHA is used to prevent bots from automatically submitting forms with SPAM or other unwanted content. If we are building a custom input form to get feedback, newsletter subscription or contact us form using SPFx web part. We might have to implement SPAM protection using some CAPTCHA resolving technique. This sample can come in handy to extend it for your business requirement if you need to implement CAPTCHA in SPFx web part." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-recaptcha/screens/WebpartInAction.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-recaptcha/screens/WebpartInAction.gif", "alt": "Google reCaptcha Sample" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-recent-contacts/README.md b/samples/react-recent-contacts/README.md index caaa2186d..53d3d057e 100644 --- a/samples/react-recent-contacts/README.md +++ b/samples/react-recent-contacts/README.md @@ -1,6 +1,6 @@ # Recent Contacts -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/recentContacts. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/recentContacts. This web part provides you the ability to display list of a particular user's recent contacts on a web page. The web part may be configured to display a pre-defined number of contacts at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users. @@ -23,9 +23,9 @@ The `Recent Contacts` web part can be configured with the following properties: # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. # Screenshots @@ -33,7 +33,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/recentContacts +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/recentContacts # Minimal Path to Awesome diff --git a/samples/react-recent-contacts/assets/sample.json b/samples/react-recent-contacts/assets/sample.json index e1d3f0b69..cffe83138 100644 --- a/samples/react-recent-contacts/assets/sample.json +++ b/samples/react-recent-contacts/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Recent Contacts", "shortDescription": "This web part provides you the ability to display list of a particular user\u0027s recent contacts on a web page. The web part may be configured to display a pre-defined number of contacts at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-recent-contacts", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-recent-contacts", "longDescription": [ "This web part provides you the ability to display list of a particular user\u0027s recent contacts on a web page. The web part may be configured to display a pre-defined number of contacts at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users." ], diff --git a/samples/react-recently-used-documents/README.md b/samples/react-recently-used-documents/README.md index d39236afc..3e148fc05 100644 --- a/samples/react-recently-used-documents/README.md +++ b/samples/react-recently-used-documents/README.md @@ -1,6 +1,6 @@ # Recently Used Documents -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/recentlyUsedDocuments. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/recentlyUsedDocuments. This web part provides you the ability to display a list of a particular user's recently used documents on a web page. The web part may be configured to display a pre-defined number of documents at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users. @@ -24,9 +24,9 @@ The `Recently Used Documents` web part can be configured with the following prop # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. # Screenshots @@ -34,7 +34,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/recentlyUsedDocuments +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/recentlyUsedDocuments # Minimal Path to Awesome diff --git a/samples/react-recently-used-documents/assets/sample.json b/samples/react-recently-used-documents/assets/sample.json index c4ae2ce06..4a4006393 100644 --- a/samples/react-recently-used-documents/assets/sample.json +++ b/samples/react-recently-used-documents/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Recently Used Documents", "shortDescription": "This web part provides you the ability to display a list of a particular user\u0027s recently used documents on a web page. The web part may be configured to display a pre-defined number of documents at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-recently-used-documents", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-recently-used-documents", "longDescription": [ "This web part provides you the ability to display a list of a particular user\u0027s recently used documents on a web page. The web part may be configured to display a pre-defined number of documents at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users." ], diff --git a/samples/react-recently-visited-sites/README.md b/samples/react-recently-visited-sites/README.md index ae29ef950..c1f2b483d 100644 --- a/samples/react-recently-visited-sites/README.md +++ b/samples/react-recently-visited-sites/README.md @@ -1,6 +1,6 @@ # Recently Visited Sites -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/recentlyVisitedSites. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/recentlyVisitedSites. This web part provides you the ability to display a list of a particular user's recently visited sites on a web page. The web part will display up to the first 30 (thirty) recently visited sites at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users. @@ -23,9 +23,9 @@ The `Recently Visited Sites` web part can be configured with the following prope # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. # Screenshots @@ -33,7 +33,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/recentlyVisitedSites +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/recentlyVisitedSites # Minimal Path to Awesome diff --git a/samples/react-recently-visited-sites/assets/sample.json b/samples/react-recently-visited-sites/assets/sample.json index f32b20fb2..768091d07 100644 --- a/samples/react-recently-visited-sites/assets/sample.json +++ b/samples/react-recently-visited-sites/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Recently Visited Sites", "shortDescription": "This web part provides you the ability to display a list of a particular user\u0027s recently visited sites on a web page. The web part will display up to the first 30 (thirty) recently visited sites at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-recently-visited-sites", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-recently-visited-sites", "longDescription": [ "This web part provides you the ability to display a list of a particular user\u0027s recently visited sites on a web page. The web part will display up to the first 30 (thirty) recently visited sites at a time. This web part is powered by the Microsoft Graph and currently requires that the Office 365 tenant be configured for targeted release for all users." ], diff --git a/samples/react-redux-async-immutablejs/assets/sample.json b/samples/react-redux-async-immutablejs/assets/sample.json index e246241e9..91ebcb739 100644 --- a/samples/react-redux-async-immutablejs/assets/sample.json +++ b/samples/react-redux-async-immutablejs/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Using React, Redux and ImmutableJS", "shortDescription": "SharePoint Framework web part which uses Redux to maintain a single state for the entire application and ImmutableJS to create performant state trees.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-redux-async-immutablejs", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-redux-async-immutablejs", "longDescription": [ "SharePoint Framework web part which uses Redux to maintain a single state for the entire application and ImmutableJS to create performant state trees." ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-redux/README.md b/samples/react-redux/README.md index 408efc60c..fbc72fdd4 100644 --- a/samples/react-redux/README.md +++ b/samples/react-redux/README.md @@ -57,7 +57,7 @@ Version|Date|Comments ## Minimal Path to Awesome ```sh -$ git clone https://github.com/SharePoint/sp-dev-fx-webparts +$ git clone https://github.com/pnp/sp-dev-fx-webparts $ cd sp-dev-fx-webparts/samples/react-redux $ npm install $ gulp serve diff --git a/samples/react-redux/assets/sample.json b/samples/react-redux/assets/sample.json index 99a0b7094..985f50207 100644 --- a/samples/react-redux/assets/sample.json +++ b/samples/react-redux/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Using React and Redux", "shortDescription": "Sample web part implementation that uses Redux to keep track of its state.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-redux", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-redux", "longDescription": [ "Sample web part implementation that uses Redux to keep track of its state." ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-reduxform/assets/sample.json b/samples/react-reduxform/assets/sample.json index 0ca81250a..16e7160b0 100644 --- a/samples/react-reduxform/assets/sample.json +++ b/samples/react-reduxform/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Using Redux-Form library and React", "shortDescription": "Sample web part to demonstrate the use of Redux-Form library with SPFx, React and Typescript. Demonstrates how to easily build a dynamic grid using redux-form.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-reduxform", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-reduxform", "longDescription": [ "Sample web part to demonstrate the use of Redux-Form library with SPFx, React and Typescript. Demonstrates how to easily build a dynamic grid using redux-form." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-reduxform/assets/ReduxFormWebpart.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-reduxform/assets/ReduxFormWebpart.gif?raw=true", "alt": "Using Redux-Form library and React" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-reduxform/assets/ReduxFormWebpart.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-reduxform/assets/ReduxFormWebpart.gif?raw=true", "alt": "Using Redux-Form library and React" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-restaurant-menu/assets/sample.json b/samples/react-restaurant-menu/assets/sample.json index 289988a2c..44aa65c79 100644 --- a/samples/react-restaurant-menu/assets/sample.json +++ b/samples/react-restaurant-menu/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Restaurant Menu", "shortDescription": "This web part shows a Restaurant Menu, the user can select the options to show in Menu.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-restaurant-menu", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-restaurant-menu", "longDescription": [ "This web part shows a Restaurant Menu, the user can select the options to show in Menu." ], @@ -40,25 +40,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-restaurant-menu/assets/restaurantmenu.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-restaurant-menu/assets/restaurantmenu.gif", "alt": "Restaurant Menu" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-restaurant-menu/assets/restaurantmenu.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-restaurant-menu/assets/restaurantmenu.png?raw=true", "alt": "Restaurant Menu" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-restaurant-menu/assets/restaurantmenu2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-restaurant-menu/assets/restaurantmenu2.png?raw=true", "alt": "Restaurant Menu" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-restaurant-menu/assets/restaurantmenu3.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-restaurant-menu/assets/restaurantmenu3.png?raw=true", "alt": "Restaurant Menu" } ], @@ -89,4 +89,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-rss-reader/README.md b/samples/react-rss-reader/README.md index d42b0dd0e..ee9ef5ec4 100644 --- a/samples/react-rss-reader/README.md +++ b/samples/react-rss-reader/README.md @@ -118,6 +118,6 @@ This Web Part illustrates the following concepts on top of the SharePoint Framew - Utilize local storage - Demonstrate different method to address CORS / CORB issues - Handlebar based rendering with inline editor or remote template retrieval -- Use the React container component approach inspiring by the [react-todo-basic sample](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-todo-basic). +- Use the React container component approach inspiring by the [react-todo-basic sample](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-todo-basic). diff --git a/samples/react-rss-reader/assets/sample.json b/samples/react-rss-reader/assets/sample.json index 62b58476a..bed52b9d0 100644 --- a/samples/react-rss-reader/assets/sample.json +++ b/samples/react-rss-reader/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "SharePoint Framework RSS Reader", "shortDescription": "A RSS Reader original based on work completed by Olivier Carpentier\u0027s", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-rss-reader", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-rss-reader", "longDescription": [ "A RSS Reader original based on work completed by Olivier Carpentier\u0027s" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-rss-reader/images/react-rss-reader.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-rss-reader/images/react-rss-reader.gif", "alt": "SharePoint Framework RSS Reader" } ], @@ -62,4 +62,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-rss-reader/config/package-solution.json b/samples/react-rss-reader/config/package-solution.json index c1b8265e8..c91a93b92 100644 --- a/samples/react-rss-reader/config/package-solution.json +++ b/samples/react-rss-reader/config/package-solution.json @@ -8,7 +8,7 @@ "name": "Eric Overfield", "privacyUrl": "https://contoso.com/privacy", "termsOfUseUrl": "https://contoso.com/terms-of-use", - "websiteUrl": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-rss-reader", + "websiteUrl": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-rss-reader", "mpnId": "m365pnp" }, "includeClientSideAssets": true, diff --git a/samples/react-rss-reader/src/webparts/rssReader/RssReaderWebPart.ts b/samples/react-rss-reader/src/webparts/rssReader/RssReaderWebPart.ts index ca3f329b7..e80069603 100644 --- a/samples/react-rss-reader/src/webparts/rssReader/RssReaderWebPart.ts +++ b/samples/react-rss-reader/src/webparts/rssReader/RssReaderWebPart.ts @@ -1,5 +1,5 @@ /* -Template concept from https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-search-refiners +Template concept from https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-search-refiners */ import * as React from 'react'; import * as ReactDom from 'react-dom'; @@ -279,7 +279,7 @@ export default class RssReaderWebPart extends BaseClientSideWebPart { this._propertyPage = await import( /* webpackChunkName: 'search-property-pane' */ @@ -540,7 +540,7 @@ export default class RssReaderWebPart extends BaseClientSideWebPart { diff --git a/samples/react-rxjs-event-emitter/assets/sample.json b/samples/react-rxjs-event-emitter/assets/sample.json index c3fbe7648..dc0116aa0 100644 --- a/samples/react-rxjs-event-emitter/assets/sample.json +++ b/samples/react-rxjs-event-emitter/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "ReactiveX (RxJs) Event Emitter Sample", "shortDescription": "This sample shows how we can use the ReactiveX (RxJs) library with the SharePoint Framework to communicate between web parts through broadcasting events utilizing the Publish\u2013subscribe pattern. It enables a web part or component to emit event (broadcast message) and that event is received by other web parts or components that have been subscribed to receive it. Please note this is custom implementation of the Publish\u2013subscribe pattern by using the ReactiveX (RxJs) library. The SPFx will nativelly support this in future without the need of custom implementation through new SPFx api called Event Aggregator, but it is still in Alpha.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-rxjs-event-emitter", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-rxjs-event-emitter", "longDescription": [ "This sample shows how we can use the ReactiveX (RxJs) library with the SharePoint Framework to communicate between web parts through broadcasting events utilizing the Publish\u2013subscribe pattern. It enables a web part or component to emit event (broadcast message) and that event is received by other web parts or components that have been subscribed to receive it. Please note this is custom implementation of the Publish\u2013subscribe pattern by using the ReactiveX (RxJs) library. The SPFx will nativelly support this in future without the need of custom implementation through new SPFx api called Event Aggregator, but it is still in Alpha." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-rxjs-event-emitter/assets/spfx-event-emitter.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-rxjs-event-emitter/assets/spfx-event-emitter.gif", "alt": "ReactiveX (RxJs) Event Emitter Sample" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-save-attachments/assets/sample.json b/samples/react-save-attachments/assets/sample.json index f75585f54..9cc9c9d04 100644 --- a/samples/react-save-attachments/assets/sample.json +++ b/samples/react-save-attachments/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Save Attachments", "shortDescription": "This SPFx Outlook Add-In lets users save any email attachments to a OneDrive folder.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-save-attachments", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-save-attachments", "longDescription": [ "This SPFx Outlook Add-In lets users save any email attachments to a OneDrive folder." ], @@ -32,19 +32,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-save-attachments/assets/ReactSaveAttachments.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-save-attachments/assets/ReactSaveAttachments.gif", "alt": "Save Attachments" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-save-attachments/assets/react-save-attachments-1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-save-attachments/assets/react-save-attachments-1.png?raw=true", "alt": "Save Attachments" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-save-attachments/assets/react-save-attachments-2.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-save-attachments/assets/react-save-attachments-2.gif?raw=true", "alt": "Save Attachments" } ], diff --git a/samples/react-script-editor-onprem/assets/sample.json b/samples/react-script-editor-onprem/assets/sample.json index c0a9d9fd3..96cbba3ca 100644 --- a/samples/react-script-editor-onprem/assets/sample.json +++ b/samples/react-script-editor-onprem/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Script editor web part for modern pages", "shortDescription": "Coming from old classic SharePoint pages you might have existing script solutions you want to re-use on a modern page without having to repackage it as a new SharePoint Framework web part. This web part is similar to the classic Script Editor Web Part, and allows you do drop arbitrary script or html on a modern page.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-script-editor-onprem", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-script-editor-onprem", "longDescription": [ "Coming from old classic SharePoint pages you might have existing script solutions you want to re-use on a modern page without having to repackage it as a new SharePoint Framework web part. This web part is similar to the classic Script Editor Web Part, and allows you do drop arbitrary script or html on a modern page." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-script-editor-onprem/assets/modern-script-editor-wp.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-script-editor-onprem/assets/modern-script-editor-wp.gif", "alt": "Script editor web part for modern pages" } ], @@ -58,4 +58,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-script-editor/assets/sample.json b/samples/react-script-editor/assets/sample.json index 1d4b52bdc..70c394a69 100644 --- a/samples/react-script-editor/assets/sample.json +++ b/samples/react-script-editor/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Script editor web part", "shortDescription": "Coming from old classic SharePoint pages you might have existing script solutions you want to re-use on a modern page without having to repackage it as a new SharePoint Framework web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-script-editor", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-script-editor", "longDescription": [ "Coming from old classic SharePoint pages you might have existing script solutions you want to re-use on a modern page without having to repackage it as a new SharePoint Framework web part." ], @@ -36,13 +36,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-script-editor/assets/modern-script-editor-wp.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-script-editor/assets/modern-script-editor-wp.gif", "alt": "Script editor web part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-script-editor/assets/modern-script-editor-wp-teams.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-script-editor/assets/modern-script-editor-wp-teams.gif?raw=true", "alt": "Script editor web part" } ], @@ -73,4 +73,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-search/assets/sample.json b/samples/react-search/assets/sample.json index 9fb13ad6e..aa174861a 100644 --- a/samples/react-search/assets/sample.json +++ b/samples/react-search/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Search Client-Side Web Part built with React and Flux", "shortDescription": "Sample Search Web Part with internal and external template support. This sample illustrates how you can use React and Flux within the SharePoint Framework.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-search", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-search", "longDescription": [ "Sample Search Web Part with internal and external template support. This sample illustrates how you can use React and Flux within the SharePoint Framework." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-search/assets/preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-search/assets/preview.png", "alt": "Search Client-Side Web Part built with React and Flux" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-search/assets/external.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-search/assets/external.png?raw=true", "alt": "Search Client-Side Web Part built with React and Flux" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-search/assets/internal.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-search/assets/internal.png?raw=true", "alt": "Search Client-Side Web Part built with React and Flux" } ], @@ -61,4 +61,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-securitygrid/assets/sample.json b/samples/react-securitygrid/assets/sample.json index d1ce33036..2e8da1a79 100644 --- a/samples/react-securitygrid/assets/sample.json +++ b/samples/react-securitygrid/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Security Grid", "shortDescription": "React-securitygrid is an SPFX web part that uses React and Office-UI-Fabric to render a grid showing which users have access to which lists/libraries/folders/files on a Web", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-securitygrid", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-securitygrid", "longDescription": [ "React-securitygrid is an SPFX web part that uses React and Office-UI-Fabric to render a grid showing which users have access to which lists/libraries/folders/files on a Web" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-securitygrid/src/images/MainDisplay.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-securitygrid/src/images/MainDisplay.gif", "alt": "Security Grid" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-side-panel/assets/sample.json b/samples/react-side-panel/assets/sample.json index a17d36198..54a9d5113 100644 --- a/samples/react-side-panel/assets/sample.json +++ b/samples/react-side-panel/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Side Panel Client-Side Web Part", "shortDescription": "The web part illustrates creation and usage of Side Panel (Sidebar) control.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-side-panel", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-side-panel", "longDescription": [ "The web part illustrates creation and usage of Side Panel (Sidebar) control." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-side-panel/assets/side-panel.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-side-panel/assets/side-panel.gif", "alt": "Side Panel Client-Side Web Part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-site-information/README.md b/samples/react-site-information/README.md index 81c5f6ae7..9bafe3d65 100644 --- a/samples/react-site-information/README.md +++ b/samples/react-site-information/README.md @@ -1,6 +1,6 @@ # Site Information -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/siteInformation. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/siteInformation. This web part provides you the ability to collect and present additional metadata on a web page for group associated team sites. The web part may be configured to display site title, a site contacts powered by a people picker, and a term from the term store, often used to provide classification for the site. @@ -29,9 +29,9 @@ The `Site Information` web part can be configured with the following properties: # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. # Screenshots @@ -39,7 +39,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/siteInformation +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/siteInformation # Minimal Path to Awesome diff --git a/samples/react-site-information/assets/sample.json b/samples/react-site-information/assets/sample.json index e0fbafdec..2fb4422c5 100644 --- a/samples/react-site-information/assets/sample.json +++ b/samples/react-site-information/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Site Information", "shortDescription": "This web part provides you the ability to collect and present additional metadata on a web page for group associated team sites. The web part may be configured to display site title, a site contacts powered by a people picker, and a term from the term store, often used to provide classification for the site.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-site-information", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-site-information", "longDescription": [ "This web part provides you the ability to collect and present additional metadata on a web page for group associated team sites. The web part may be configured to display site title, a site contacts powered by a people picker, and a term from the term store, often used to provide classification for the site." ], diff --git a/samples/react-site-provisioning-manager/assets/sample.json b/samples/react-site-provisioning-manager/assets/sample.json index 711320735..8c99306cc 100644 --- a/samples/react-site-provisioning-manager/assets/sample.json +++ b/samples/react-site-provisioning-manager/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Site Provisioning Manager Web Part", "shortDescription": "This sample shows how you can manage site provisioning by calling Azure functions.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-site-provisioning-manager", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-site-provisioning-manager", "longDescription": [ "This sample shows how you can manage site provisioning by calling Azure functions." ], @@ -28,25 +28,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-site-provisioning-manager/assets/screenshot.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-site-provisioning-manager/assets/screenshot.gif", "alt": "Site Provisioning Manager Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-site-provisioning-manager/assets/api-permissions.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-site-provisioning-manager/assets/api-permissions.png?raw=true", "alt": "Site Provisioning Manager Web Part" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-site-provisioning-manager/assets/functions-CORS-settings.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-site-provisioning-manager/assets/functions-CORS-settings.PNG?raw=true", "alt": "Site Provisioning Manager Web Part" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-site-provisioning-manager/assets/functions-visual-studio-publish-profile.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-site-provisioning-manager/assets/functions-visual-studio-publish-profile.png?raw=true", "alt": "Site Provisioning Manager Web Part" } ], diff --git a/samples/react-sitepages-metadata/README.md b/samples/react-sitepages-metadata/README.md index d863fe59e..7ea028994 100644 --- a/samples/react-sitepages-metadata/README.md +++ b/samples/react-sitepages-metadata/README.md @@ -19,7 +19,7 @@ Solution provides an enhancement to SitePages library that enables updating exis ## Prerequisites -> If you plan on using included PowerShell script make sure you have [PnP PowerShell](https://github.com/SharePoint/PnP-PowerShell) installed +> If you plan on using included PowerShell script make sure you have [PnP PowerShell](https://github.com/pnp/PnP-PowerShell) installed ## Solution diff --git a/samples/react-sitepages-metadata/assets/sample.json b/samples/react-sitepages-metadata/assets/sample.json index cd6f8b01e..41097d0bf 100644 --- a/samples/react-sitepages-metadata/assets/sample.json +++ b/samples/react-sitepages-metadata/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Sitepages Metadata", "shortDescription": "Solution provides an enhancement to SitePages library that enables updating existing items with metadata, and a rollup Web Part to display them.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-sitepages-metadata", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-sitepages-metadata", "longDescription": [ "Solution provides an enhancement to SitePages library that enables updating existing items with metadata, and a rollup Web Part to display them." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-sitepages-metadata/assets/demo-wp.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-sitepages-metadata/assets/demo-wp.gif", "alt": "Sitepages Metadata" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-sitepages-metadata/assets/demo-commandset.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-sitepages-metadata/assets/demo-commandset.gif?raw=true", "alt": "Sitepages Metadata" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-sites-selected-admin/assets/sample.json b/samples/react-sites-selected-admin/assets/sample.json index 910ace4f3..f6102817e 100644 --- a/samples/react-sites-selected-admin/assets/sample.json +++ b/samples/react-sites-selected-admin/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Sites Selected Admin", "shortDescription": "The web part lets you manage your Azure AD applications that have the Sites Selected Api permission. With this web part you\u0027ll get an UI for managing what app can connect to which site.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-sites-selected-admin", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-sites-selected-admin", "longDescription": [ "The web part lets you manage your Azure AD applications that have the Sites Selected Api permission. With this web part you\u0027ll get an UI for managing what app can connect to which site." ], @@ -28,25 +28,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-sites-selected-admin/assets/sites-manager-demo.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-sites-selected-admin/assets/sites-manager-demo.gif", "alt": "Sites Selected Admin" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-sites-selected-admin/assets/aad-appreg.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-sites-selected-admin/assets/aad-appreg.png?raw=true", "alt": "Sites Selected Admin" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-sites-selected-admin/assets/api-access-page.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-sites-selected-admin/assets/api-access-page.png?raw=true", "alt": "Sites Selected Admin" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-sites-selected-admin/assets/vsDemo.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-sites-selected-admin/assets/vsDemo.gif?raw=true", "alt": "Sites Selected Admin" } ], @@ -67,4 +67,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-skype-status/assets/sample.json b/samples/react-skype-status/assets/sample.json index b01446a9f..28f3df829 100644 --- a/samples/react-skype-status/assets/sample.json +++ b/samples/react-skype-status/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Skype Status Web Part", "shortDescription": "This sample demonstrates how to use the UCWA JS SDK for skype with the SharePoint Framework. It shows how to subscribe to status change of the different people of the organization but you can get much more information, checkout the documentation", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-skype-status", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-skype-status", "longDescription": [ "This sample demonstrates how to use the UCWA JS SDK for skype with the SharePoint Framework. It shows how to subscribe to status change of the different people of the organization but you can get much more information, checkout the documentation" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-skype-status/images/demo.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-skype-status/images/demo.gif", "alt": "Skype Status Web Part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-slide-swiper/assets/sample.json b/samples/react-slide-swiper/assets/sample.json index 70f0c34c6..b9959fa12 100644 --- a/samples/react-slide-swiper/assets/sample.json +++ b/samples/react-slide-swiper/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Slide Swiper", "shortDescription": "This SPFx React web part sample demonstrates mobile touch slide swiper. By default the swiper web part is responsive, has cross device and browser touch support and uses paging, but additional features like navigation, autoplay, loop of the slides and more can be enabled from the web part properties panel. The swiper web part can be used as carousel as well. The slides or cards template can easily be customized. The SPFx React swiper client side solution can easly be extended with more swiper, carousel like features because it is based on a popular feature rich JavaScript library called Swiper.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-slide-swiper", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-slide-swiper", "longDescription": [ "This SPFx React web part sample demonstrates mobile touch slide swiper. By default the swiper web part is responsive, has cross device and browser touch support and uses paging, but additional features like navigation, autoplay, loop of the slides and more can be enabled from the web part properties panel. The swiper web part can be used as carousel as well. The slides or cards template can easily be customized. The SPFx React swiper client side solution can easly be extended with more swiper, carousel like features because it is based on a popular feature rich JavaScript library called Swiper." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-slide-swiper/assets/SPFx-React-Slider-Swiper.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-slide-swiper/assets/SPFx-React-Slider-Swiper.gif", "alt": "Slide Swiper" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-smart-profile-photo-editor/assets/sample.json b/samples/react-smart-profile-photo-editor/assets/sample.json index 457a6cf58..d9c02dafc 100644 --- a/samples/react-smart-profile-photo-editor/assets/sample.json +++ b/samples/react-smart-profile-photo-editor/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Smart Profile Photo Editor", "shortDescription": "Uses Azure Cognitive Services to analyze and approve or reject user-submitted photos.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-smart-profile-photo-editor", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-smart-profile-photo-editor", "longDescription": [ "Uses Azure Cognitive Services to analyze and approve or reject user-submitted photos." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-smart-profile-photo-editor/assets/WebPartPreview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-smart-profile-photo-editor/assets/WebPartPreview.gif", "alt": "Smart Profile Photo Editor" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-soccer-highlights/assets/sample.json b/samples/react-soccer-highlights/assets/sample.json index 7aa0f4eed..a90b6a176 100644 --- a/samples/react-soccer-highlights/assets/sample.json +++ b/samples/react-soccer-highlights/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Soccer Highlights", "shortDescription": "This react web part sample displays Soccer Highlights from a public Soccer API.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-soccer-highlights", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-soccer-highlights", "longDescription": [ "This react web part sample displays Soccer Highlights from a public Soccer API." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-soccer-highlights/assets/SoccerHighlightsV1.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-soccer-highlights/assets/SoccerHighlightsV1.png", "alt": "Soccer Highlights" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-soccer-highlights/assets/SoccerHighlights.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-soccer-highlights/assets/SoccerHighlights.gif?raw=true", "alt": "Soccer Highlights" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-soccer-highlights/assets/SoccerHighlights.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-soccer-highlights/assets/SoccerHighlights.png?raw=true", "alt": "Soccer Highlights" } ], diff --git a/samples/react-sp-elevatedprivileges/assets/sample.json b/samples/react-sp-elevatedprivileges/assets/sample.json index a415c5e41..c0d5ea2b2 100644 --- a/samples/react-sp-elevatedprivileges/assets/sample.json +++ b/samples/react-sp-elevatedprivileges/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Communicate using elevated privileges with SharePoint", "shortDescription": "Sample SharePoint Framework client-side web part illustrating communication with SharePoint using elevated privileges through a custom Web API.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-sp-elevatedprivileges", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-sp-elevatedprivileges", "longDescription": [ "Sample SharePoint Framework client-side web part illustrating communication with SharePoint using elevated privileges through a custom Web API." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-sp-elevatedprivileges/assets/preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-sp-elevatedprivileges/assets/preview.png", "alt": "Communicate using elevated privileges with SharePoint" } ], diff --git a/samples/react-sp-pnp-js-property-decorators/assets/sample.json b/samples/react-sp-pnp-js-property-decorators/assets/sample.json index 25385cb88..5c208d8b1 100644 --- a/samples/react-sp-pnp-js-property-decorators/assets/sample.json +++ b/samples/react-sp-pnp-js-property-decorators/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Using PnP JS Core custom objects with @select and @expand decorators", "shortDescription": "This web part demonstrates how to use PnP JS Core Custom Objects with @select and @expand TypeScript decorators.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-sp-pnp-js-property-decorators", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-sp-pnp-js-property-decorators", "longDescription": [ "This web part demonstrates how to use PnP JS Core Custom Objects with @select and @expand TypeScript decorators." ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-sp-site-user-groups/assets/sample.json b/samples/react-sp-site-user-groups/assets/sample.json index fed7e0adc..0da0aab67 100644 --- a/samples/react-sp-site-user-groups/assets/sample.json +++ b/samples/react-sp-site-user-groups/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Site User and Group Information", "shortDescription": "Looks up the SharePoint site user/group ids related to a user. Azure AD groups that the user belongs to, and which are known to the SharePoint site, are also displayed.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-sp-site-user-groups", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-sp-site-user-groups", "longDescription": [ "Looks up the SharePoint site user/group ids related to a user. Azure AD groups that the user belongs to, and which are known to the SharePoint site, are also displayed." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-sp-site-user-groups/assets/screen1.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-sp-site-user-groups/assets/screen1.png", "alt": "Site User and Group Information" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-sp-site-user-groups/assets/screen2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-sp-site-user-groups/assets/screen2.png?raw=true", "alt": "Site User and Group Information" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-sp-site-user-groups/assets/screen3.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-sp-site-user-groups/assets/screen3.png?raw=true", "alt": "Site User and Group Information" } ], @@ -61,4 +61,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-spupsproperty-sync/assets/sample.json b/samples/react-spupsproperty-sync/assets/sample.json index 4a12d49b1..f2c86e44a 100644 --- a/samples/react-spupsproperty-sync/assets/sample.json +++ b/samples/react-spupsproperty-sync/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "SPUPS Property Sync", "shortDescription": "This component will help the administrators who are currently maintaining the user profiles in their organization.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-spupsproperty-sync", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-spupsproperty-sync", "longDescription": [ "This component will help the administrators who are currently maintaining the user profiles in their organization." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-spupsproperty-sync/assets/SPUPS-Sync.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-spupsproperty-sync/assets/SPUPS-Sync.gif", "alt": "SPUPS Property Sync" } ], @@ -58,4 +58,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-staffdirectory/assets/sample.json b/samples/react-staffdirectory/assets/sample.json index b4eeacfc2..75e813bd4 100644 --- a/samples/react-staffdirectory/assets/sample.json +++ b/samples/react-staffdirectory/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Staff Directory", "shortDescription": "This web part shows the current user\u0027s colleagues, and allows the user to search AD directory, The user can configure the properties to show when expand the user card.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-staffdirectory", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-staffdirectory", "longDescription": [ "This web part shows the current user\u0027s colleagues, and allows the user to search AD directory, The user can configure the properties to show when expand the user card." ], @@ -40,19 +40,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-staffdirectory/assets/staffdirectory.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-staffdirectory/assets/staffdirectory.gif", "alt": "Staff Directory" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-staffdirectory/assets/staffTeams01.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-staffdirectory/assets/staffTeams01.png?raw=true", "alt": "Staff Directory" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-staffdirectory/assets/staffTeams02.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-staffdirectory/assets/staffTeams02.png?raw=true", "alt": "Staff Directory" } ], diff --git a/samples/react-stock-information/README.md b/samples/react-stock-information/README.md index 92cb47c02..561b42bde 100644 --- a/samples/react-stock-information/README.md +++ b/samples/react-stock-information/README.md @@ -1,12 +1,12 @@ # Stock Information -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/stockInformation. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/stockInformation. -This web part provides you the ability to display basic stock information for one publicly traded stock on a web page. The web part may be configured to display a stock based on stock symbol as well as be set to automatically refresh the stock information every 60 (sixty) seconds. The web part depends on a service provided by [Alpha Advantage](https://www.alphavantage.co/). [Learn how to register for your api key](https://github.com/SharePoint/sp-starter-kit/blob/master/documentation/tenant-settings.md#request-a-custom-api-key-to-alpha-vantage). +This web part provides you the ability to display basic stock information for one publicly traded stock on a web page. The web part may be configured to display a stock based on stock symbol as well as be set to automatically refresh the stock information every 60 (sixty) seconds. The web part depends on a service provided by [Alpha Advantage](https://www.alphavantage.co/). [Learn how to register for your api key](https://github.com/pnp/sp-starter-kit/blob/master/documentation/tenant-settings.md#request-a-custom-api-key-to-alpha-vantage). -The api key provided by Alpha Advantage is added as a tenant property by the Starter Kit provisioning process. [Use the -StockAPIKey parameter when deploying the kit](https://github.com/SharePoint/sp-starter-kit/tree/master/provisioning#-stockapikey). +The api key provided by Alpha Advantage is added as a tenant property by the Starter Kit provisioning process. [Use the -StockAPIKey parameter when deploying the kit](https://github.com/pnp/sp-starter-kit/tree/master/provisioning#-stockapikey). -By default, the `Stock Information` web part will use the stock symbol set during the Starter Kit provisioning process when the [-StockSymbol](https://github.com/SharePoint/sp-starter-kit/tree/master/provisioning#-stocksymbol) parameter is provided. The default stock symbol is `MSFT`. The stock symbol may be customized per web part instance. +By default, the `Stock Information` web part will use the stock symbol set during the Starter Kit provisioning process when the [-StockSymbol](https://github.com/pnp/sp-starter-kit/tree/master/provisioning#-stocksymbol) parameter is provided. The default stock symbol is `MSFT`. The stock symbol may be customized per web part instance. ![Stock Information](https://github.com/pnp/sp-starter-kit/raw/master/assets/images/components/part-stock.gif) @@ -27,9 +27,9 @@ The `Stock Information` web part can be configured with the following properties # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. # Screenshots @@ -37,7 +37,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/stockInformation +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/stockInformation # Minimal Path to Awesome diff --git a/samples/react-stock-information/assets/sample.json b/samples/react-stock-information/assets/sample.json index 707ec1c25..fc2dab67d 100644 --- a/samples/react-stock-information/assets/sample.json +++ b/samples/react-stock-information/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Stock Information", "shortDescription": "This web part provides you the ability to display basic stock information for one publicly traded stock on a web page. The web part may be configured to display a stock based on stock symbol as well as be set to automatically refresh the stock information every 60 (sixty) seconds.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-stock-information", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-stock-information", "longDescription": [ "This web part provides you the ability to display basic stock information for one publicly traded stock on a web page. The web part may be configured to display a stock based on stock symbol as well as be set to automatically refresh the stock information every 60 (sixty) seconds." ], diff --git a/samples/react-tailwindcss/assets/sample.json b/samples/react-tailwindcss/assets/sample.json index 725f768a4..171dd16fc 100644 --- a/samples/react-tailwindcss/assets/sample.json +++ b/samples/react-tailwindcss/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Tailwind CSS", "shortDescription": "This project shows how to integrate Tailwind CSS framework into a SPFx React project.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-tailwindcss", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-tailwindcss", "longDescription": [ "This project shows how to integrate Tailwind CSS framework into a SPFx React project." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-tailwindcss/assets/react-tailwindcss-overview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-tailwindcss/assets/react-tailwindcss-overview.gif", "alt": "Tailwind CSS" } ], @@ -58,4 +58,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-target-audience/assets/sample.json b/samples/react-target-audience/assets/sample.json index d2ec86964..c709c0e7d 100644 --- a/samples/react-target-audience/assets/sample.json +++ b/samples/react-target-audience/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Target audience", "shortDescription": "Sample web part which uses a Generic React Component which enables it to have Target Audience functionality like what was available in classic web parts. Targets SharePoint Groups only within the site.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-target-audience", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-target-audience", "longDescription": [ "Sample web part which uses a Generic React Component which enables it to have Target Audience functionality like what was available in classic web parts. Targets SharePoint Groups only within the site." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-target-audience/assets/audience.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-target-audience/assets/audience.gif", "alt": "Target audience" } ], diff --git a/samples/react-taxonomypicker-panel/assets/sample.json b/samples/react-taxonomypicker-panel/assets/sample.json index 0ae593f80..eb103e33b 100644 --- a/samples/react-taxonomypicker-panel/assets/sample.json +++ b/samples/react-taxonomypicker-panel/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Taxonomy picker using Office UI Fabric Panel", "shortDescription": "Sample web part with Single and Multi-select taxonomy pickers using Office UI Fabric panel. The web part uses the Taxonomy API support available in the @pnp/taxonomy.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-taxonomypicker-panel", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-taxonomypicker-panel", "longDescription": [ "Sample web part with Single and Multi-select taxonomy pickers using Office UI Fabric panel. The web part uses the Taxonomy API support available in the @pnp/taxonomy." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-taxonomypicker-panel/assets/TaxonomyPicker.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-taxonomypicker-panel/assets/TaxonomyPicker.gif?raw=true", "alt": "Taxonomy picker using Office UI Fabric Panel" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-taxonomypicker-panel/assets/TaxonomyPicker.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-taxonomypicker-panel/assets/TaxonomyPicker.gif?raw=true", "alt": "Taxonomy picker using Office UI Fabric Panel" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-taxonomypicker/assets/sample.json b/samples/react-taxonomypicker/assets/sample.json index 12ec215e5..fa4ef7992 100644 --- a/samples/react-taxonomypicker/assets/sample.json +++ b/samples/react-taxonomypicker/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Taxonomy Picker", "shortDescription": "A Taxonomy Picker control built with React based on react-taxonomypicker for use with SharePoint Framework client-side web parts (SPFx).", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-taxonomypicker", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-taxonomypicker", "longDescription": [ "A Taxonomy Picker control built with React based on react-taxonomypicker for use with SharePoint Framework client-side web parts (SPFx)." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-taxonomypicker/assets/react-taxonomy-picker-spfx.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-taxonomypicker/assets/react-taxonomy-picker-spfx.gif", "alt": "Taxonomy Picker" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-team-creator/assets/sample.json b/samples/react-team-creator/assets/sample.json index e4688cf3a..dfa16f319 100644 --- a/samples/react-team-creator/assets/sample.json +++ b/samples/react-team-creator/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Teams Creator Web Part", "shortDescription": "The web part illustrates usage of MS Graph beta APIs to work with Teams", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-team-creator", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-team-creator", "longDescription": [ "The web part illustrates usage of MS Graph beta APIs to work with Teams" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-team-creator/assets/teams-creator.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-team-creator/assets/teams-creator.png", "alt": "Teams Creator Web Part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-teams-configure-tab/assets/sample.json b/samples/react-teams-configure-tab/assets/sample.json index af6f9d24b..be8034425 100644 --- a/samples/react-teams-configure-tab/assets/sample.json +++ b/samples/react-teams-configure-tab/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Teams Configuration Tab", "shortDescription": "This web part makes a modern SharePoint page into a Teams tab configuration page for use in a Teams application. This allows low-code developers to create Teams applications containing configurable tabs without the need to code a custom configuration page. Using this tool, along with Microsoft Teams App Studio, low-code developers can build Teams applications entirely from modern SharePoint pages.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-configure-tab", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-configure-tab", "longDescription": [ "This web part makes a modern SharePoint page into a Teams tab configuration page for use in a Teams application. This allows low-code developers to create Teams applications containing configurable tabs without the need to code a custom configuration page. Using this tool, along with Microsoft Teams App Studio, low-code developers can build Teams applications entirely from modern SharePoint pages." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-configure-tab/documentation/images/SPTabAppStudioTeamsTab006.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-configure-tab/documentation/images/SPTabAppStudioTeamsTab006.png", "alt": "Teams Configuration Tab" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-teams-meeting-app-questionnaire/assets/sample.json b/samples/react-teams-meeting-app-questionnaire/assets/sample.json index fed02d7bf..7df6c64cd 100644 --- a/samples/react-teams-meeting-app-questionnaire/assets/sample.json +++ b/samples/react-teams-meeting-app-questionnaire/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Questionnaire Teams Meeting App", "shortDescription": "Questionnaire meeting app provides Pre-meeting app experience for MS Teams meeting attendees to ask the questions related to meeting before the meeting starts.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-meeting-app-questionnaire", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-meeting-app-questionnaire", "longDescription": [ "SPFx v1.12 support for Microsoft Teams meeting apps development. Questionnaire meeting app provides Pre-meeting app experience for MS Teams meeting attendees to ask the questions related to meeting before the meeting starts.", "The Questionnaire meeting app displays the questions from attendees as pre-meeting app experience." @@ -34,13 +34,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-meeting-app-questionnaire/assets/web-part-preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-meeting-app-questionnaire/assets/web-part-preview.gif", "alt": "Web Part Preview" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-meeting-app-questionnaire/assets/questionnaire-preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-meeting-app-questionnaire/assets/questionnaire-preview.png", "alt": "Questionnaire Preview" } ], diff --git a/samples/react-teams-membership-updater/assets/sample.json b/samples/react-teams-membership-updater/assets/sample.json index f271351ee..abab23cef 100644 --- a/samples/react-teams-membership-updater/assets/sample.json +++ b/samples/react-teams-membership-updater/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Teams Membership Updater", "shortDescription": "Used to update the membership of a team based on the contents of a CSV file, can be hosted in a SharePoint site where a list can be defined for logging purposes or run inside teams as a personal app.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-membership-updater", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-membership-updater", "longDescription": [ "Used to update the membership of a team based on the contents of a CSV file, can be hosted in a SharePoint site where a list can be defined for logging purposes or run inside teams as a personal app." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-membership-updater/assets/Screenshot-2020-05-01.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-membership-updater/assets/Screenshot-2020-05-01.png", "alt": "Web part in action" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-membership-updater/assets/teamsmembership.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-membership-updater/assets/teamsmembership.gif", "alt": "Web part in action" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-membership-updater/assets/72f2b53a-f9be-4344-8fec-f4a09961a25b.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-membership-updater/assets/72f2b53a-f9be-4344-8fec-f4a09961a25b.png", "alt": "Web part in action" } ], diff --git a/samples/react-teams-message-user/assets/sample.json b/samples/react-teams-message-user/assets/sample.json index 044c9ea21..0a6a77a8e 100644 --- a/samples/react-teams-message-user/assets/sample.json +++ b/samples/react-teams-message-user/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Message Teams User", "shortDescription": "Sample that shows how to send a message to Microsoft Teams using a SharePoint framework solution using Microsoft Graph.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-message-user", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-message-user", "longDescription": [ "Sample that shows how to send a message to Microsoft Teams using a SharePoint framework solution using Microsoft Graph." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-message-user/assets/webPart-preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-message-user/assets/webPart-preview.png", "alt": "Message Teams User" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-teams-message-user/assets/MessageTeams.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-teams-message-user/assets/MessageTeams.gif?raw=true", "alt": "Message Teams User" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-teams-message/assets/sample.json b/samples/react-teams-message/assets/sample.json index 1aed4e08e..ac19225ac 100644 --- a/samples/react-teams-message/assets/sample.json +++ b/samples/react-teams-message/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "React Teams Messages", "shortDescription": "This is a sample web part that displays currently logged in user\u0027s Microsoft Teams(user is member of), its channels and will allow sending messages to any Team\u0027s channel.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-message", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-message", "longDescription": [ "This is a sample web part that displays currently logged in user\u0027s Microsoft Teams(user is member of), its channels and will allow sending messages to any Team\u0027s channel." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-message/assets/myteamsmessage.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-message/assets/myteamsmessage.gif", "alt": "React Teams Messages" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-teams-message/assets/webpartproperties.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-teams-message/assets/webpartproperties.jpg?raw=true", "alt": "React Teams Messages" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-teams-personal-app-settings/assets/sample.json b/samples/react-teams-personal-app-settings/assets/sample.json index 906ee05d1..4f1dab96d 100644 --- a/samples/react-teams-personal-app-settings/assets/sample.json +++ b/samples/react-teams-personal-app-settings/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Teams Personal App Settings Web Part", "shortDescription": "Demonstrates how you can store Teams Personal App Web Part\u0027s properties in user\u0027s OneDrive.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-personal-app-settings", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-personal-app-settings", "longDescription": [ "Demonstrates how you can store Teams Personal App Web Part\u0027s properties in user\u0027s OneDrive." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-personal-app-settings/assets/teams-personal-app-settings.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-personal-app-settings/assets/teams-personal-app-settings.png", "alt": "Teams Personal App Settings Web Part" } ], @@ -58,4 +58,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-teams-send-notification/assets/sample.json b/samples/react-teams-send-notification/assets/sample.json index 04696a3c8..4b25a64b2 100644 --- a/samples/react-teams-send-notification/assets/sample.json +++ b/samples/react-teams-send-notification/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Send Notifications in Teams", "shortDescription": "This web part allows you to send MS Teams feed notifications to a selected user", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-send-notification", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-send-notification", "longDescription": [ "This web part allows you to send MS Teams feed notifications to a selected user" ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-send-notification/assets/teams-notification-sender.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-send-notification/assets/teams-notification-sender.gif", "alt": "Send Notifications in Teams" } ], @@ -57,4 +57,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-teams-tab-field-visit-mashup/assets/sample.json b/samples/react-teams-tab-field-visit-mashup/assets/sample.json index ce24d188e..afc6aa26d 100644 --- a/samples/react-teams-tab-field-visit-mashup/assets/sample.json +++ b/samples/react-teams-tab-field-visit-mashup/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Teams Tab - Field Visit Demo (Mashup)", "shortDescription": "A web part for use in Microsoft Teams that displays a mashup of information partaining to customer visits.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-tab-field-visit-mashup", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-tab-field-visit-mashup", "longDescription": [ "A web part for use in Microsoft Teams that displays a mashup of information partaining to customer visits." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-tab-field-visit-mashup/documentation/FieldVisitDemo.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-tab-field-visit-mashup/documentation/FieldVisitDemo.png", "alt": "Teams Tab - Field Visit Demo (Mashup)" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-teams-tab-suggested-members/assets/sample.json b/samples/react-teams-tab-suggested-members/assets/sample.json index 613fbce46..54dd2e518 100644 --- a/samples/react-teams-tab-suggested-members/assets/sample.json +++ b/samples/react-teams-tab-suggested-members/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Group members suggestion", "shortDescription": "This web part uses Graph API to suggest you members to add to a group (based on People endpoint), so you can easily add those members to the Group / Teams. It can be used as a SharePoint web part or Teams tab", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-tab-suggested-members", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-tab-suggested-members", "longDescription": [ "This web part uses Graph API to suggest you members to add to a group (based on People endpoint), so you can easily add those members to the Group / Teams. It can be used as a SharePoint web part or Teams tab" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-tab-suggested-members/assets/SuggestedMembersTeamsTab.jpg", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-tab-suggested-members/assets/SuggestedMembersTeamsTab.jpg", "alt": "Group members suggestion" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-teams-tabs-pnpjs/assets/sample.json b/samples/react-teams-tabs-pnpjs/assets/sample.json index 47da22668..1b89ceb06 100644 --- a/samples/react-teams-tabs-pnpjs/assets/sample.json +++ b/samples/react-teams-tabs-pnpjs/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "MS Teams Channels and Tabs from Modern Team site", "shortDescription": "A SPFx Web Part using @pnp/graph/teams. It shows Channels and Tabs (with link) from a Modern Team Site connected to Microsoft Teams.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-tabs-pnpjs", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-tabs-pnpjs", "longDescription": [ "A SPFx Web Part using @pnp/graph/teams. It shows Channels and Tabs (with link) from a Modern Team Site connected to Microsoft Teams." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-tabs-pnpjs/assets/react-teams-tabs-pnpjs-webpart-animated.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-tabs-pnpjs/assets/react-teams-tabs-pnpjs-webpart-animated.gif", "alt": "MS Teams Channels and Tabs from Modern Team site" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-teams-tabs-pnpjs/assets/react-teams-tabs-pnpjs-webpart.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-teams-tabs-pnpjs/assets/react-teams-tabs-pnpjs-webpart.png?raw=true", "alt": "MS Teams Channels and Tabs from Modern Team site" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-teams-tagging/assets/sample.json b/samples/react-teams-tagging/assets/sample.json index 829919fc9..b06b68a05 100644 --- a/samples/react-teams-tagging/assets/sample.json +++ b/samples/react-teams-tagging/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Tag Teams using a TermSet in SharePoint", "shortDescription": "This sample shows how read and update a custom Schema extension in MS Graph to Tag a Team using metadata from a specific TermSet in SharePoint.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-teams-tagging", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-teams-tagging", "longDescription": [ "This sample shows how read and update a custom Schema extension in MS Graph to Tag a Team using metadata from a specific TermSet in SharePoint." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-teams-tagging/assets/webpart.JPG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-teams-tagging/assets/webpart.JPG", "alt": "Tag Teams using a TermSet in SharePoint" } ], @@ -57,4 +57,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-tenant-properties/assets/sample.json b/samples/react-tenant-properties/assets/sample.json index 1abebc052..d90fdbe3f 100644 --- a/samples/react-tenant-properties/assets/sample.json +++ b/samples/react-tenant-properties/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Tenant Properties Web Part", "shortDescription": "This web part allows tenant administrators to manage tenant properties through a graphical interface. We can create, edit or delete tenant properties.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-tenant-properties", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-tenant-properties", "longDescription": [ "This web part allows tenant administrators to manage tenant properties through a graphical interface. We can create, edit or delete tenant properties." ], @@ -34,25 +34,25 @@ { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-tenant-properties/assets/TenantProperties1.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-tenant-properties/assets/TenantProperties1.jpg?raw=true", "alt": "Tenant Properties Web Part" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-tenant-properties/assets/TenantProperties3.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-tenant-properties/assets/TenantProperties3.jpg?raw=true", "alt": "Tenant Properties Web Part" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-tenant-properties/assets/TenantProperties4.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-tenant-properties/assets/TenantProperties4.jpg?raw=true", "alt": "Tenant Properties Web Part" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-tenant-properties/assets/TenantProperties5.jpg?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-tenant-properties/assets/TenantProperties5.jpg?raw=true", "alt": "Tenant Properties Web Part" } ], @@ -80,4 +80,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-themes/assets/sample.json b/samples/react-themes/assets/sample.json index 8dff37946..f82f9bf47 100644 --- a/samples/react-themes/assets/sample.json +++ b/samples/react-themes/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "SharePoint Themes Client Side Web Part", "shortDescription": "This web part illustrates how to use SharePoint Theme variables in custom web parts.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-themes", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-themes", "longDescription": [ "This web part illustrates how to use SharePoint Theme variables in custom web parts." ], @@ -32,13 +32,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-themes/assets/themes.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-themes/assets/themes.png", "alt": "SharePoint Themes Client Side Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-themes/assets/SectionThemes.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-themes/assets/SectionThemes.png?raw=true", "alt": "SharePoint Themes Client Side Web Part" } ], @@ -64,4 +64,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-tiles/README.md b/samples/react-tiles/README.md index 7acc1eccc..331f43494 100644 --- a/samples/react-tiles/README.md +++ b/samples/react-tiles/README.md @@ -1,6 +1,6 @@ # Tiles -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/tiles. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/tiles. This web part provides you the ability to add a per instance listing of tiled links. Tiles are stored as a collection of tiles within the web part's properties, removing the need for link storage within SharePoint lists, tenant properties, or other external link storage requirements. @@ -38,9 +38,9 @@ Configurable properties for each tile row within the `collectionData` collection # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. This web part requires access to the Microsoft Graph. # Screenshots @@ -48,7 +48,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/tiles +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/tiles # Minimal Path to Awesome diff --git a/samples/react-tiles/assets/sample.json b/samples/react-tiles/assets/sample.json index 2e9ed16e5..8d1f1f00e 100644 --- a/samples/react-tiles/assets/sample.json +++ b/samples/react-tiles/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Tiles", "shortDescription": "This web part provides you the ability to add a per instance listing of tiled links. Tiles are stored as a collection of tiles within the web part\u0027s properties, removing the need for link storage within SharePoint lists, tenant properties, or other external link storage requirements.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-tiles", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-tiles", "longDescription": [ "This web part provides you the ability to add a per instance listing of tiled links. Tiles are stored as a collection of tiles within the web part\u0027s properties, removing the need for link storage within SharePoint lists, tenant properties, or other external link storage requirements." ], diff --git a/samples/react-timeline/assets/sample.json b/samples/react-timeline/assets/sample.json index 9e75032ca..816e0b46c 100644 --- a/samples/react-timeline/assets/sample.json +++ b/samples/react-timeline/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Timeline", "shortDescription": "This sample displays list of events in chronological order. It is typically a graphic design showing a long bar labelled with dates paralleling it, and coexisting events. This web part helps to draw the timeline based from SharePoint list with pre-defined schema.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-timeline", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-timeline", "longDescription": [ "This sample displays list of events in chronological order. It is typically a graphic design showing a long bar labelled with dates paralleling it, and coexisting events. This web part helps to draw the timeline based from SharePoint list with pre-defined schema." ], @@ -28,43 +28,43 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-timeline/assets/webpart-preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-timeline/assets/webpart-preview.gif", "alt": "Timeline" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-timeline/assets/event-crud.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-timeline/assets/event-crud.gif?raw=true", "alt": "Timeline" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-timeline/assets/layout-horizontal.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-timeline/assets/layout-horizontal.png?raw=true", "alt": "Timeline" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-timeline/assets/layout-vertical.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-timeline/assets/layout-vertical.png?raw=true", "alt": "Timeline" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-timeline/assets/list-sample-data.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-timeline/assets/list-sample-data.png?raw=true", "alt": "Timeline" }, { "type": "image", "order": 105, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-timeline/assets/list-schema.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-timeline/assets/list-schema.png?raw=true", "alt": "Timeline" }, { "type": "image", "order": 106, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-timeline/assets/wepart-propertypane.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-timeline/assets/wepart-propertypane.png?raw=true", "alt": "Timeline" } ], @@ -91,4 +91,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-tinymce/assets/sample.json b/samples/react-tinymce/assets/sample.json index 038db57ac..cc0dd1256 100644 --- a/samples/react-tinymce/assets/sample.json +++ b/samples/react-tinymce/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "TinyMCE Editor Web Part Integration with SharePoint", "shortDescription": "React TinyMCE is one of the worlds most popular editors for the web. It has many features out of the box and many more plugins that can be added when needed. You can create your own plugins if you want, the editor is powered by the communitiy.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-tinymce", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-tinymce", "longDescription": [ "React TinyMCE is one of the worlds most popular editors for the web. It has many features out of the box and many more plugins that can be added when needed. You can create your own plugins if you want, the editor is powered by the communitiy." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-tinymce/assets/preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-tinymce/assets/preview.gif", "alt": "TinyMCE Editor Web Part Integration with SharePoint" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-todo-basic/assets/sample.json b/samples/react-todo-basic/assets/sample.json index f5c69eee8..29bf646e6 100644 --- a/samples/react-todo-basic/assets/sample.json +++ b/samples/react-todo-basic/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Todo Basic", "shortDescription": "A simple todo web part built using react to showcase some of the SharePoint Framework developer features, utilities and best practices in building react based web parts.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-todo-basic", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-todo-basic", "longDescription": [ "A simple todo web part built using react to showcase some of the SharePoint Framework developer features, utilities and best practices in building react based web parts." ], @@ -28,31 +28,31 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-todo-basic/assets/todo-basic-demo.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-todo-basic/assets/todo-basic-demo.gif", "alt": "Todo Basic" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-todo-basic/assets/todo-basic-no-task-list.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-todo-basic/assets/todo-basic-no-task-list.gif?raw=true", "alt": "Todo Basic" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-todo-basic/assets/todo-basic-placeholder-edit-mode.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-todo-basic/assets/todo-basic-placeholder-edit-mode.png?raw=true", "alt": "Todo Basic" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-todo-basic/assets/todo-basic-placeholder-read-mode.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-todo-basic/assets/todo-basic-placeholder-read-mode.png?raw=true", "alt": "Todo Basic" }, { "type": "image", "order": 104, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-todo-basic/assets/todo-basic-placeholder.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-todo-basic/assets/todo-basic-placeholder.gif?raw=true", "alt": "Todo Basic" } ], @@ -73,4 +73,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-tour-pnpjs/assets/sample.json b/samples/react-tour-pnpjs/assets/sample.json index 6e4de00bc..39c75f09d 100644 --- a/samples/react-tour-pnpjs/assets/sample.json +++ b/samples/react-tour-pnpjs/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Tour Sample", "shortDescription": "A SPFx WebPart using PnP/PnPjs, @pnp/spfx-property-controls and ReactTourJS.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-tour-pnpjs", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-tour-pnpjs", "longDescription": [ "A SPFx WebPart using PnP/PnPjs, @pnp/spfx-property-controls and ReactTourJS." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-tour-pnpjs/assets/react-tour-pnpjs-webpart-animated.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-tour-pnpjs/assets/react-tour-pnpjs-webpart-animated.gif", "alt": "Tour Sample" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-tour-pnpjs/assets/react-tour-pnpjs-webpart-animated-details.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-tour-pnpjs/assets/react-tour-pnpjs-webpart-animated-details.png?raw=true", "alt": "Tour Sample" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-tour-pnpjs/assets/react-tour-pnpjs-webpart-configuration.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-tour-pnpjs/assets/react-tour-pnpjs-webpart-configuration.gif?raw=true", "alt": "Tour Sample" } ], @@ -60,4 +60,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-tree-orgchart/assets/sample.json b/samples/react-tree-orgchart/assets/sample.json index 68c92ab6a..400d7b73f 100644 --- a/samples/react-tree-orgchart/assets/sample.json +++ b/samples/react-tree-orgchart/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Tree Organization Web Part", "shortDescription": "The Tree Organization Web Part shows the Organization Chart of the or the team, the web part reads infomation from current user to build the Organization Chart.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-tree-orgchart", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-tree-orgchart", "longDescription": [ "The Tree Organization Web Part shows the Organization Chart of the or the team, the web part reads infomation from current user to build the Organization Chart." ], @@ -28,25 +28,25 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-tree-orgchart/assets/Screenshot1.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-tree-orgchart/assets/Screenshot1.png", "alt": "Tree Organization Web Part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-tree-orgchart/assets/react-tree-orgchart.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-tree-orgchart/assets/react-tree-orgchart.gif?raw=true", "alt": "Tree Organization Web Part" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-tree-orgchart/assets/Screenshot2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-tree-orgchart/assets/Screenshot2.png?raw=true", "alt": "Tree Organization Web Part" }, { "type": "image", "order": 103, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-tree-orgchart/assets/Screenshot3.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-tree-orgchart/assets/Screenshot3.png?raw=true", "alt": "Tree Organization Web Part" } ], diff --git a/samples/react-twitter/README.md b/samples/react-twitter/README.md index dfb2a3162..017e14c99 100644 --- a/samples/react-twitter/README.md +++ b/samples/react-twitter/README.md @@ -48,6 +48,6 @@ Version|Date|Comments ## Features This sample illustrates how to use [react-twitter-embed](https://www.npmjs.com/package/react-twitter-embed) module to display Twitter timeline of specific profile, likes, list, collection or url. -It also uses [PnP React Controls](https://github.com/SharePoint/sp-dev-fx-controls-react) and [PnP Property Controls](https://github.com/SharePoint/sp-dev-fx-property-controls) for rich web part and property pane components. +It also uses [PnP React Controls](https://github.com/pnp/sp-dev-fx-controls-react) and [PnP Property Controls](https://github.com/pnp/sp-dev-fx-property-controls) for rich web part and property pane components. diff --git a/samples/react-twitter/assets/sample.json b/samples/react-twitter/assets/sample.json index 98d071c5c..101fc5f77 100644 --- a/samples/react-twitter/assets/sample.json +++ b/samples/react-twitter/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Twitter Timeline", "shortDescription": "Sample web part to display Twitter timeline.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-twitter", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-twitter", "longDescription": [ "Sample web part to display Twitter timeline." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-twitter/assets/twitter-timeline.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-twitter/assets/twitter-timeline.png", "alt": "Twitter Timeline" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-upgrade-me/assets/sample.json b/samples/react-upgrade-me/assets/sample.json index 13c2e08f4..2c2796f8b 100644 --- a/samples/react-upgrade-me/assets/sample.json +++ b/samples/react-upgrade-me/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Upgrade Me", "shortDescription": "Use this web part to test the CLI for Microsoft 365 SPFx Project Upgrade.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-upgrade-me", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-upgrade-me", "longDescription": [ "Use this web part to test the CLI for Microsoft 365 SPFx Project Upgrade." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-upgrade-me/assets/react-upgrade-me.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-upgrade-me/assets/react-upgrade-me.png", "alt": "Upgrade Me" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-versiondisplay/assets/sample.json b/samples/react-versiondisplay/assets/sample.json index 0e3b1b536..209b40293 100644 --- a/samples/react-versiondisplay/assets/sample.json +++ b/samples/react-versiondisplay/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Displaying the version number in a web part", "shortDescription": "This very simple sample demonstrates three different approaches to display the version number of your SharePoint solution in your web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-versiondisplay", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-versiondisplay", "longDescription": [ "This very simple sample demonstrates three different approaches to display the version number of your SharePoint solution in your web part." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-versiondisplay/assets/VersionDisplay.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-versiondisplay/assets/VersionDisplay.gif", "alt": "Displaying the version number in a web part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-video-banner/assets/sample.json b/samples/react-video-banner/assets/sample.json index daaf14b63..fde5d7e61 100644 --- a/samples/react-video-banner/assets/sample.json +++ b/samples/react-video-banner/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Video Banner", "shortDescription": "Use this Web Part to add a video banner with a text on top of it to your pages. ", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-video-banner", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-video-banner", "longDescription": [ "Use this Web Part to add a video banner with a text on top of it to your pages. " ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-video-banner/assets/react-video-banner-demo1.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-video-banner/assets/react-video-banner-demo1.gif", "alt": "React Video Banner" } ], diff --git a/samples/react-videolibrary/assets/sample.json b/samples/react-videolibrary/assets/sample.json index 156eaa035..1e5b819f7 100644 --- a/samples/react-videolibrary/assets/sample.json +++ b/samples/react-videolibrary/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Video Library", "shortDescription": "A set of 3 SPFX webparts that use different open-source carousels (react-3d-carousel, reactjs-coverface, and react-slick) to display videos stored on an Office 365 Video Channel", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-videolibrary", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-videolibrary", "longDescription": [ "A set of 3 SPFX webparts that use different open-source carousels (react-3d-carousel, reactjs-coverface, and react-slick) to display videos stored on an Office 365 Video Channel" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-videolibrary/src/assets/react-3d-carousel.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-videolibrary/src/assets/react-3d-carousel.PNG", "alt": "Video Library" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-visio/assets/sample.json b/samples/react-visio/assets/sample.json index 1adb41812..1a48eeb90 100644 --- a/samples/react-visio/assets/sample.json +++ b/samples/react-visio/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Visio Embed", "shortDescription": "This sample shows how the Visio JavaScript APIs can be used within a web part. For sample purposes, this web part will display the name and the hyperlinks of a Visio shape when the user selects it.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-visio", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-visio", "longDescription": [ "This sample shows how the Visio JavaScript APIs can be used within a web part. For sample purposes, this web part will display the name and the hyperlinks of a Visio shape when the user selects it." ], @@ -32,7 +32,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-visio/assets/Preview.PNG", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-visio/assets/Preview.PNG", "alt": "Visio Embed" } ], @@ -58,4 +58,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-weather-information/README.md b/samples/react-weather-information/README.md index f431c3953..636c7b229 100644 --- a/samples/react-weather-information/README.md +++ b/samples/react-weather-information/README.md @@ -1,10 +1,10 @@ # Weather Information -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/weatherInformation. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/weatherInformation. This web part provides you the ability to display basic weather information for one location on a web page. The web part depends on a service provided by [Yahoo Weather API](https://developer.yahoo.com/weather/). -By default, the `Weather Information` web part will use the location **Seatle** during the Starter Kit provisioning process and can be overriden when the [-WeatherCity](https://github.com/SharePoint/sp-starter-kit/tree/master/provisioning#-weathercity) parameter is provided. +By default, the `Weather Information` web part will use the location **Seatle** during the Starter Kit provisioning process and can be overriden when the [-WeatherCity](https://github.com/pnp/sp-starter-kit/tree/master/provisioning#-weathercity) parameter is provided. ![Weather Information](https://github.com/pnp/sp-starter-kit/raw/master/assets/images/components/part-weather.gif) @@ -25,9 +25,9 @@ The `Weather Information` web part can be configured with the following properti # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. # Screenshots @@ -35,7 +35,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/weatherInformation +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/weatherInformation # Minimal Path to Awesome diff --git a/samples/react-weather-information/assets/sample.json b/samples/react-weather-information/assets/sample.json index 9c87d393a..b697f7af1 100644 --- a/samples/react-weather-information/assets/sample.json +++ b/samples/react-weather-information/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Weather Information", "shortDescription": "This web part provides you the ability to display basic weather information for one location on a web page. The web part depends on a service provided by Yahoo Weather API.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-weather-information", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-weather-information", "longDescription": [ "This web part provides you the ability to display basic weather information for one location on a web page. The web part depends on a service provided by Yahoo Weather API." ], diff --git a/samples/react-webcam/assets/sample.json b/samples/react-webcam/assets/sample.json index f2bbe11d7..bc8643849 100644 --- a/samples/react-webcam/assets/sample.json +++ b/samples/react-webcam/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Web/Mobile Camera Demo", "shortDescription": "This is sample web part to showcase how to open webcam and take photo in SPFx web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-webcam", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-webcam", "longDescription": [ "This is sample web part to showcase how to open webcam and take photo in SPFx web part." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-webcam/screens/4.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-webcam/screens/4.png?raw=true", "alt": "Web/Mobile Camera Demo" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-webhooks-realtime/assets/sample.json b/samples/react-webhooks-realtime/assets/sample.json index 65c60d76b..0b511d936 100644 --- a/samples/react-webhooks-realtime/assets/sample.json +++ b/samples/react-webhooks-realtime/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Webhooks Realtime", "shortDescription": "This web part demonstrates how to leverage the capabilities of SharePoint Webhooks. The libraries used by this web part are Socket.io, sp pnp js, moment.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-webhooks-realtime", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-webhooks-realtime", "longDescription": [ "This web part demonstrates how to leverage the capabilities of SharePoint Webhooks. The libraries used by this web part are Socket.io, sp pnp js, moment." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-webhooks-realtime/assets/spfx-react-webhooks-realtime.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-webhooks-realtime/assets/spfx-react-webhooks-realtime.gif", "alt": "Webhooks Realtime" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-webhooks-realtime/assets/Architecture.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-webhooks-realtime/assets/Architecture.png?raw=true", "alt": "Webhooks Realtime" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-webpartdetails/assets/sample.json b/samples/react-webpartdetails/assets/sample.json index bc67376f7..93116ca7e 100644 --- a/samples/react-webpartdetails/assets/sample.json +++ b/samples/react-webpartdetails/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Web Part Details", "shortDescription": "The web part illustrates how to get all the web part present in the current page, bind them in a multi-select dropdown.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-webpartdetails", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-webpartdetails", "longDescription": [ "The web part illustrates how to get all the web part present in the current page, bind them in a multi-select dropdown." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-webpartdetails/assets/webpartDetails.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-webpartdetails/assets/webpartDetails.png", "alt": "Web Part Details" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-word-game/assets/sample.json b/samples/react-word-game/assets/sample.json index 46d94ce95..4eacd447a 100644 --- a/samples/react-word-game/assets/sample.json +++ b/samples/react-word-game/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Word Game", "shortDescription": "A fun game where you unscramble the words before the time runs out. It stores everyone\u0027s high scores in a SharePoint List on the Site.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-word-game", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-word-game", "longDescription": [ "A fun game where you unscramble the words before the time runs out. It stores everyone\u0027s high scores in a SharePoint List on the Site." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-word-game/assets/preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-word-game/assets/preview.gif", "alt": "Word Game" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-word-game/assets/settings.PNG?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-word-game/assets/settings.PNG?raw=true", "alt": "Word Game" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-word-game/assets/wordgame_mobile.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-word-game/assets/wordgame_mobile.png?raw=true", "alt": "Word Game" } ], @@ -60,4 +60,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-world-clocks/assets/sample.json b/samples/react-world-clocks/assets/sample.json index 4c2ed6e1b..2b941b265 100644 --- a/samples/react-world-clocks/assets/sample.json +++ b/samples/react-world-clocks/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "React World Clocks", "shortDescription": "This sample is extension of the single World time clock sample that was provided in SP Starter Kit.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-world-clocks", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-world-clocks", "longDescription": [ "This sample is extension of the single World time clock sample that was provided in SP Starter Kit." ], @@ -28,19 +28,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-world-clocks/assets/ClocksInAction.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-world-clocks/assets/ClocksInAction.gif", "alt": "React World Clocks" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-world-clocks/assets/WebPart.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-world-clocks/assets/WebPart.png?raw=true", "alt": "React World Clocks" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-world-clocks/assets/WorldClockList.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-world-clocks/assets/WorldClockList.png?raw=true", "alt": "React World Clocks" } ], diff --git a/samples/react-world-time/README.md b/samples/react-world-time/README.md index 24760eeca..1894cab9c 100644 --- a/samples/react-world-time/README.md +++ b/samples/react-world-time/README.md @@ -1,6 +1,6 @@ # World Time -> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/worldTime. +> NOTE: This sample is available in the [PnP Starter Kit](https://github.com/pnp/sp-starter-kit). You can find the sample code for this web part at https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/worldTime. This web part provides you the ability to display basic clock for a given time zone on a web page. The clock is based on the user's workstation time with an offset from UTC to the selected time zone. @@ -23,9 +23,9 @@ The `World Time` web part can be configured with the following properties: # Installing the web part -See getting started from [SP-Starter-Kit repository readme](https://github.com/SharePoint/sp-starter-kit). +See getting started from [SP-Starter-Kit repository readme](https://github.com/pnp/sp-starter-kit). -You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/SharePoint/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. +You can also download just the [SharePoint Framework solution package (spppkg) file](https://github.com/pnp/sp-starter-kit/blob/master/package/sharepoint-starter-kit.sppkg) and install that to your tenant. # Screenshots @@ -33,7 +33,7 @@ You can also download just the [SharePoint Framework solution package (spppkg) f # Source Code -https://github.com/SharePoint/sp-starter-kit/tree/master/solution/src/webparts/worldTime +https://github.com/pnp/sp-starter-kit/tree/master/solution/src/webparts/worldTime # Minimal Path to Awesome diff --git a/samples/react-world-time/assets/sample.json b/samples/react-world-time/assets/sample.json index a9d6f4916..43808d74a 100644 --- a/samples/react-world-time/assets/sample.json +++ b/samples/react-world-time/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "World Time", "shortDescription": "This web part provides you the ability to display basic clock for a given time zone on a web page. The clock is based on the user\u0027s workstation time with an offset from UTC to the selected time zone.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-world-time", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-world-time", "longDescription": [ "This web part provides you the ability to display basic clock for a given time zone on a web page. The clock is based on the user\u0027s workstation time with an offset from UTC to the selected time zone." ], diff --git a/samples/react-yammer-api/assets/sample.json b/samples/react-yammer-api/assets/sample.json index e74fb8961..3ed65bf14 100644 --- a/samples/react-yammer-api/assets/sample.json +++ b/samples/react-yammer-api/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Yammer REST API web part", "shortDescription": "This sample shows how Yammer REST APIs can be consumed by using SharePoint Framework React web part and the Yammer JavaScript SDK. The SPFx web part contains wrapper around the Yammer JavaScript SDK that can be extended for fluent typescript api experience.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-yammer-api", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-yammer-api", "longDescription": [ "This sample shows how Yammer REST APIs can be consumed by using SharePoint Framework React web part and the Yammer JavaScript SDK. The SPFx web part contains wrapper around the Yammer JavaScript SDK that can be extended for fluent typescript api experience." ], @@ -28,13 +28,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-yammer-api/assets/spfx-yammer-api-webpart.jpg", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-yammer-api/assets/spfx-yammer-api-webpart.jpg", "alt": "Yammer REST API web part" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-yammer-api/assets/yammer-enabled-screen.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-yammer-api/assets/yammer-enabled-screen.png?raw=true", "alt": "Yammer REST API web part" } ], @@ -54,4 +54,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-yammer-praise/README.md b/samples/react-yammer-praise/README.md index 795978b34..7bb9d9a1d 100644 --- a/samples/react-yammer-praise/README.md +++ b/samples/react-yammer-praise/README.md @@ -68,6 +68,6 @@ To get access to Yammer API, we need to add the required permission to “ShareP Bundle and package the solution, deploy it to app catalog, then add the web part to any pages in SharePoint or add to your Teams. -Read my blog post for more information from [here](https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-yammer-api). +Read my blog post for more information from [here](https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-yammer-api). diff --git a/samples/react-yammer-praise/assets/sample.json b/samples/react-yammer-praise/assets/sample.json index 1e9aadf13..b1cb07485 100644 --- a/samples/react-yammer-praise/assets/sample.json +++ b/samples/react-yammer-praise/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Yammer Praise using aadTokenProvider", "shortDescription": "This sample shows how to post a praise to Yammer using aadTokenProvider (without Yammer JavaScript SDK).", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-yammer-praise", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-yammer-praise", "longDescription": [ "This sample shows how to post a praise to Yammer using aadTokenProvider (without Yammer JavaScript SDK)." ], @@ -36,13 +36,13 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-yammer-praise/assets/screenshot.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-yammer-praise/assets/screenshot.gif", "alt": "Yammer Praise using aadTokenProvider" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/react-yammer-praise/assets/screenshot2.gif?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/react-yammer-praise/assets/screenshot2.gif?raw=true", "alt": "Yammer Praise using aadTokenProvider" } ], @@ -68,4 +68,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-youtube/assets/sample.json b/samples/react-youtube/assets/sample.json index f71819424..9692d006b 100644 --- a/samples/react-youtube/assets/sample.json +++ b/samples/react-youtube/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Youtube Web Part", "shortDescription": "This web part allows to search and view the Youtube videos, across the Youtube API, directly on a SharePoint page, furthermore the property panel offers the possibility to specify the api key, the number of items to display and it is also possible specify a Youtube Channel Id.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-youtube", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-youtube", "longDescription": [ "This web part allows to search and view the Youtube videos, across the Youtube API, directly on a SharePoint page, furthermore the property panel offers the possibility to specify the api key, the number of items to display and it is also possible specify a Youtube Channel Id." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-youtube/assets/Preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-youtube/assets/Preview.gif", "alt": "Youtube Web Part" } ], @@ -55,4 +55,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/react-zpl-viewer/assets/sample.json b/samples/react-zpl-viewer/assets/sample.json index a11682bfe..d66fed900 100644 --- a/samples/react-zpl-viewer/assets/sample.json +++ b/samples/react-zpl-viewer/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "ZPL Viewer", "shortDescription": "This web part will allow a user to select a text file contatining zpl which is used to generate an image using the labelary web service to render the zpl and return the image.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/react-zpl-viewer", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-zpl-viewer", "longDescription": [ "This web part will allow a user to select a text file contatining zpl which is used to generate an image using the labelary web service to render the zpl and return the image." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/react-zpl-viewer/assets/preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-zpl-viewer/assets/preview.gif", "alt": "ZPL Viewer" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/riot-list/assets/sample.json b/samples/riot-list/assets/sample.json index 96e1b9ce1..367e4f316 100644 --- a/samples/riot-list/assets/sample.json +++ b/samples/riot-list/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "List RiotJS Client-Side Web Part", "shortDescription": "Simplistic sample Web Part that demonstrates the use of RiotJS in creating a SharePoint Framework web part.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/riot-list", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/riot-list", "longDescription": [ "Simplistic sample Web Part that demonstrates the use of RiotJS in creating a SharePoint Framework web part." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/riot-list/assets/riot-list-preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/riot-list/assets/riot-list-preview.gif", "alt": "List RiotJS Client-Side Web Part" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/sample-metadatatemplate.json b/samples/sample-metadatatemplate.json index 2818fe7d4..4d5b0001c 100644 --- a/samples/sample-metadatatemplate.json +++ b/samples/sample-metadatatemplate.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "TODO", "shortDescription": "TODO", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/TODO", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/TODO", "longDescription": [ "TODO" ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/TODO", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/TODO", "alt": "TODO" } ], diff --git a/samples/section-backgrounds/assets/sample.json b/samples/section-backgrounds/assets/sample.json index 7ab4b5f94..8fea33fdf 100644 --- a/samples/section-backgrounds/assets/sample.json +++ b/samples/section-backgrounds/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Supporting section backgrounds in your web parts", "shortDescription": "These samples show how to implement support for section backgrounds in your web parts.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/section-backgrounds", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/section-backgrounds", "longDescription": [ "These samples show how to implement support for section backgrounds in your web parts." ], @@ -32,19 +32,19 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/section-backgrounds/assets/webpartexample3.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/section-backgrounds/assets/webpartexample3.png", "alt": "Supporting section backgrounds in your web parts" }, { "type": "image", "order": 101, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/section-backgrounds/assets/webpartexample1.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/section-backgrounds/assets/webpartexample1.png?raw=true", "alt": "Supporting section backgrounds in your web parts" }, { "type": "image", "order": 102, - "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/master/samples/section-backgrounds/assets/webpartexample2.png?raw=true", + "url": "https://github.com/pnp/sp-dev-fx-webparts/blob/main/samples/section-backgrounds/assets/webpartexample2.png?raw=true", "alt": "Supporting section backgrounds in your web parts" } ], diff --git a/samples/sharepoint-crud/assets/sample.json b/samples/sharepoint-crud/assets/sample.json index 3a930dc20..aa26dfe6c 100644 --- a/samples/sharepoint-crud/assets/sample.json +++ b/samples/sharepoint-crud/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "SharePoint CRUD operations", "shortDescription": "Sample Web Parts illustrating performing SharePoint CRUD operations in React, Angular, JavaScript without any framework and using the @pnp/sp library.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/sharepoint-crud", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/sharepoint-crud", "longDescription": [ "Sample Web Parts illustrating performing SharePoint CRUD operations in React, Angular, JavaScript without any framework and using the @pnp/sp library." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/sharepoint-crud/assets/preview.png", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/sharepoint-crud/assets/preview.png", "alt": "SharePoint CRUD operations" } ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/vue-js-org-chart/assets/sample.json b/samples/vue-js-org-chart/assets/sample.json index 4b99af9d3..27535d28a 100644 --- a/samples/vue-js-org-chart/assets/sample.json +++ b/samples/vue-js-org-chart/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "VueJS Org Chart", "shortDescription": "A simple Organisation Chart web part using Office UI Fabric, VueJS, REST API.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/vue-js-org-chart", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/vue-js-org-chart", "longDescription": [ "A simple Organisation Chart web part using Office UI Fabric, VueJS, REST API." ], @@ -28,7 +28,7 @@ { "type": "image", "order": 100, - "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/master/samples/vue-js-org-chart/assets/preview.gif", + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/vue-js-org-chart/assets/preview.gif", "alt": "VueJS Org Chart" } ], @@ -48,4 +48,4 @@ } ] } -] \ No newline at end of file +] diff --git a/samples/vuejs-todo-single-file-component/assets/sample.json b/samples/vuejs-todo-single-file-component/assets/sample.json index 9a731d6a6..858703476 100644 --- a/samples/vuejs-todo-single-file-component/assets/sample.json +++ b/samples/vuejs-todo-single-file-component/assets/sample.json @@ -4,7 +4,7 @@ "source": "pnp", "title": "Todo Client Web Part built with Vue.js and Vue\u0027s single-file components", "shortDescription": "Sample Todo web part demonstrating how you can utilize Vue (a progressive framework for building user interfaces) with SharePoint Framework using handy single-file components approach.", - "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/master/samples/vuejs-todo-single-file-component", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/vuejs-todo-single-file-component", "longDescription": [ "Sample Todo web part demonstrating how you can utilize Vue (a progressive framework for building user interfaces) with SharePoint Framework using handy single-file components approach." ], @@ -49,4 +49,4 @@ } ] } -] \ No newline at end of file +] diff --git a/tutorials/api-scopes/README.md b/tutorials/api-scopes/README.md index 90a99ad26..d02c6d3d3 100644 --- a/tutorials/api-scopes/README.md +++ b/tutorials/api-scopes/README.md @@ -33,7 +33,7 @@ To build and run this client-side project, you will need to clone and build the Clone this repo by executing the following command in your console: ``` -git clone https://github.com/SharePoint/sp-dev-fx-webparts.git +git clone https://github.com/pnp/sp-dev-fx-webparts.git ``` Navigate to the cloned repo folder which should be the same as the repo name: diff --git a/tutorials/tutorial-getting-started/README.md b/tutorials/tutorial-getting-started/README.md index 4834d346a..e70f00c87 100644 --- a/tutorials/tutorial-getting-started/README.md +++ b/tutorials/tutorial-getting-started/README.md @@ -50,7 +50,7 @@ To build and run this client-side project, you will need to clone and build the Clone this repo by executing the following command in your console: ``` -git clone https://github.com/SharePoint/sp-dev-fx-webparts.git +git clone https://github.com/pnp/sp-dev-fx-webparts.git ``` Navigate to the cloned repo folder which should be the same as the repo name: diff --git a/tutorials/tutorial-migrate-datatables/README.md b/tutorials/tutorial-migrate-datatables/README.md index 9f2688860..8fadb9319 100644 --- a/tutorials/tutorial-migrate-datatables/README.md +++ b/tutorials/tutorial-migrate-datatables/README.md @@ -47,7 +47,7 @@ To build and run this client-side project, you will need to clone and build the Clone this repo by executing the following command in your console: ```console -git clone https://github.com/SharePoint/sp-dev-fx-webparts.git +git clone https://github.com/pnp/sp-dev-fx-webparts.git ``` Navigate to the cloned repo folder which should be the same as the repo name: diff --git a/tutorials/tutorial-migrate-fullcalendar/README.md b/tutorials/tutorial-migrate-fullcalendar/README.md index d70ba563a..bbc30f711 100644 --- a/tutorials/tutorial-migrate-fullcalendar/README.md +++ b/tutorials/tutorial-migrate-fullcalendar/README.md @@ -48,7 +48,7 @@ To build and run this client-side project, you will need to clone and build the Clone this repo by executing the following command in your console: ```console -git clone https://github.com/SharePoint/sp-dev-fx-webparts.git +git clone https://github.com/pnp/sp-dev-fx-webparts.git ``` Navigate to the cloned repo folder which should be the same as the repo name: