spfx_placeholder_bug_sample

This is a sample project which demonstrates the "see all" bug: SharePoint/sp-dev-docs#1042

To reproduce -

  1. Deploy the extension to the CDN & App Catalog
  2. Deploy the extension to a modern communication site
  3. Click the "see all" link from the out-of-box events web part

This bug also occures with the out-of-box news web part when more than 4 articles are added (5 articles is the threshold for the see all link visibility). The extension remains missing when using the back button or clicking the home link

Folder Structure

root - - spfx_1-3-x (bug reproduced in spfx 1.3) - spfx_1-4-x - spfx_1-4-x (bug reproduced in spfx 1.4)

prototype

This is where you include your WebPart documentation.

?loadSPFX=true&debugManifestsFile=https://localhost:4321/temp/manifests.js&customActions={"87410d6e-ecea-436f-885b-57ed3e284e46":{"location":"ClientSideExtension.ApplicationCustomizer","properties":{"testMessage":"Hello as property!"}}}

Building the code

git clone the repo
npm i
npm i -g gulp
gulp

This package produces the following:

  • lib/* - intermediate-stage commonjs build artifacts
  • dist/* - the bundled script, along with other resources
  • deploy/* - all resources which should be uploaded to a CDN.

Build options

gulp clean - TODO gulp test - TODO gulp serve - TODO gulp bundle - TODO gulp package-solution - TODO