Code Monkey home page Code Monkey logo

oliviercc / spfx-40-fantastics Goto Github PK

View Code? Open in Web Editor NEW
405.0 72.0 278.0 115.57 MB

This package is a sample kit of Client Side Web Parts built on the SharePoint Framework SPFx. You can find here different kind of high visual web parts as carousel, images galleries, animations, map, editors, etc.

License: MIT License

JavaScript 24.21% CSS 22.88% TypeScript 52.90% Batchfile 0.01%
sharepoint-framework sample-kit spfx sharepoint sharepoint-online images-galleries charts carousels webpart

spfx-40-fantastics's Introduction

SPFx Fantastic 40 Web Parts

release status mit

This package is a sample kit of 40 great Client Side Web Parts built on the SharePoint Framework SPFx. You can find here different kind of high visual web parts as carousel, images galleries, custom editors, polls, charts, map, animations, etc. These WebParts are mainly based on best-class jQuery, React or Angular plugins and use the sp-client-custom-fields library to optimize the edit experience. And Yes, these web parts are free and open source, so have fun well to build effective SharePoint site.

These webparts are available: English, French, Spanish, German.

IMPORTANT NOTE: These web parts are not officially supported by Microsoft. Please use the "Issues" tab on this site to report bug or requests for development.

Current Version: v1.0.4 - Click here to download and install

Current SPFx Release support - GA - Release Note

For any question, you can also read the FAQ.

Logo

Menu & Carousels & News Management

Overview Web Part Description
News Carousel News Carousel Insert a classical, responsive, cool & touch ready News Carousel. With this web part, you can add easily news focus in your SharePoint site. The users can easily navigate in news items, with buttons or with touch.
Tiles Menu Tiles Menu This Web Part allows you to very easily create a menu in form of tiles that is responsive and adapted for mobile. You can directly manage the items on your menu, with a title, an image and manage Visual rendering options.
3d carousel 3D Carousel Insert a 3D Carousel in your SharePoint pages. With this Web Part, you can manage your menu items and create automatically a 3D carousel.
Coverflow Coverflow Generates a Coverflow Apple like menu in your pages. Manage your menu items with title and picture and create a cool coverflow menu.
News Slider News Slider Insert a News Slider Tiles control to your pages. In a few clicks you can create a slider with buttons allowing you to navigate horizontally in tiles. You can define your elements and customize the look and feel of your slider. This Web Part is responsive.
News Ticker News Ticker Insert a simple horizontal News Ticker to display news as a simple ribbon. This web part is usefull if you want to display Breaking News BBC like information in your site

Social Tools

Overview Web Part Description
Tweets Feed Tweets Feed With this Web Part, you can easily add a Twitter feed to any page. You have to specify the Twitter account you want to view messages, configure the Visual rendering, and twitter will be integrated into your site.
Social Share Social Share A web part to insert social share buttons as Yammer, Linkedin, Twitter, Facebook and more than 100 other social providers thanks to the Addthis services.
RSS Reader RSS Reader A web part to insert a full client side RSS/Atom Feed in your SharePoint pages. You can easily integrated a topical or competitive intelligence stream into your pages to your favorite RSS feeds.
Social Photo Stream Social Photo Stream A web part to insert a list of photo from populars photos sharing plateforms as Instagram, Pinterest, Flickr, Deviantart, Dribbble, & Picasa.

Maps, Charts & Graphs

Overview Web Part Description
Vertical Timeline Vertical Timeline A web part to generate a Facebook like vertical Timeline from SharePoint Calendar list items. For example, this Web Part is very convenient to build a synthetic view on your major project milestones. This Web Part uses CSS3 to optimize the user experience.
Pie Chart Pie Chart Insert a Pie chart with a few clicks in your SharePoint page. You can edit the data, choose values, colors, legends and all the graphics. You can generate graphs to fixed sizes or responsive mode.
Bar Chart Bar Chart To generate a chart in the form of a vertical or horizontal diagram. You can simply edit the data of the chart, change the values, labels, or colors. Create simply and effectively elegant and effective dashboards for your employees.
Line Chart Line Chart A simple and effective Web Part to generate a line chart in a page. You can choose the points on the line, set the line and fill, color, etc. Convenient to view financial results for example.
Radar Chart Radar Chart Offer elegant and alternative views to your data with this Web part. With the radar chart, you can for example easily see comparisons between data.
Polar Chart Polar Chart A web part to insert a polar chart, modify the data and the render. Very easy & quick to use in a SharePoint page.

