Git Product home page Git Product logo

sp2019-search's People

Contributors

matej4386 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sp2019-search's Issues

How to use custom date range filter

Hi Matej,

Thanks for your support.
Requesting your kind help on how can we use custom date range refiner for search results. We have tried to apply it but the filter is not showing up. Something could be breaking

Is it related to custom managed property?
Appreciate your kind support

Build error

@Matej4386 Thank you for attempting this to make it work on Premise. I do still get Gulp bundle errors. Gulp serve errors out as well.

I tried to build , however build fails with error, part of error is as below.

src\webparts\nbsSearch\components\SearchResultsContainer\components\searchRefiners\Templates\Persona\PersonaTemplate.tsx(68,39): error typedef: expected variable-declaration: 'userInfos' to have a typedef [19:22:00] Warning - tslint - src\webparts\nbsSearch\components\SearchResultsContainer\components\searchRefiners\Templates\Persona\PersonaTemplate.tsx(121,16): error typedef: expected call-signature: 'componentDidMount' to have a typedef [19:22:00] Warning - tslint - src\webparts\nbsSearch\components\SearchResultsContainer\components\searchRefiners\Templates\Persona\PersonaTemplate.tsx(135,17): error typedef: expected call-signature: 'getUserInfos' to have a typedef [19:22:00] Warning - tslint - src\webparts\nbsSearch\components\SearchResultsContainer\components\searchRefiners\Templates\Persona\PersonaTemplate.tsx(137,11): error typedef: expected variable-declaration: 'accountNames' to have a typedef [19:22:00] Warning - tslint - src\webparts\nbsSearch\components\SearchResultsContainer\components\searchRefiners\Templates\Persona\PersonaTemplate.tsx(142,11): error typedef: expected variable-declaration: 'accountName' to have a typedef [19:22:00] Warning - tslint - src\webparts\nbsSearch\components\SearchResultsContainer\components\searchRefiners\Templates\Persona\PersonaTemplate.tsx(152,11): error typedef: expected variable-declaration: 'userInfos' to have a typedef [19:22:00] Warning - tslint - src\webparts\nbsSearch\components\SearchResultsContainer\components\searchRefiners\Templates\Persona\PersonaTemplate.tsx(159,10): error typedef: expected call-signature: 'componentWillReceiveProps' to have a typedef

Sorting fails to sort by selected options

Hi Matej,

Firstly, thank you so much for providing this solution for 2019.

I am having an issue with both default sorting ("Edit sort order") and user-selected sorting ("Edit sortable fields"). No matter what options I select, the sorting defaults to the rank order of their results. Even without customising the options and using the default, the sorting does not order by the default "Created" and "Size" options.

Is there something I need to do to correct this? Or is this functionality not ready for use yet?

Issue while searching for multiple words & operators using Query string parameter

Hello @Matej4386 , search solution worked for me i.e using 'k' as search parameter.

But it only worked for single word : Ex : ?k=Capacity

When I searched for multiple words using query string parameter i.e. : ?k=Capacity widget , it didn't gave any search result.

So I tried using Search Box, it gave me results for ?k=Capacity widget. as shown below:

image

Also query string is not working for any Boolean operator but search box is working ex: ?k=Capacity NEAR filters.

image

If you can please look into this issue and make Boolean operator and multiple words to be searched using query string work.

Thanks,
Shekhar

Search Box for SP2019

Hi There, many thanks for this solution.

I am not sure how can we make use for Search box and other web parts for SP2019. Can you help on this

Unable to select a specific site or list as data source

Hello @Matej4386, thanks a lot for the initiative and this webpart!
I'm facing some issues when i try to deploy it, instead of taking the sppkg that i can't deploy, i tried to package your solution with the "skipFeatureDeployment" parameter set to "true".
Once deployed i only see one webpart without the posibility to choose a data source list or site:

image

And the search box is also missing if i don't check "Use a default search query" option with a default value:

image

Thanks in advance for anyone who can help me on those points or share some links.

Dynamic search in MySearch PnP webpart

Hello Matej,

Thank a lot for your contribution on PnP search webpart for SP2019.

I was working with the webpart and I have a query.

Is the any option that we can make this dynamic ? As per scheenshot below we have to type in search box as shown :

image

@Matej4386 :Do we have any option where we can pass search item from querystring(same as pnp search webpart for SPOnline) to make this dynamic - www.xxxx/SitePages/SearchPage.aspx?k=Capacity ?

