-
Notifications
You must be signed in to change notification settings - Fork 833
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade react-application-breadcrumb to SPFx v1.20.0 (#1419)
* upgrade to spfx v1.20.0 * Delete samples/react-application-breadcrumb/upgrade-report.md * Create sample.json add back the samples file * Add files via upload * Delete samples/react-application-breadcrumb/build.cmd remove windows build file * fix issue with the strings file
- Loading branch information
Showing
39 changed files
with
26,252 additions
and
20,964 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Dependency directories | ||
node_modules | ||
|
||
# Build generated files | ||
dist | ||
lib | ||
release | ||
solution | ||
temp | ||
*.sppkg | ||
.heft | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# Visual Studio files | ||
.ntvs_analysis.dat | ||
.vs | ||
bin | ||
obj | ||
|
||
# Resx Generated Code | ||
*.resx.ts | ||
|
||
# Styles Generated Code | ||
*.scss.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
!dist | ||
config | ||
|
||
gulpfile.js | ||
|
||
release | ||
src | ||
temp | ||
|
||
tsconfig.json | ||
tslint.json | ||
|
||
*.log | ||
|
||
.yo-rc.json | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v18.20.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,11 @@ extensions: | |
|
||
This sample shows how to create a breadcrumb element and append it to your site via the SharePoint Framework Application Customizer extension. | ||
|
||
![Breadcrumb sample](./assets/breadcrumb-sample.png) | ||
![1727992607183](image/README/1727992607183.png) | ||
|
||
## Used SharePoint Framework Version | ||
|
||
![SPFx 1.11](https://img.shields.io/badge/version-1.11.0-green.svg) | ||
![SPFx 1.20.0](https://img.shields.io/badge/version-1.20.0-green.svg) | ||
|
||
## Applies to | ||
|
||
|
@@ -32,18 +32,20 @@ This sample shows how to create a breadcrumb element and append it to your site | |
|
||
## Solution | ||
|
||
Solution|Author(s) | ||
--------|--------- | ||
React-application-breadcrumb | Elio Struyf (MVP, U2U, [@eliostruyf](https://twitter.com/eliostruyf)) | ||
React-application-breadcrumb | Swaminathan Sriram ([@SwaminathanSri3](https://twitter.com/SwaminathanSri3)) -- Upgrade to SPFx 1.11 | ||
| Solution | Author(s) | | ||
| ----------------------------------- | ------------------------------------------------------------------------------------------------- | | ||
| React-application-breadcrumb | Elio Struyf (MVP, U2U,[@eliostruyf](https://twitter.com/eliostruyf)) | | ||
| React-application-breadcrumb | Swaminathan Sriram ([@SwaminathanSri3](https://twitter.com/SwaminathanSri3)) -- Upgrade to SPFx 1.11 | | ||
| [email protected] | Thomas Daly (MVP, [@\_tomdaly\_](https://twitter.com/_tomdaly_)) | | ||
|
||
## Version history | ||
|
||
Version|Date|Comments | ||
-------|----|-------- | ||
2.0|October 3, 2020|Updated to SPFx v1.11 | ||
1.1|August 31, 2017|Updates for v1.2.0 | ||
1.0|August 9, 2017|Initial release | ||
| Version | Date | Comments | | ||
| ------- | ---------------- | ----------------------------------------------------------- | | ||
| 2.1 | October 10, 2024 | Upgrade SPFx from v1.11 to v1.20.0, update to use Fluent UI | | ||
| 2.0 | October 3, 2020 | Updated to SPFx v1.11 | | ||
| 1.1 | August 31, 2017 | Updates for v1.2.0 | | ||
| 1.0 | August 9, 2017 | Initial release | | ||
|
||
## Disclaimer | ||
|
||
|
@@ -57,7 +59,7 @@ Version|Date|Comments | |
- Move to folder where this readme exists | ||
- In the command window run: | ||
- `npm install` | ||
- `gulp serve --nobrowser` | ||
- `gulp serve --nobrowser` | ||
- Open your SharePoint developer site and append the provided query string parameters from the command output | ||
|
||
> If you want, you can also test bundle and package it. The necessary feature configuration has already been done. | ||
|
@@ -73,8 +75,9 @@ Here's a debug URL for testing around this sample. | |
## Features | ||
|
||
This project contains SharePoint Framework extensions that illustrates next features: | ||
|
||
* Calling the SharePoint REST APIs | ||
* Using React components in SharePoint Framework application customizer extensions | ||
* Using an Office UI Fabric component to built the site breadcrumb component | ||
* Using Fluent UI React library to build the site breadcrumb component | ||
|
||
<img src="https://m365-visitor-stats.azurewebsites.net/sp-dev-fx-extensions/samples/react-application-breadcrumb" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
samples/react-application-breadcrumb/config/deploy-azure-storage.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/core-build/sass.schema.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json", | ||
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/spfx-serve.schema.json", | ||
"port": 4321, | ||
"initialPage": "https://localhost:5432/workbench", | ||
"https": true, | ||
"api": { | ||
"port": 5432, | ||
"entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/" | ||
"serveConfigurations": { | ||
"default": { | ||
"pageUrl": "https://{tenantDomain}/SitePages/myPage.aspx", | ||
"customActions": { | ||
"57fa430d-8154-4b00-b285-679314f4f390": { | ||
"location": "ClientSideExtension.ApplicationCustomizer", | ||
"properties": {} | ||
} | ||
} | ||
}, | ||
"siteBreadcrumb": { | ||
"pageUrl": "https://{tenantDomain}/SitePages/myPage.aspx", | ||
"customActions": { | ||
"57fa430d-8154-4b00-b285-679314f4f390": { | ||
"location": "ClientSideExtension.ApplicationCustomizer", | ||
"properties": {} | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 0 additions & 37 deletions
37
samples/react-application-breadcrumb/gulpfile-serve-info.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
'use strict'; | ||
|
||
const gulp = require('gulp'); | ||
const build = require('@microsoft/sp-build-web'); | ||
|
||
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`); | ||
require('./gulpfile-serve-info'); | ||
|
||
build.initialize(gulp); | ||
var getTasks = build.rig.getTasks; | ||
build.rig.getTasks = function () { | ||
var result = getTasks.call(build.rig); | ||
|
||
result.set('serve', result.get('serve-deprecated')); | ||
|
||
return result; | ||
}; | ||
|
||
gulp.tasks['serve-info'].dep.push('serve'); | ||
build.initialize(require('gulp')); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.