Images Galleries & Tools

Overview Web Part Description
Tiles Gallery Tiles Gallery From any library of images of your SharePoint site, generate a gallery of pictures in tiles mode. You can click on the images to open them in a web viewer in lightbox view. You can choose the appearance of your tiles, colors, texts, width, height, etc. Your tiles could be justified (classical tiles mode) or vertical (like Delve dashboard).
Grid Gallery Grid Gallery From any library of images of your SharePoint site, you can generate an image gallery with thumbnails that scroll automatically. You can click on an image to enlarge. This Web Pat is responsive.
Photopile Photopile From a SharePoint library, this Web Part generates a stack of photos on a table effect. This gives an aspect of photo gallery of Polaroid, for example. Click on the photos to enlarge to full screen.
Slider Gallery Slider Gallery This Web Part allows you to view your photo galleries in the form of a slider between the images. Photos automatically scroll with the effect of your choice. The user can click on the arrows or use the touch features to navigate through the images. On click, the image is opened in full screen.
Simple Carousel Simple Carousel The Web Part Simple Carousel allows you to browse a library of images in forms of thumbnails that scroll horizontally.
Image Puzzle Image Puzzle From an image of your SharePoint site, this Web Part will generate a puzzle effect. The image will be automatically cut into pieces, and the pieces are going to move next to the other before returning to the normal state of the image. Nice to add style to your page.
Image Color Image Color This Web Part allows you to select an image and automatically apply a color effect. This Web Part uses libraries of CSS3 effects to color images.

Video & Audio

Overview Web Part Description
Media Player Media Player This Web Part is an alternative player for videos or audio files. This player allows you to play video files in HTML5 mode, with streamed videos to different formats and also from Youtube or Vimeo. This player is elegant and also lets you add subtitles to videos in different languages.
Audio Equalizer Audio Equalizer Instead of the classic audio player, you can use a fun player with an equalizer. The equalizer adds an effect on music that drives your page and the user experience. You can configure your equalizer by modifying the columns, color, speed, etc.

Text Tools

Overview Web Part Description
Markdown Markdown If you like the Markdown (MD) syntax, this Web Part is made for you! With this Web Part, you can add a player of Markdown in your page and edit its content through a specialized Editor. It has never been as easy to use the power of Markdown in SharePoint.
Syntax Highlighter Syntax Highlighter With this Web Part, you can copy and paste the code in a page and automatically benefit from a syntax highlighter to read the code. This Web Part supports many languages as ActionScript3, Bash/shell, ColdFusion, c#, C++, CSS, Delphi, Diff, Erlang, Groovy, JavaScript, Java, JavaFX, Perl, PHP, Plain Text, PowerShell, Python, Ruby, Scala, SQL, Visual Basic and XML.
FckText Fck Text This Web Part is a simple alternative text editor. Instead of the native SharePoint Editor, this Web Part uses the editor CKEditor, which is a popular and powerful JavaScript full HTML code editor. You can configure the type of integration (fixed or dynamic), or even the type of toolbar to edit your content.
Tabs Tabs You can dynamically create sections to view your content in the form of tabs. In edit mode, you can directly modify the contents of each tab with a WYSIWYG editor and preview your Web Part in your page. The tabs are responsives and adapt with the size of the screen.
Accordion Accordion As for the Web Part of the tabs, you can manage the content in the form of accordion sections. Add, edit or remove your tabs and change the content with the WYSIWYG editor.
Animated Text Animated Text This Web Part allows you to add a text with an animation. You can choose among a large number of animation (fade, resizing, time, rotation, etc.), choose do it, color, size, etc.
Text Rotator Text Rotator This Web Part allows you to display several sentences one after the other with a transition effect.
ArcText Arc Text With this Web Part, you can add a text with effect of curve. You can editing your title appearance, and choose the degree of the curve.
TypeWriting TypeWriting Insert a text with a typwriter effect. It will simulate a mechanical or electromechanical machine for writing in characters similar to those produced by printer.

Tools