Regards,
Shekhar Chaudhary

Request App Package

Hey MateJ,
Are you able to provide a solution file i am having trouble building the solution and would like to try it out.

Steps to get started?

Hi, just wanted to check what the "Steps to awesomeness" are i.e. what are the steps to clone locally and get it running in my workbench?

Query to show People search results option in same template

Hello Matej,
Many Thanks for your great help!

We need your help in modifying the code for Search webpart in SP 2019.

Currently, we are able to search with a keyword and get the search result as per the Template selected in WebPart Properties(Ex. Slider, Details-List, Peoples, Tiles etc).
Now, We have a requirement to bring all the results and show on the Page like from Peoples & Documents in single search 'OR' We can provide a checkbox in the UI and show the search results based on the Checkbox value(Only People and Only Documents)

Appreciate your help for any suggestion or code sample.

Not working with anonymous access on SP2019?

Hello Matej,

thank you very much for adopting the search webpart for SP2019.
The site collection where I use the 2019-search webpart is on a SP2019 server - a communication site which is activated for anonymous access.
As long as I'm logged in the webpart works fine.
But when I'm logged of the webpart is loading and loading and loading.

Is there any chance to get the webpart running on an anonymous access site?

Kind regards
Harry

error on install

I had tried to add the web part on my Sp enviroment and failed.
image

Running Gulp Serve - Blank Work bench form is appearing

Hi,

Blank Workbench form is appearing after running the gulp serve command. I am able to trust the certificate. (gulp trust-dev-cert) executed successfully.
Please help.

C:\Users\b88kt2\SPO\SPFx\helloworld-webpart>gulp serve
Build target: DEBUG
[17:15:33] Using gulpfile ~\SPO\SPFx\helloworld-webpart\gulpfile.js
[17:15:33] Starting 'serve'...
[17:15:33] Starting gulp
[17:15:33] Starting subtask 'configure-sp-build-rig'...
[17:15:33] Finished subtask 'configure-sp-build-rig' after 3 ms
[17:15:33] Starting subtask 'spfx-serve'...
[17:15:33] [spfx-serve] To load your scripts, use this query string: ?debug=true&noredir=true&debugManifestsFile=https://localhost:4321/temp/manifests.js
[17:15:33] Starting server...
Starting api server on port 5432.
Registring api: /workbench
Registring api: /
[17:15:33] Finished subtask 'spfx-serve' after 240 ms
[17:15:33] Starting subtask 'pre-copy'...
[17:15:33] Finished subtask 'pre-copy' after 51 ms
[17:15:33] Starting subtask 'copy-static-assets'...
[17:15:33] Starting subtask 'sass'...
[17:15:33] Server started https://localhost:4321
[17:15:33] LiveReload started on port 35729
[17:15:33] Running server
[17:15:33] Opening https://localhost:5432/workbench using the default OS app
Request: [::1] '/workbench'
[17:15:34] Finished subtask 'copy-static-assets' after 1.38 s
Request: '/temp/workbench.html'
[17:15:35] Finished subtask 'sass' after 2.09 s
[17:15:35] Starting subtask 'tslint'...
[17:15:36] [tslint] tslint version: 5.12.1
[17:15:36] Starting subtask 'tsc'...
[17:15:36] [tsc] typescript version: 3.7.7
Request: '/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_en-us.js'
Request: '/temp/manifests.js'
Request: '/temp/workbench-packages/@microsoft_sp-webpart-workbench/lib/api/workbenchInit.js'
[17:15:41] Finished subtask 'tsc' after 5.53 s
[17:15:42] Finished subtask 'tslint' after 6.31 s
[17:15:42] Starting subtask 'post-copy'...
[17:15:42] Finished subtask 'post-copy' after 1.25 ms
[17:15:42] Starting subtask 'configure-webpack'...
[17:15:42] Error - 'configure-webpack' sub task errored after 4.01 ms
Error reading "C:\Users\b88kt2\SPO\SPFx\helloworld-webpart\package.json":
The required field "name" was not found
Request: '/temp/workbench.html'
Request: '/temp/manifests.js'
Request: '/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_en-us.js'
Request: '/temp/workbench-packages/@microsoft_sp-webpart-workbench/lib/api/workbenchInit.js'
Request: '/temp/workbench.html'
Request: '/temp/manifests.js'
Request: '/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_en-us.js'
Request: '/temp/workbench-packages/@microsoft_sp-webpart-workbench/lib/api/workbenchInit.js'
Request: '/temp/workbench-packages/@microsoft_sp-webpart-workbench/lib/api/assets/server-icon.png'

