From 02c4d75b05589fdd09105893e2378f3470bf7476 Mon Sep 17 00:00:00 2001 From: Patrik Hellgren Date: Mon, 17 Jun 2024 01:14:14 +0200 Subject: [PATCH 1/5] Update audience docs --- docs/usage/search-verticals/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/search-verticals/index.md b/docs/usage/search-verticals/index.md index 8cbe8266..7d264294 100644 --- a/docs/usage/search-verticals/index.md +++ b/docs/usage/search-verticals/index.md @@ -23,4 +23,4 @@ The options for a vertical are as follow: | **Link URL** | If the tab is an hyperlink, the link URL to use. Tokens `{}` are supported here. See [tokens](../search-results/tokens.md) for more info. | **Open behavior** | If the tab is an hyperlink, the opening behavior (new tab or current tab). | **Show link icon** | If the tab is an hyperlink, display or hide an icon next to the tab name indicating the tab is a link (same page or external). -| **Audience** | Groups that this vertical will be visible to. If left empty the vertical will be visible for all users. +| **Audience** | Groups that this vertical will be visible to. If left empty the vertical will be visible for all users. Requires at least User.Read.All and GroupMember.Read.All permissions for the SharePoint Online Client Extensibility Web Application Principal. From bdfa79302e69de77dd3a12780372c76c78c6df65 Mon Sep 17 00:00:00 2001 From: Patrik Hellgren Date: Tue, 18 Jun 2024 23:30:10 +0200 Subject: [PATCH 2/5] Remove setting initial focus --- search-parts/src/components/DetailsListComponent.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/search-parts/src/components/DetailsListComponent.tsx b/search-parts/src/components/DetailsListComponent.tsx index 48f233de..b8204d35 100644 --- a/search-parts/src/components/DetailsListComponent.tsx +++ b/search-parts/src/components/DetailsListComponent.tsx @@ -430,13 +430,6 @@ export class DetailsListComponent extends React.Component 0) { - const key = this.props.selectedKeys[0]; - focusIndex = items.findIndex(item => item.key == key); - } - - let shimmeredDetailsListProps: IShimmeredDetailsListProps = { theme: this.props.themeVariant as ITheme, items: items, @@ -446,7 +439,6 @@ export class DetailsListComponent extends React.Component Date: Thu, 20 Jun 2024 12:16:12 +0200 Subject: [PATCH 3/5] bugfix paging --- .../src/webparts/searchResults/SearchResultsWebPart.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/search-parts/src/webparts/searchResults/SearchResultsWebPart.ts b/search-parts/src/webparts/searchResults/SearchResultsWebPart.ts index ee335ad7..1d1fc24c 100644 --- a/search-parts/src/webparts/searchResults/SearchResultsWebPart.ts +++ b/search-parts/src/webparts/searchResults/SearchResultsWebPart.ts @@ -2461,16 +2461,17 @@ export default class SearchResultsWebPart extends BaseWebPart Date: Mon, 24 Jun 2024 08:39:46 +0200 Subject: [PATCH 4/5] Fix image reference --- docs/usage/search-box/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage/search-box/index.md b/docs/usage/search-box/index.md index 900573dc..b2830061 100644 --- a/docs/usage/search-box/index.md +++ b/docs/usage/search-box/index.md @@ -21,7 +21,7 @@ The 'Search box' Web Part allows users to enter free text search queries connect ### Query suggestions -!["Search Box suggestions"](../../assets/webparts/search-box/search_box_suggestions){: .center} +!["Search Box suggestions"](../../assets/webparts/search-box/search_box_suggestions.png){: .center} The query suggestions allows users to easily find relevant query keywords based on their entry: From 257daab0bbf7f518c38a648911c384ece21b9159 Mon Sep 17 00:00:00 2001 From: Mikael Svenson Date: Tue, 25 Jun 2024 13:29:11 +0200 Subject: [PATCH 5/5] Bump version to 4.12.2 --- search-parts/config/package-solution.json | 2 +- search-parts/package-lock.json | 4 ++-- search-parts/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/search-parts/config/package-solution.json b/search-parts/config/package-solution.json index ecc30ae2..99242da6 100644 --- a/search-parts/config/package-solution.json +++ b/search-parts/config/package-solution.json @@ -3,7 +3,7 @@ "solution": { "name": "PnP Modern Search - Search Web Parts - v4", "id": "59903278-dd5d-4e9e-bef6-562aae716b8b", - "version": "4.12.0.0", + "version": "4.12.2.0", "includeClientSideAssets": true, "skipFeatureDeployment": true, "isDomainIsolated": false, diff --git a/search-parts/package-lock.json b/search-parts/package-lock.json index 2ff9a51c..0cc2b105 100644 --- a/search-parts/package-lock.json +++ b/search-parts/package-lock.json @@ -1,12 +1,12 @@ { "name": "@pnp/modern-search-web-parts", - "version": "4.12.0", + "version": "4.12.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@pnp/modern-search-web-parts", - "version": "4.12.0", + "version": "4.12.2", "dependencies": { "@fluentui/font-icons-mdl2": "^8.5.32", "@fluentui/react": "8.106.4", diff --git a/search-parts/package.json b/search-parts/package.json index d67a601c..ffd0a05b 100644 --- a/search-parts/package.json +++ b/search-parts/package.json @@ -1,6 +1,6 @@ { "name": "@pnp/modern-search-web-parts", - "version": "4.12.0", + "version": "4.12.2", "private": true, "main": "lib/index.js", "engines": {