Overview Web Part Description
Simple Poll Simple Poll Insert a simple poll (one question) based on a SharePoint survey list. This Web Part is perfect for simple surveys to insert on a homepage for example. Users can vote in 1 click and see the results in the form of a pie or bar chart.
Bing Translator Bing Translator Insert a Bing Translator widget to automatically translate the current page in another language. This WebPart is going to add to your page a "Translate" button. When user click on this button, it can translate in-place and automatically the content of the page in the language of his choice.
MessageBar Message Bar Insert a message bar to your page, for example set a maintenance warning text, etc. Very convenient to share a simple and highly visible message to your visitors.
StockInfo Stock Info Generates as graph picture the current stock value of a specified stock. With this Web Part, you can for example share the current stock price of your company on your homepage. This Web Part uses the Yahoo! Financial Services.
QRCode QR Code Insert a QR Code in your SharePoint pages and modify the associated text, size, etc. A QRCode is very handy for example to allow your users to access simply and quickly to a page on your Intranet from a smartphone.

Installing the web parts

Click here to access to the Installation Process. You can install and test web parts without compiling the code by following this procedure.

Building the code

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

Applies to :

Solution

Solution Author(s)
spfx-40-fantastics Olivier Carpentier (@olivierc)

The MIT License (MIT)

Copyright (c) 2016 Olivier Carpentier

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

spfx-40-fantastics's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spfx-40-fantastics's Issues

Error loading the webpart TilesMenu in O365

It seems that from last week until now has changed something in TilesMenu or SPFX-40 webpart, that send us an error to the production environment.

The error seems to be related with the HTTPS certificate, but we use the O365 security and it works until now.

The error indicate:
"https://spfx40fantastics.azureedge.net/spfx40fantastics/tilesmenu.bundle_478b4aca3cf99cc0e1c2f49eec24a78b.js" for resource "tilesMenu.bundle"
at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-14.011/sp-loader_es-es_95e5c53da9cf9fbf51a0731800beb6f3.js:88:47512)

Thanks in advance

Accordion web part causing issues with Text web part

When we use the Accordion web part in a multi-column page layout with 2 additional text boxes on the page, we're unable to edit text in those text boxes. The cursor is constantly returned to the beginning of the text box. When we remove the accordion web part, the text boxes work without issue.

Multiple Instances

I am trying to add different web parts to the same page. When I add these only a single instance of the web part appears to work. Is there a way to make a news tiles and news carousel work on the same page?

Components don't work in Classic pages

I have tested almost all the components in classic and modern pages and I have found that most of them only work in modern pages. For instance, none of the chart web parts work in classic pages, nor does the message bar, accordion, tabs, news slider, and several others that could be of prime value on my current SPO tenant. The error message is usually "failed to load url. There may be a problem with the HTTPS certificate" This only occurs on classic pages. On modern pages there are no issues. Can you account for the difference in behavior between classic and modern pages. Are there design guideline for the two scenarios for creating SPFx web parts?

Valid App Package = No

Hi,

I've tried to install the sppkg in the App Catalog but it doesn't seem to recognise the package. While there are no upload errors, "Valid App Package" is set to No, the product Id doesn't look right and I can't add the app to any site. See the image below...

image

Any ideas what's wrong?

The PropertyFieldPeoplePicker Control is not Reactive

Whenever I add or remove any value in PropertyFieldPeoplePicker, it doesn't reflect the new value on the page. I have to refresh the page to see it. This is only happening when I test the web part on SharePoint environment but it works in localhost environment.

ckeditor on classic pages

Does anyone know why the ckeditor doesn't work on classic pages? Is there a replacement that does work on classic pages?

Multiple Media Players Issue

Inserting multiple "Media Player" parts on a page does not work correctly with version 1.0.4.0.

Steps to reproduce:

  1. Insert a media player part on a modern page.
  2. Configure HTML5 audio URL and media type.
  3. Insert a second media player part.

Expected behavior:

  • Both media player parts exist independently, with separate audio and un-linked play controls

Actual behavior:

  • Clicking "play" on one part causes both to display the current media play progress.
  • Inserting additional media player parts appears to cause an unpredictable repetition of media player parts previously added to the page.

image

MIT License rules

Hi Olivier,

In my company, we have re-engineered a set of 10 components based on the spfx-40-fantastics. We have rewritten some code and changed a few controls, but we have left in some of the compiled es6 code. We plan to publish these components as an app to our SPO site in a week or two to our O365 tenant to allow users to add them to their sites. We will include the MIT license in the SPFx package which is deployed to the app catalog on our site. Are there any other restrictions we need to be aware of? By the way, we are very grateful for the fine work you have done with these components and it's jump started our understanding of the SPFx in a very practical way.