After this cursor is blinking and the blank Workbench form is appearing.

Thanks,
Kalyan.

SPPKG for SP2019

Hey Matej,

thanks for building this PnP-Webparts to SP 2019. This is exactly what I was looking for a long time.

Is there a possibility that you provide the solution as a Standard-Version as SPPKG-File?
Unfortunately, I am not able to build the solution myself.

That would be mega, because I could use the functions very well!

Best regards,
becko1001

gulp bundle erros

Hi, firstly thanks for putting time into making PnP search work on Sp2019. nice work. I am not very good at SPFx and so was simply downloading and compiling your solution but when using 'gulp bundle --ship' it generates a number of errors and so wil not let me package the solution.

This may be my devepment environment not your code but do you have any ideas on how i can fix ?

λ gulp bundle --ship
Build target: SHIP
[11:26:40] Using gulpfile C:\SPfx\SP2019-search-master\SP2019-search-master\modern_search_results\gulpfile.js
[11:26:40] Starting gulp
[11:26:40] Starting 'bundle'...
[11:26:40] Starting subtask 'configure-sp-build-rig'...
[11:26:40] Finished subtask 'configure-sp-build-rig' after 5.87 ms
[11:26:40] Starting subtask 'pre-copy'...
[11:26:40] Finished subtask 'pre-copy' after 8.49 ms
[11:26:40] Starting subtask 'copy-static-assets'...
[11:26:40] Starting subtask 'sass'...
[11:26:41] Finished subtask 'sass' after 837 ms
[11:26:41] Starting subtask 'tslint'...
[11:26:42] Starting subtask 'typescript'...
[11:26:42] [typescript] TypeScript version: 2.4.2
[11:26:42] Finished subtask 'copy-static-assets' after 1.54 s
Warning: no-duplicate-case rule is deprecated. Replace your usage with the TSLint no-duplicate-switch-case rule.
Warning: valid-typeof rule is deprecated. Replace your usage with the TSLint typeof-compare rule.
[11:26:42] Warning - tslint - src\models\ISearchResult.ts(36,2): error no-trailing-whitespace: trailing whitespace
[11:26:42] Warning - tslint - src\extensions\mySearchRender\MySearchRenderApplicationCustomizer.ts(27,1): error max-line-l
ength: Exceeds maximum line length of 120
[11:26:42] Warning - tslint - src\extensions\mySearchRender\MySearchRenderApplicationCustomizer.ts(31,1): error max-line-l
ength: Exceeds maximum line length of 120
[11:26:42] Warning - tslint - src\extensions\mySearchRender\MySearchRenderApplicationCustomizer.ts(13,1): error no-consecu
tive-blank-lines: Consecutive blank lines are forbidden
[11:26:42] Warning - tslint - src\extensions\mySearchRender\MySearchRenderApplicationCustomizer.ts(2,1): error no-unused-v
ariable: All imports are unused.
[11:26:42] Warning - tslint - src\extensions\mySearchRender\MySearchRenderApplicationCustomizer.ts(37,9): error prefer-con
st: Identifier 'node' is never reassigned; use 'const' instead of 'let'.
[11:26:42] Warning - tslint - src\extensions\mySearchRender\MySearchRenderApplicationCustomizer.ts(35,47): error trailing-
comma: Unnecessary trailing comma
[11:26:42] Warning - tslint - src\extensions\mySearchRender\MySearchRenderApplicationCustomizer.ts(30,10): error typedef:
expected call-signature: 'onChangeHappened' to have a typedef
[11:26:42] Warning - tslint - src\extensions\mySearchRender\MySearchRenderApplicationCustomizer.ts(31,11): error typedef:
expected variable-declaration: 'subheaderFieldName' to have a typedef
[11:26:42] Warning - tslint - src\extensions\mySearchRender\MySearchRenderApplicationCustomizer.ts(32,11): error typedef:
expected variable-declaration: 'resultDisplay' to have a typedef
[11:26:42] Warning - tslint - src\extensions\mySearchRender\MySearchRenderApplicationCustomizer.ts(37,9): error typedef: e
xpected variable-declaration: 'node' to have a typedef
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(13,1): error max-line-length: Exceeds maximum l
ine length of 120
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(22,1): error max-line-length: Exceeds maximum l
ine length of 120
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(32,5): error member-ordering: Declaration of pu
blic instance field not allowed after declaration of public instance method. Instead, this should come at the beginning of
the class/interface.
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(37,5): error member-ordering: Declaration of pu
blic instance field not allowed after declaration of public instance method. Instead, this should come at the beginning of
the class/interface.
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(14,1): error no-trailing-whitespace: trailing w
hitespace
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(25,57): error no-trailing-whitespace: trailing
whitespace
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(1,32): error quotemark: " should be '
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(2,27): error quotemark: " should be '
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(13,5): error typedef: expected call-signature:
'updateResultData' to have a typedef
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(22,5): error typedef: expected call-signature:
'registerRenderer' to have a typedef
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(22,97): error typedef: expected parameter: 'e'
to have a typedef
[11:26:42] Warning - tslint - src\services\ResultService\IResultService.ts(22,123): error whitespace: missing whitespace
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(34,1): error max-line-length: Exceeds maximum li
ne length of 120
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(44,1): error max-line-length: Exceeds maximum li
ne length of 120
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(56,1): error max-line-length: Exceeds maximum li
ne length of 120
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(38,39): error no-trailing-whitespace: trailing w
hitespace
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(1,32): error quotemark: " should be '
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(2,28): error quotemark: " should be '
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(25,49): error quotemark: " should be '
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(26,52): error quotemark: " should be '
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(36,13): error prefer-const: Identifier 'searchEv
ent' is never reassigned; use 'const' instead of 'let'.
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(34,12): error typedef: expected call-signature:
'updateResultData' to have a typedef
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(45,15): error typedef: expected variable-declara
tion: 'newRenderer' to have a typedef
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(63,13): error typedef: expected call-signature:
'handleNewDataRegistered' to have a typedef
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(63,54): error typedef: expected parameter: 'rend
ererId' to have a typedef
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(63,77): error typedef: expected parameter: 'e' t
o have a typedef
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(51,11): error whitespace: missing whitespace
[11:26:42] Warning - tslint - src\services\ResultService\ResultService.ts(64,11): error whitespace: missing whitespace
[11:26:42] Warning - tslint - src\extensions\mySearchRender\loc\myStrings.d.ts(7,12): error export-name: The exported modu
le or identifier name must match the file name. Found: C:/SPfx/SP2019-search-master/SP2019-search-master/modern_search_res
ults/src/extensions/mySearchRender/loc/myStrings.d.ts and strings
[11:26:43] Warning - tslint - src\extensions\mySearchRender\SearchResult\ISearchResultProps.ts(2,1): error no-unused-varia
ble: All imports are unused.
[11:26:43] Warning - tslint - src\extensions\mySearchRender\SearchResult\SearchResults.tsx(26,1): error max-line-length: E
xceeds maximum line length of 120
[11:26:43] Warning - tslint - src\extensions\mySearchRender\SearchResult\SearchResults.tsx(11,28): error quotemark: " shou
ld be '
[11:26:43] Warning - tslint - src\extensions\mySearchRender\SearchResult\SearchResults.tsx(9,12): error typedef: expected
call-signature: 'render' to have a typedef
[11:26:43] Warning - tslint - src\extensions\mySearchRender\SearchResult\SearchResults.tsx(14,31): error typedef: expected
variable-declaration: 'image' to have a typedef
[11:26:43] Warning - tslint - src\extensions\mySearchRender\SearchResult\SearchResults.tsx(40,13): error typedef: expected
call-signature: 'fmtDateString' to have a typedef
[11:26:43] Warning - tslint - src\extensions\mySearchRender\SearchResult\SearchResults.tsx(40,27): error typedef: expected
parameter: 'utcString' to have a typedef
[11:26:43] Warning - tslint - src\extensions\mySearchRender\SearchResult\SearchResults.tsx(15,68): error react-a11y-img-ha
s-alt: elements must have an non-empty alt attribute or use empty alt attribute as well as role='presentation' for d
ecorative/presentational images. A reference for the presentation role can be found at https://www.w3.org/TR/wai-aria/role
s#presentation.
[11:26:43] Finished subtask 'tslint' after 2.21 s
[11:26:43] Finished subtask 'typescript' after 1.65 s
[11:26:43] Starting subtask 'ts-npm-lint'...
[11:26:43] Finished subtask 'ts-npm-lint' after 13 ms
[11:26:43] Starting subtask 'api-extractor'...
[11:26:43] Finished subtask 'api-extractor' after 1.28 ms
[11:26:43] Starting subtask 'post-copy'...
[11:26:43] Finished subtask 'post-copy' after 526 μs
[11:26:43] Starting subtask 'collectLocalizedResources'...
[11:26:43] Finished subtask 'collectLocalizedResources' after 3.51 ms
[11:26:43] Starting subtask 'configure-webpack'...
[11:26:44] Finished subtask 'configure-webpack' after 346 ms
[11:26:44] Starting subtask 'webpack'...
[11:26:48] Finished subtask 'webpack' after 4.01 s
[11:26:48] Starting subtask 'configure-webpack-external-bundling'...
[11:26:48] Finished subtask 'configure-webpack-external-bundling' after 1.67 ms
[11:26:48] Starting subtask 'copy-assets'...
[11:26:48] Finished subtask 'copy-assets' after 312 ms
[11:26:48] Starting subtask 'write-manifests'...
[11:26:49] Finished subtask 'write-manifests' after 494 ms
[11:26:49] Finished 'bundle' after 8.41 s
[11:26:49] ==================[ Finished ]==================
Warning - tslint - src/models/ISearchResult.ts(36,2): error no-trailing-whitespace: trailing whitespace
Warning - tslint - src/extensions/mySearchRender/MySearchRenderApplicationCustomizer.ts(27,1): error max-line-length: Exce
eds maximum line length of 120
Warning - tslint - src/extensions/mySearchRender/MySearchRenderApplicationCustomizer.ts(31,1): error max-line-length: Exce
eds maximum line length of 120
Warning - tslint - src/extensions/mySearchRender/MySearchRenderApplicationCustomizer.ts(13,1): error no-consecutive-blank-
lines: Consecutive blank lines are forbidden
Warning - tslint - src/extensions/mySearchRender/MySearchRenderApplicationCustomizer.ts(2,1): error no-unused-variable: Al
l imports are unused.
Warning - tslint - src/extensions/mySearchRender/MySearchRenderApplicationCustomizer.ts(37,9): error prefer-const: Identif
ier 'node' is never reassigned; use 'const' instead of 'let'.
Warning - tslint - src/extensions/mySearchRender/MySearchRenderApplicationCustomizer.ts(35,47): error trailing-comma: Unne
cessary trailing comma
Warning - tslint - src/extensions/mySearchRender/MySearchRenderApplicationCustomizer.ts(30,10): error typedef: expected ca
ll-signature: 'onChangeHappened' to have a typedef
Warning - tslint - src/extensions/mySearchRender/MySearchRenderApplicationCustomizer.ts(31,11): error typedef: expected va
riable-declaration: 'subheaderFieldName' to have a typedef
Warning - tslint - src/extensions/mySearchRender/MySearchRenderApplicationCustomizer.ts(32,11): error typedef: expected va
riable-declaration: 'resultDisplay' to have a typedef
Warning - tslint - src/extensions/mySearchRender/MySearchRenderApplicationCustomizer.ts(37,9): error typedef: expected var
iable-declaration: 'node' to have a typedef
Warning - tslint - src/services/ResultService/IResultService.ts(13,1): error max-line-length: Exceeds maximum line length
of 120
Warning - tslint - src/services/ResultService/IResultService.ts(22,1): error max-line-length: Exceeds maximum line length
of 120
Warning - tslint - src/services/ResultService/IResultService.ts(32,5): error member-ordering: Declaration of public instan
ce field not allowed after declaration of public instance method. Instead, this should come at the beginning of the class/
interface.
Warning - tslint - src/services/ResultService/IResultService.ts(37,5): error member-ordering: Declaration of public instan
ce field not allowed after declaration of public instance method. Instead, this should come at the beginning of the class/
interface.
Warning - tslint - src/services/ResultService/IResultService.ts(14,1): error no-trailing-whitespace: trailing whitespace
Warning - tslint - src/services/ResultService/IResultService.ts(25,57): error no-trailing-whitespace: trailing whitespace
Warning - tslint - src/services/ResultService/IResultService.ts(1,32): error quotemark: " should be '
Warning - tslint - src/services/ResultService/IResultService.ts(2,27): error quotemark: " should be '
Warning - tslint - src/services/ResultService/IResultService.ts(13,5): error typedef: expected call-signature: 'updateResu
ltData' to have a typedef
Warning - tslint - src/services/ResultService/IResultService.ts(22,5): error typedef: expected call-signature: 'registerRe
nderer' to have a typedef
Warning - tslint - src/services/ResultService/IResultService.ts(22,97): error typedef: expected parameter: 'e' to have a t
ypedef
Warning - tslint - src/services/ResultService/IResultService.ts(22,123): error whitespace: missing whitespace
Warning - tslint - src/services/ResultService/ResultService.ts(34,1): error max-line-length: Exceeds maximum line length o
f 120
Warning - tslint - src/services/ResultService/ResultService.ts(44,1): error max-line-length: Exceeds maximum line length o
f 120
Warning - tslint - src/services/ResultService/ResultService.ts(56,1): error max-line-length: Exceeds maximum line length o
f 120
Warning - tslint - src/services/ResultService/ResultService.ts(38,39): error no-trailing-whitespace: trailing whitespace
Warning - tslint - src/services/ResultService/ResultService.ts(1,32): error quotemark: " should be '
Warning - tslint - src/services/ResultService/ResultService.ts(2,28): error quotemark: " should be '
Warning - tslint - src/services/ResultService/ResultService.ts(25,49): error quotemark: " should be '
Warning - tslint - src/services/ResultService/ResultService.ts(26,52): error quotemark: " should be '
Warning - tslint - src/services/ResultService/ResultService.ts(36,13): error prefer-const: Identifier 'searchEvent' is nev
er reassigned; use 'const' instead of 'let'.
Warning - tslint - src/services/ResultService/ResultService.ts(34,12): error typedef: expected call-signature: 'updateResu
ltData' to have a typedef
Warning - tslint - src/services/ResultService/ResultService.ts(45,15): error typedef: expected variable-declaration: 'newR
enderer' to have a typedef
Warning - tslint - src/services/ResultService/ResultService.ts(63,13): error typedef: expected call-signature: 'handleNewD
ataRegistered' to have a typedef
Warning - tslint - src/services/ResultService/ResultService.ts(63,54): error typedef: expected parameter: 'rendererId' to
have a typedef
Warning - tslint - src/services/ResultService/ResultService.ts(63,77): error typedef: expected parameter: 'e' to have a ty
pedef
Warning - tslint - src/services/ResultService/ResultService.ts(51,11): error whitespace: missing whitespace
Warning - tslint - src/services/ResultService/ResultService.ts(64,11): error whitespace: missing whitespace
Warning - tslint - src/extensions/mySearchRender/loc/myStrings.d.ts(7,12): error export-name: The exported module or ident
ifier name must match the file name. Found: C:/SPfx/SP2019-search-master/SP2019-search-master/modern_search_results/src/ex
tensions/mySearchRender/loc/myStrings.d.ts and strings
Warning - tslint - src/extensions/mySearchRender/SearchResult/ISearchResultProps.ts(2,1): error no-unused-variable: All im
ports are unused.
Warning - tslint - src/extensions/mySearchRender/SearchResult/SearchResults.tsx(26,1): error max-line-length: Exceeds maxi
mum line length of 120
Warning - tslint - src/extensions/mySearchRender/SearchResult/SearchResults.tsx(11,28): error quotemark: " should be '
Warning - tslint - src/extensions/mySearchRender/SearchResult/SearchResults.tsx(9,12): error typedef: expected call-signat
ure: 'render' to have a typedef
Warning - tslint - src/extensions/mySearchRender/SearchResult/SearchResults.tsx(14,31): error typedef: expected variable-d
eclaration: 'image' to have a typedef
Warning - tslint - src/extensions/mySearchRender/SearchResult/SearchResults.tsx(40,13): error typedef: expected call-signa
ture: 'fmtDateString' to have a typedef
Warning - tslint - src/extensions/mySearchRender/SearchResult/SearchResults.tsx(40,27): error typedef: expected parameter:
'utcString' to have a typedef
Warning - tslint - src/extensions/mySearchRender/SearchResult/SearchResults.tsx(15,68): error react-a11y-img-has-alt: <img

elements must have an non-empty alt attribute or use empty alt attribute as well as role='presentation' for decorative/p
resentational images. A reference for the presentation role can be found at https://www.w3.org/TR/wai-aria/roles#presentat
ion.
[11:26:50] Project modern-search-results version: 1.0.0
[11:26:50] Build tools version: 3.2.7
[11:26:50] Node version: v8.9.4
[11:26:50] Total duration: 12 s
[11:26:50] Task warnings: 48

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.