Commit Graph

23 Commits

Author SHA1 Message Date
Mikael Svenson b9989187d4 Moved react-search-refiners web part to sp-dev-solutions 2019-01-11 08:26:29 +01:00
Mikael Svenson 679af0263a Fix package versioning 2019-01-07 13:57:37 +01:00
Mikael Svenson 2ec6d1504f Bugfix: Added backwards compability for old sort configurations
Bugfix: Added backwards compability for old empty refiner configurations
2019-01-07 13:32:25 +01:00
taraldga e587071d01 React search refiners renderer - An example code renderer for React Search Refiners (#742)
* Re-did the new changes to dev instead of master.

* Added templating options.

* Removed console logs

* No filter chosen should default to no filter, not two filters.

* New settings now handling locales..

* Handled the fact that IE does not support Event constructor.

* Updated documentation.

* Better images for documentation.

* Updated version history.

* Upped version number correctly.

* Update ResultsLayoutOption.ts

Removed comma

* Initial commit for react-search-refiner-renderer

* Boilerplate cleanup

* Initial readme commit.

* Updated variables image

* Updated readme.

* Fixed broken link.

* Another attempt at fixing broken link.
2019-01-07 09:52:43 +01:00
Mikael Svenson 5b74bb9352
Update README.md
Fix image urls
2019-01-03 19:29:23 +01:00
taraldga 55816d041b Dev (#737)
* Re-did the new changes to dev instead of master.

* Added templating options.

* Removed console logs

* No filter chosen should default to no filter, not two filters.

* New settings now handling locales..

* Handled the fact that IE does not support Event constructor.

* Updated documentation.

* Better images for documentation.

* Updated version history.

* Upped version number correctly.

* Update ResultsLayoutOption.ts

Removed comma
2019-01-03 15:08:58 +01:00
Franck Cornu 0b63c8a8c4 [react-search-refiners] 2.3.0.0 - Added result types feature + bug fixes (#727)
* * Migrated to SPFx 1.7.0
* Fixed sort feature
* Added a sample TypeScript function to demonstrate NLP processing for the search query
* Miscelleanous improvements

* * Fixed wrong ids and dependencies

* * Updated README

* * Replaced JSOM taxonomy methods by the @pnp/sp-taxonomy counterparts + refactored refiners translation logic
* Updated the filter panel to close on click out
* Updgraded to @pnp 1.2.6
* Added a event listeners for hash change when the search box in bound to the 'URL fragment' SPFx builtin data source property so you can now build predefined filters with '#'.
* Fix suggestions panel position to be absolute

* * Quick fix on the search box

* * Added a default query option (related to https://github.com/SharePoint/sp-dev-fx-webparts/issues/556)

* * Added the ability to search by clicking on the search box icon

* * Replaced 'refiners' property by a property collection.

* * Replaced the 'sortList' WP property by a collection data control from PnP.

* * Replaced 'sortableFields' by a collection data pnp control.

* * Replaced the code editor control by the PnP one
* Set fix width on previews

* * Added result type interface

* * Added the result types feature
* Removed 'on-el-resize'. Too much trouble, not really needed. Now the preview width can be set manually.

* * Miscelaneous fixes

* * Upddated documentation + instructions

* * Upgraded to 1.13.0 for @pnp controls

* * [react-search-refiners] Version 2.3.0.0

* * Fixes and improvements as pointed out by @wobba.

* * Added missing file

* * Updated README with result types use
* Updated the code to load the property pane code field async and reduce mainbundle size

* * Updated README
2018-12-18 08:32:34 +01:00
Mikael Svenson e95fbcb122 Load handlebar-helpers as needed, instead of a switch. 2018-12-03 09:49:34 +01:00
Mikael Svenson 53b04d5b81 Updated readme on 2.2.0.0 upgrade issues 2018-11-30 15:16:31 +01:00
Franck Cornu bee8dc5c5a [react-search-refiners] Migrated to SPFx 1.7.0 + Added LUIS Azure Function (#677)
* * Migrated to SPFx 1.7.0
* Fixed sort feature
* Added a sample TypeScript function to demonstrate NLP processing for the search query
* Miscelleanous improvements

* * Fixed wrong ids and dependencies

* * Updated README
2018-11-13 16:08:20 +01:00
Mikael Svenson 0952df826b
Updared readme (#671)
Added query variables
Support query template and result id
2018-11-09 14:13:26 +01:00
Stijn Brouwers 2df0641eb7 Add sort panel (#656)
* Add SortPanel to select a field to sort by and it's sortorder

* Fix bug with ordering the sorted results

* apply state from searchresultcontainer to the sort panel

* Fix issue with sortorder being undefined in certain scenarios

* - Fix error on opening the web part without any settings configured
- Show relevant error message when using an invalid sort field
- Fix styling difference between 'Filter' and 'Sort' buttons

* Add info to readme.md

* Add new property_pane images to reflect latest changes

* Remove black line at the bottom of property_pane3.png

* Merge 'Dev' with current branch
and show Sort button when "SortError" is shown

* apply state from searchresultcontainer to the sort panel

* - Fix error on opening the web part without any settings configured
- Show relevant error message when using an invalid sort field
- Fix styling difference between 'Filter' and 'Sort' buttons

* Add info to readme.md

* Add new property_pane images to reflect latest changes

* Remove black line at the bottom of property_pane3.png

* Add missing localization for SortPanel, Update componentReceiveProps, rename sortOrder to sortDirection, fix typo when setting sort direction
2018-11-06 07:53:16 +01:00
Mikael Svenson 27977d9235
Added support for page query variables and fixes (#661)
* Added support for {Page} query variables
* Bugfix for making sure the property pane shows the right template on Edit after a change.
* Added getUniqueCount
* Bugfix for dynamic loading of video.js
* Updated readme
2018-10-30 10:25:27 +01:00
Franck Cornu 910d377a77 [react-search-refiners] Bug fixes + added previews + best bets (#649)
* * Updated data source connection for searchbox WP

* * Updated filters behavior. Now total count per refiner value is updated every time a new filter is selected like the default SharePoint behavior
* Updated shimmers
* Updated data sources binding logic to be more efficient

* * Updated static CSS classes to use SPFx modules instead
* Added previews for documents in the default list template
* Fixed bug https://github.com/SharePoint/sp-dev-fx-webparts/issues/642. The current page state was never updated after a new search.
* Fixed bug https://github.com/SharePoint/sp-dev-fx-webparts/issues/641. Now the result count is updated every time for each refiner.

* * CSS fixes

* * Removed unecessary lodash references
* Added responsive behavior for iframes using https://www.npmjs.com/package/on-el-resize

* * Updated README
* Added hover effect on the result image

* * Bug fix on videos

* * Added best bets support

* * Removed the jQuery reference. Replaced DOM manipulations by plain JS
2018-10-24 08:26:16 +02:00
Mikael Svenson be87310b4f
Updated react-search-refiners sample (#627)
* Updated packages
* Bundle each part as a bundle to reduce size when not needing all.
* Dynamically load if used/needed
* Added support for sort list
* Load moment with handlebars helpers
* Change shimmer rendering wait instead of spinner
* Added web part title option
* Rework code so webpack dynamic loadig works from scratch
* Updated readme
* Added sortlist description
2018-09-24 13:27:49 +02:00
Mikael Svenson df2648f8f4 Improvements to react-search-refiner web part (#589)
* Added weburl/siteurl tokens
Added getUrlField helper method
Changed property pane settings headers/grouping
Updated ouifr version to v5.118.0
Updated handlebar helper to v0.8.4
Updated readme

* Added webpack-bundle-analyzer

* Fixed ouifr static references to limit bundle size
2018-08-07 17:27:46 +03:00
Franck Cornu 48ac608381 [react-search-refiners] Added Handlebars templating feature + Replaced event aggregator by dynamic data from SPFx 1.5.1-plusbeta (#550)
* [react-search-refiners]
* Upgraded to SPFx 1.4.1
* Added the ability to set you own refiners labels in the filters panel.
* Replaced the `pushState` method by the SPFx `eventAggregator` for the communication between the search box and results web parts.
* CSS improvements
* Added an option to show the results count

* [react-search-refiners]
* Added the query suggestions feature to the search box
* Added the ability to send the query to an other page
* Added a result count option

* [react-search-refiners] Update images

* [react-search-refiners] Updated version in the README file.

* [react-search-refiners]
* Added a templating feature for search results with Handlebars inspired by the react-content-query-webpart sample.
* Upgraded to 1.5.1-plusbeta to use the new SPFx dynamic data feature instead of event aggregator for Web Parts communication.
* Code refactoring and reorganization.

* * Removed unused test sample folder
2018-07-02 12:44:04 +03:00
Franck Cornu 30f2baa665 [react-search-refiners] Added query suggestions + send query to new page features (#508)
* [react-search-refiners]
* Upgraded to SPFx 1.4.1
* Added the ability to set you own refiners labels in the filters panel.
* Replaced the `pushState` method by the SPFx `eventAggregator` for the communication between the search box and results web parts.
* CSS improvements
* Added an option to show the results count

* [react-search-refiners]
* Added the query suggestions feature to the search box
* Added the ability to send the query to an other page
* Added a result count option

* [react-search-refiners] Update images

* [react-search-refiners] Updated version in the README file.
2018-06-07 14:07:15 +03:00
Franck Cornu 74fd5ca5ce [react-search-refiners] (#465)
* Upgraded to SPFx 1.4.1
* Added the ability to set you own refiners labels in the filters panel.
* Replaced the `pushState` method by the SPFx `eventAggregator` for the communication between the search box and results web parts.
* CSS improvements
* Added an option to show the results count
2018-04-04 16:53:53 +02:00
Franck Cornu f421c5cd3b [react-search-refiners] Added SearchBox WP + "Result Source Id" and "Enable Query Rules" parameters (#413)
* Added the react-search-refiners folder

* Updated pagination + format date for DateTime filters

* Added grouped list in the filter panel + fixed some bugs

* Added custom scrollbar style

* Added a placeholder when the Web Part is not configured

* Cleaned code

* Miscellaneous fixes before PR.

* Added Web Part sample images

* Updated images

* Adde the link to the associated blog post.

* Replaced toggle by checkbox + added query template parameter.

* react-search-refiners: CSS fixes

* Quick fix

* Updated the panel position to the left + added an overlay between each search operation to notify the user

* [react-search-refiners] Updated the screenshots + npm packages

* Synced the remote branch from the upstream to merge things correctly

* [react-search-refiners] Removed useless files generated by the upstream merge

* [react-search-refiners] Removed remaining useless files

* [react-search-refiners] Added a search box and a result source Id  + enable query rules parameters

* [react-search-refiners] Added field descriptions

* [react-search-refiners] Updated the README file + solution demo animation
2018-02-26 08:56:57 +01:00
Mikael Svenson cf1d8d40de Updated to drop 1.4, fixed property pane issues, and added more settings (#393)
* Updated to SPFx Drop 1.4

* Store last query in order to update the results when changing the search properties.

* Bugfix: Make sure selected properties are passed along and updated on each search query.

* Support more properties for preview image depending on item type.

* Moved default values to web part config instead of hard coded in the web part.

* Added support to show/hide file icon per result

* Remove empty check for query template as it's not required, but optional.

* Don't render filter control if there are no refiners specified.

* Added support to show/hide the created date field.

* Added more default properties for default image preview

* Updated preview image based on new properties

* Updated version to 1.1
Updated readme with new version, author and drop
2018-01-02 17:34:14 +02:00
Franck Cornu 14f6753b62 [react-search-refiners] Web Part improvements (#390)
* Added the react-search-refiners folder

* Updated pagination + format date for DateTime filters

* Added grouped list in the filter panel + fixed some bugs

* Added custom scrollbar style

* Added a placeholder when the Web Part is not configured

* Cleaned code

* Miscellaneous fixes before PR.

* Added Web Part sample images

* Updated images

* Adde the link to the associated blog post.

* Replaced toggle by checkbox + added query template parameter.

* react-search-refiners: CSS fixes

* Quick fix

* Updated the panel position to the left + added an overlay between each search operation to notify the user

* [react-search-refiners] Updated the screenshots + npm packages

* Synced the remote branch from the upstream to merge things correctly

* [react-search-refiners] Removed useless files generated by the upstream merge

* [react-search-refiners] Removed remaining useless files
2017-12-20 17:51:40 +02:00
Franck Cornu 89cd64eadb New sample - SPFx React Textbox.io rich text editor integration (#340)
* Added the react-search-refiners folder

* Updated pagination + format date for DateTime filters

* Added grouped list in the filter panel + fixed some bugs

* Added custom scrollbar style

* Added a placeholder when the Web Part is not configured

* Cleaned code

* Miscellaneous fixes before PR.

* Added Web Part sample images

* Updated images

* react-textboxio - Initial release. Need README

* Updated README

* Added missing image

* Updated README

* Updated the crawl property in Web Part metadata fro search indexing

* Updated the gif image with better quality
2017-10-27 18:14:14 +03:00