Copyright (c) 2016 Olivier Carpentier

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Error building source

I downloaded the last version and i'm trying to build src version. I found different errors.

Current environment setup : Node 8.20 , npm 4.4 , typescript 2.53

Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(3200,16): error TS230
4: Cannot find name 'DetailedHTMLFactory'.

Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(3380,24): error TS269
4: Namespace 'React' has no exported member 'DetailedHTMLProps'.

Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(3525,24): error TS269
4: Namespace 'React' has no exported member 'SVGProps'.

Error - typescript - node_modules@types\react\index.d.ts(2462,12): error TS2403: Subsequent variable declaration
s must have the same type. Variable 'blockquote' must be of type 'HTMLProps', but here has type 'HT
MLProps'.

Error - typescript - node_modules@types\react\index.d.ts(2611,12): error TS2403: Subsequent variable declaration
s must have the same type. Variable 'rect' must be of type 'SVGProps', but here has type 'SVGProps'.

Error - typescript - src\webparts\verticalTimeline\SPCalendarService.ts(55,53): error TS2345: Argument of type 'S
PHttpClientConfiguration' is not assignable to parameter of type 'SPHttpClientConfiguration'.

Thanks

Regards

***Failed to load component "ee6ccc68-d0ec-456c-8968-08a705191cf1"

Anyone else seeing this in their Tenant, none of the 40 webparts are loading due to not being able to load the js file. Browsing to the JS file url opens it fine.

Any Ideas?

[SPLoaderError.loadComponentError]:
***Failed to load component "ee6ccc68-d0ec-456c-8968-08a705191cf1" (TilesMenu).
Original error: ***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/unitegallery_7d9eb985d2d3c164e19835ea4e33161e.js' for resource 'unitegallery' in component 'ee6ccc68-d0ec-456c-8968-08a705191cf1' (TilesMenu). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.

***INNERERROR:
***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/unitegallery_7d9eb985d2d3c164e19835ea4e33161e.js' for resource 'unitegallery' in component 'ee6ccc68-d0ec-456c-8968-08a705191cf1' (TilesMenu). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
***CALLSTACK:
Error
at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.013/sp-pages-assembly_en-us_2c73e80d5a13bd005205d9613ee5cdc2.js:351:10483)
at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.013/sp-pages-assembly_en-us_2c73e80d5a13bd005205d9613ee5cdc2.js:911:17735)
at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.013/sp-pages-assembly_en-us_2c73e80d5a13bd005205d9613ee5cdc2.js:911:14892)
at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.013/sp-pages-assembly_en-us_2c73e80d5a13bd005205d9613ee5cdc2.js:911:12701)
at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-07.013/sp-pages-assembly_en-us_2c73e80d5a13bd005205d9613ee5cdc2.js:911:104583
at

Suddenly stopped working

We added these webparts to our SP online sites, worked great. Suddenly stopped working.
Discovered that the following error is due to me being the first release customer. Will this be fixed please?
Error:
[SPLoaderError.loadComponentError]:

***Failed to load component "3f3e8f3d-033d-34b6-8450-173122222275" (SimpleCarousel).

Original error: ***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/unitegallery_7d9eb985d2d3c164e19835ea4e33161e.js' for resource 'unitegallery' in component '3f3e8f3d-033d-34b6-8450-173122222275' (SimpleCarousel). There was a network problem.

This may be a problem with a HTTPS certificate. Make sure you have the right certificate.

***INNERERROR:

***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/unitegallery_7d9eb985d2d3c164e19835ea4e33161e.js' for resource 'unitegallery' in component '3f3e8f3d-033d-34b6-8450-173122222275' (SimpleCarousel). There was a network problem.

This may be a problem with a HTTPS certificate. Make sure you have the right certificate.

***CALLSTACK:

Error
at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.013/sp-pages-assembly_en-us_12ebeae6ae845ba9a2f4bd9de962fb90.js:351:10315)
at t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.013/sp-pages-assembly_en-us_12ebeae6ae845ba9a2f4bd9de962fb90.js:905:16696)
at e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.013/sp-pages-assembly_en-us_12ebeae6ae845ba9a2f4bd9de962fb90.js:905:13911)
at e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.013/sp-pages-assembly_en-us_12ebeae6ae845ba9a2f4bd9de962fb90.js:905:11714)
at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.013/sp-pages-assembly_en-us_12ebeae6ae845ba9a2f4bd9de962fb90.js:905:104715)

Unite Gallery Loading Issue

Hi @OlivierCC
Firstly Thank you so much for this beautiful piece of work.
I am using News Carousel web part in one of my classic pages. It is working fine.
But Sometimes it is giving me Uncaught (in promise) TypeError: h(...).unitegallery is not a function Error.
After few refreshes it is loading again.
Could you please help me in this .

Many Thanks
Siddhartha

Tabs Web Part Not Fully Functional in Modern Page

After adding the Tabs wp to my modern page, I noticed that I do not see the toolbars as pictured in your Overview, and I can only update the first tab. Clicking additional tabs kicks the wp out of edit mode.

Same results in Chrome version 58.0.3029.110 (64-bit), Internet Explorer 11 version 11.672.105860.0, and Edge 25.10586.672.0 (HTML 13.10586)

To better illustrate, see this video snip. Any words of wisdom?

Errors While Building the code

I am getting following errors when trying to build the code with Gulp Serve

[09:16:59] Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(3524,25): error TS2694: Namespace 'React' has no exported member 'SVGProps'.
[09:16:59] Error - typescript - src\webparts\sliderGallery\SPPicturesListService.ts(61,126): error TS2345: Argument of type 'SPHttpClientConfiguration' is not assignable to parameter of type 'SPHttpClientConfiguration'.
Also SpLoader seems to be a problem
Error - typescript - node_modules@microsoft\sp-loader\node_modules@types\react\index.d.ts(292,33): error TS1005: '(' expected.

I have installed all dependencies as per package.json. Am I missing something?

Retrieving Data from a list

Hi, I was searching for something like this spfx webparts collection since long, and it is a really good work. Appreciated.
But I have one idea, what if you make all of your web parts have the option to retrieve its data (items) from a list, so in the webpart settings i will choose the site collection, then i will choose which list in that site, and then I will choose which columns in that list to be mapped with specified columns in the webpart.
also adding filtering by specified column and item limit will be awesome.
are you going to make something like this soon?

THank you

There is an error in the config file:

Hello,

The line 274 says:
"SyntaxHighlighterStrings": "webparts/code/loc/{locale}.js",

But it should be:
"SyntaxHighlighterStrings": "webparts/qrCode/loc/{locale}.js",

Great webparts!

Regards

News Webparts request

Hi,

These webparts are great, it would be brilliant if we were able to put the various news webparts into "List Mode" whereby we could select a list or library to populate our articles. Maybe a pages library so that articles can be created and then ordered using metadata to prioritize certain articles. Adhering to audiencing to allow targetted content would be another great feature.

Thanks for all the great work that's been done.

project fails during gulp serve

Hi,

I've been attempting to install and run these web parts but I have consistently encountered errors during the gulp serve. I have tried it on two separate machines and have used nvm to run the npm install with both 8.4.0 and 6.11.3 to see if it made a difference.

I have attached the output from the gulp serve:

gulpRun.txt

Cheers,

-JB

Fck Text (Rich Text Editor) toolbar isn't loading.

We've recently noticed the toolbar for the Fck Text web part isn't loading. We're still able to copy/paste text into the web part from Word and styling is retained, just the toolbar won't load.

I've ensured the latest version of SPfx 40 is loaded on the site, but no joy. Here's what it looks like for us:

rich text editor

News or RSS request

We are trying to present an RSS feed and include images.
Could the RSS web part be modified or could the News web parts be modified to accept data from RSS?

Simple Poll doesn't work in Classic Page

When I try to configure the Simple Poll and I try to configure the Survey List, the list name disappears before I can select it. The same happens with the Results Chart Type. This only occurs on the classic page, not the modern page.

No localized files found

On executing gulp serve I get the following error:
Error - 'collectLocalizedResources' sub task errored after 8.27 ms
"Error for resource "testStrings": No localized files found under the "lib" directory matching pattern "webparts/test/loc/{locale}.js""
Any ideas on this one?

Installation issue

Hi Oliver,
Great stuff to learn Sharepoint Framework
We installed as you recommended
git clone the repo
npm i
npm i -g gulp
gulp serve

It works in the local environment. However we run workbench hosted in Sharepoint we have the error "Cannot read property 'bind' of undefined"

Could you advise?
Thank you

Preview Web Part Issue

Hi Olivier,

I see that the web parts are now available as a precompiled package, but I was hoping to preview the web parts and run them on a local web server using "gulp serve" following your original installation instructions. Once I git clone the repo, run "npm install", and then attempt to run "gulp serve" a series of task errors arise that terminate the build. Is it no longer possible to run the web parts on a local web server using "gulp serve"?

Thanks for your help.

Make Tiles clickable

My users seem to prefer having clickable links in the tiles gallery instead of showing a large version of the tile picture. Is there a way to associate a link with the tile so that users could click on it and load a new page?

Custom Classic Pages

Love the web parts, a wonderful example of what's possible with SPFx.

Testing these with pages built in custom page layouts and master pages proves problematic unfortunately. The web parts only fully render around 1 out of 10 page reloads.

In out of the box classic pages, everything works fine every time.

Is there anything we can do to ensure all the required resources are loaded every time?

Regarding issue #2

Config.json - localizedResources:
It should be changed from "code" to "syntaxHighlighter" - not qrcode, as mentioned in issue #2:
image
image

MIT License for the Images?

Hi Olivier,

We would like to release our own version of these components for our SP users, but we were wondering if the images you are using are covered by any copyright restrictions? We are not selling anything, just using them internally. If there are any restrictions, we will use our own images, but I want to check with you first.

Issue While taking Package- in gulp serve

When I try to take package of the webparts it is showing the following error in the command prompt..
Kindly help through this.......

Task ' package-solution' is not in your gulpfile
[14:29:43] Please check the documentation for proper gulpfile formatting
About to exit with code: 1
Process terminated before summary could be written, possible error in async code not continuing!
Trying to exit with exit code 1

Diplay user profile properties using SPFX webpart

Hi

I am using the library "sp-client-custom-fields" licensed by MIT to use the SharePoint People Picker control in a SPFX webpart. I am able to use the code successfully to pull some of the property values using the available codebase. However, my requirement is to display some custom users properties when users select a specific user from the people picker but I am not able to show the values from any other profile properties. I wanted to create my own library on top of the MIT one but I was not able to do that. The available codebase shows the username, email id, designation and profile picture only. Please provide a solution to display other custom properties as well.
PropertyFieldPeoplePickerHost.js file is the one that's populating the user profile property values and I am
trying to understand the entitydata from the below code snippet - kindly help-
return _this.context.spHttpClient.post(userRequestUrl, sp_http_1.SPHttpClient.configurations.v1, httpPostOptions).then(function (searchResponse) {
return searchResponse.json().then(function (usersResponse) {
var res = [];
var values = JSON.parse(usersResponse.value);
values.map(function (element) {
var persona = { fullName: element.DisplayText, login: element.Description };
persona.email = element.EntityData.Email;
persona.jobTitle = element.EntityData.Title;
persona.initials = _this.getFullNameInitials(persona.fullName);
persona.imageUrl = _this.getUserPhotoUrl(persona.email, _this.context.pageContext.web.absoluteUrl);
res.push(persona);
});
return res;
Thank you !!

Thanks and regards
Paromita

StockInfo has wrong url?

Is makes use of chart.finance.yahoo.com and that doesnt exist anymore according to my dns query.

Unite Gallery error

The error below occurs after some fer minutes when the page is loaded

Unite Gallery Error: You have some jquery.js library include that comes after the gallery files js include.
This include eliminates the gallery libraries, and make it not work.

To fix it you can:
1. In the Gallery Settings -> Troubleshooting set option: Put JS Includes To Body option to true.
2. Find the double jquery.js include and remove it.

News Ticker

The News Ticker webpart only display the first 4 items in the list. It then cycles back to the beginning of the list rather than continuing on through the list, or looping back to the beginning (i.e. the animation rolls back up to the top rather than continuing on in the same direction but looping, this might just be a design choice though).

Also, when adding a new News Item, the text in the editor is always in capitals, although in the webpart itself, it renders as typed. Just a little confusing for users.

However, the webparts as a whole are great and really appreciate the work done. Thanks

SYntax Highlighter

Hi,

On a clean install I can't use the syntax highlighter webpart, due to the following error:
"Can't find brush for: x"

Installed on clean site on O365-tenant.

Web Parts install but aren't available in modern or classic pages

After installation, web parts do not show up to be added. As an fyi, I tested the root site and another site, just to be thorough. I previously did have 1.02 installed without issue and several custom spfx web parts work fine.

  • Added 1.03 via app catalog -- no error present
  • Added to site successfully, no errors
  • In SITE SETTINGS all web parts are present and activated
  • When editing a modern page, none of them show up. No errors in the console
  • When editing a classic page, web parts are not preset and there are no groups where they should be either
  • Tried to deactivate and reactive a couple web parts to see if those would suddenly become available but that did not work
  • Previous version was removed from recycle bin and second recycle bin, just in case....

downloaded the webpart and added into app catolog. getting error while adding webpart on modern pages

Something went wrong

If the problem persists, contact the site administrator and give them the information in Technical Details.
TECHNICAL DETAILS
[SPLoaderError.loadComponentError]:
***Failed to load component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: ***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/jquery_510295b52d8a7cc774bf4fb013893d1e.js' for resource 'jquery' in component 'b6330715-c92a-479c-ae83-510474079988' (3DCarousel). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.

***INNERERROR:
***Failed to load URL 'https://spfx40fantastics.azureedge.net/spfx40fantastics/jquery_510295b52d8a7cc774bf4fb013893d1e.js' for resource 'jquery' in component 'b6330715-c92a-479c-ae83-510474079988' (3DCarousel). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
***CALLSTACK:
Error
at t [as constructor] (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:351:10483)
at new t (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:16704)
at Function.e.buildErrorWithVerboseLog (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:13917)
at Function.e.buildLoadComponentError (https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:11726)
at https://spoprod-a.akamaihd.net/files/sp-client-prod_2017-07-14.011/sp-pages-assembly_en-us_b91a3c7aa8341a6dbe6d1f073874c5c4.js:905:110506
at

. Press Enter to navigate inside the web part. When inside, use Alt+F10 to go to toolbar, use Alt+P to move focus to the property pane and use Escape to exit the web part.

Problem to install

Hi
looks great but i dont really dont understand how to install it
could you push me in right direction to install it in our Tenant

/Tommy

Google Chrome

Hi,

I'm trying to use your Tabs app but it seems I can only do any customization using Edge and not in Google Chrome.

Any ideas?

Thanks

Most webparts are broken as of today

When adding a spfx-40 webpart to a page, I receive the following error. I am using version 1.0.2.0.

Most webparts give the same error. But the "Arc text", "Simple caroussel", and "Audio visualizer" still work.

Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.

Technical Details

***ERROR MESSAGE:
***Failed to load component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: ***Failed to load entry point from component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: Error loading https://component-id.invalid/b6330715-c92a-479c-ae83-510474079988_1.0
Module exports cannot be changed externally.

***CALLSTACK:
Error: ***Failed to load component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: ***Failed to load entry point from component "b6330715-c92a-479c-ae83-510474079988" (3DCarousel).
Original error: Error loading https://component-id.invalid/b6330715-c92a-479c-ae83-510474079988_1.0
Module exports cannot be changed externally.
at Anonymous function (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:47594)
at k (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:2381)
at L (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:2469)
at I (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:2291)
at D (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:1887)
at m (https://spoprod-a.akamaihd.net/files/sp-client-prod-vstsfeed_2017-04-21.010/sp-loader_en-us_8c7001f8a00f4c91caa5559128b9a94f.js:88:570)

Upgrading to sp-client-custom-fields new version

I'm not sure if this needs to be done or not. But I was updating to the latest sp-client-custom-fields.

I've added "key" to the fields array. But I don't believe it's being referenced by the function. My picker data comes up empty.

Do I also need to update the ...WebPartProps.ts file?

Cross site scripting warning

Hi Oliver,

Whenever i install any of this web part on my intranet portal,i get following warning in console.How can i resolve this

**# Warning!

Use of this tool exposes you to potential security threats which can result in others gaining access to your personal Office 365 data (documents, emails, conversations and more). Make sure you trust the person or organization that asked you to access this tool before proceeding.

Learn more here: https://technet.microsoft.com/en-us/library/bb794823.aspx**

issuewithnewsstreamconfig

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.