-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Add explicit Global Search extension point #19348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
madsrasmussen
merged 16 commits into
release/16.0
from
v16/hotfix/global-search-extension-point
May 19, 2025
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
d1cdca7
add global search extension
madsrasmussen d66a0bd
render global search extension in search modal
madsrasmussen 2e665a9
register document global search
madsrasmussen 7dac2a5
add media global search
madsrasmussen b7c44d1
add data type global search
madsrasmussen 4749d0c
add dictionary global search
madsrasmussen db86f58
import manifests
madsrasmussen 195afbe
register document type global search
madsrasmussen 0805bab
add media type global search
madsrasmussen ba411f9
register member global search
madsrasmussen 4d0d87d
register member type global search
madsrasmussen 21f795f
register template global search
madsrasmussen 951c8a4
export missing consts
madsrasmussen b146395
export missing consts
madsrasmussen d9df7aa
export missing consts
madsrasmussen 12851f0
add conditions
madsrasmussen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/Umbraco.Web.UI.Client/src/packages/data-type/search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| export * from './global-search/constants.js'; | ||
| export const UMB_DATA_TYPE_SEARCH_PROVIDER_ALIAS = 'Umb.SearchProvider.DataType'; |
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/data-type/search/global-search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const UMB_DATA_TYPE_GLOBAL_SEARCH_ALIAS = 'Umb.GlobalSearch.DataType'; |
23 changes: 23 additions & 0 deletions
23
src/Umbraco.Web.UI.Client/src/packages/data-type/search/global-search/manifests.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import { UMB_DATA_TYPE_SEARCH_PROVIDER_ALIAS } from '../constants.js'; | ||
| import { UMB_DATA_TYPE_GLOBAL_SEARCH_ALIAS } from './constants.js'; | ||
| import { UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS } from '@umbraco-cms/backoffice/section'; | ||
| import { UMB_SETTINGS_SECTION_ALIAS } from '@umbraco-cms/backoffice/settings'; | ||
|
|
||
| export const manifests: Array<UmbExtensionManifest> = [ | ||
| { | ||
| name: 'Data Type Global Search', | ||
| alias: UMB_DATA_TYPE_GLOBAL_SEARCH_ALIAS, | ||
| type: 'globalSearch', | ||
| weight: 400, | ||
| meta: { | ||
| label: 'Data Types', | ||
| searchProviderAlias: UMB_DATA_TYPE_SEARCH_PROVIDER_ALIAS, | ||
| }, | ||
| conditions: [ | ||
| { | ||
| alias: UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS, | ||
| match: UMB_SETTINGS_SECTION_ALIAS, | ||
| }, | ||
| ], | ||
| }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/dictionary/search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| export * from './global-search/constants.js'; | ||
| export const UMB_DICTIONARY_SEARCH_PROVIDER_ALIAS = 'Umb.SearchProvider.Dictionary'; |
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/dictionary/search/global-search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const UMB_DICTIONARY_GLOBAL_SEARCH_ALIAS = 'Umb.GlobalSearch.Dictionary'; |
23 changes: 23 additions & 0 deletions
23
src/Umbraco.Web.UI.Client/src/packages/dictionary/search/global-search/manifests.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import { UMB_DICTIONARY_SEARCH_PROVIDER_ALIAS } from '../constants.js'; | ||
| import { UMB_DICTIONARY_GLOBAL_SEARCH_ALIAS } from './constants.js'; | ||
| import { UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS } from '@umbraco-cms/backoffice/section'; | ||
| import { UMB_TRANSLATION_SECTION_ALIAS } from '@umbraco-cms/backoffice/translation'; | ||
|
|
||
| export const manifests: Array<UmbExtensionManifest> = [ | ||
| { | ||
| name: 'Dictionary Global Search', | ||
| alias: UMB_DICTIONARY_GLOBAL_SEARCH_ALIAS, | ||
| type: 'globalSearch', | ||
| weight: 600, | ||
| meta: { | ||
| label: 'Dictionary', | ||
| searchProviderAlias: UMB_DICTIONARY_SEARCH_PROVIDER_ALIAS, | ||
| }, | ||
| conditions: [ | ||
| { | ||
| alias: UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS, | ||
| match: UMB_TRANSLATION_SECTION_ALIAS, | ||
| }, | ||
| ], | ||
| }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/documents/document-types/search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| export * from './global-search/constants.js'; | ||
| export const UMB_DOCUMENT_TYPE_SEARCH_PROVIDER_ALIAS = 'Umb.SearchProvider.DocumentType'; |
1 change: 1 addition & 0 deletions
1
...aco.Web.UI.Client/src/packages/documents/document-types/search/global-search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const UMB_DOCUMENT_TYPE_GLOBAL_SEARCH_ALIAS = 'Umb.GlobalSearch.DocumentType'; |
23 changes: 23 additions & 0 deletions
23
...aco.Web.UI.Client/src/packages/documents/document-types/search/global-search/manifests.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import { UMB_DOCUMENT_TYPE_SEARCH_PROVIDER_ALIAS } from '../constants.js'; | ||
| import { UMB_DOCUMENT_TYPE_GLOBAL_SEARCH_ALIAS } from './constants.js'; | ||
| import { UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS } from '@umbraco-cms/backoffice/section'; | ||
| import { UMB_SETTINGS_SECTION_ALIAS } from '@umbraco-cms/backoffice/settings'; | ||
|
|
||
| export const manifests: Array<UmbExtensionManifest> = [ | ||
| { | ||
| name: 'Document Type Global Search', | ||
| alias: UMB_DOCUMENT_TYPE_GLOBAL_SEARCH_ALIAS, | ||
| type: 'globalSearch', | ||
| weight: 600, | ||
| meta: { | ||
| label: 'Document Types', | ||
| searchProviderAlias: UMB_DOCUMENT_TYPE_SEARCH_PROVIDER_ALIAS, | ||
| }, | ||
| conditions: [ | ||
| { | ||
| alias: UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS, | ||
| match: UMB_SETTINGS_SECTION_ALIAS, | ||
| }, | ||
| ], | ||
| }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/documents/documents/search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| export * from './global-search/constants.js'; | ||
| export const UMB_DOCUMENT_SEARCH_PROVIDER_ALIAS = 'Umb.SearchProvider.Document'; |
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/documents/documents/search/global-search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const UMB_DOCUMENT_GLOBAL_SEARCH_ALIAS = 'Umb.GlobalSearch.Document'; |
23 changes: 23 additions & 0 deletions
23
src/Umbraco.Web.UI.Client/src/packages/documents/documents/search/global-search/manifests.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import { UMB_DOCUMENT_SEARCH_PROVIDER_ALIAS } from '../constants.js'; | ||
| import { UMB_DOCUMENT_GLOBAL_SEARCH_ALIAS } from './constants.js'; | ||
| import { UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS } from '@umbraco-cms/backoffice/section'; | ||
| import { UMB_CONTENT_SECTION_ALIAS } from '@umbraco-cms/backoffice/content'; | ||
|
|
||
| export const manifests: Array<UmbExtensionManifest> = [ | ||
| { | ||
| name: 'Document Global Search', | ||
| alias: UMB_DOCUMENT_GLOBAL_SEARCH_ALIAS, | ||
| type: 'globalSearch', | ||
| weight: 800, | ||
| meta: { | ||
| label: 'Documents', | ||
| searchProviderAlias: UMB_DOCUMENT_SEARCH_PROVIDER_ALIAS, | ||
| }, | ||
| conditions: [ | ||
| { | ||
| alias: UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS, | ||
| match: UMB_CONTENT_SECTION_ALIAS, | ||
| }, | ||
| ], | ||
| }, | ||
| ]; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/Umbraco.Web.UI.Client/src/packages/media/media-types/search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| export * from './global-search/constants.js'; | ||
| export const UMB_MEDIA_TYPE_SEARCH_PROVIDER_ALIAS = 'Umb.SearchProvider.MediaType'; |
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/media/media-types/search/global-search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const UMB_MEDIA_TYPE_GLOBAL_SEARCH_ALIAS = 'Umb.GlobalSearch.MediaType'; |
23 changes: 23 additions & 0 deletions
23
src/Umbraco.Web.UI.Client/src/packages/media/media-types/search/global-search/manifests.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import { UMB_MEDIA_TYPE_SEARCH_PROVIDER_ALIAS } from '../constants.js'; | ||
| import { UMB_MEDIA_TYPE_GLOBAL_SEARCH_ALIAS } from './constants.js'; | ||
| import { UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS } from '@umbraco-cms/backoffice/section'; | ||
| import { UMB_SETTINGS_SECTION_ALIAS } from '@umbraco-cms/backoffice/settings'; | ||
|
|
||
| export const manifests: Array<UmbExtensionManifest> = [ | ||
| { | ||
| name: 'Media Type Global Search', | ||
| alias: UMB_MEDIA_TYPE_GLOBAL_SEARCH_ALIAS, | ||
| type: 'globalSearch', | ||
| weight: 500, | ||
| meta: { | ||
| label: 'Media Types', | ||
| searchProviderAlias: UMB_MEDIA_TYPE_SEARCH_PROVIDER_ALIAS, | ||
| }, | ||
| conditions: [ | ||
| { | ||
| alias: UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS, | ||
| match: UMB_SETTINGS_SECTION_ALIAS, | ||
| }, | ||
| ], | ||
| }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/media/media/search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| export * from './global-search/constants.js'; | ||
| export const UMB_MEDIA_SEARCH_PROVIDER_ALIAS = 'Umb.SearchProvider.Media'; |
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/media/media/search/global-search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const UMB_MEDIA_GLOBAL_SEARCH_ALIAS = 'Umb.GlobalSearch.Media'; |
23 changes: 23 additions & 0 deletions
23
src/Umbraco.Web.UI.Client/src/packages/media/media/search/global-search/manifests.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import { UMB_MEDIA_SECTION_ALIAS } from '../../../media-section/constants.js'; | ||
| import { UMB_MEDIA_SEARCH_PROVIDER_ALIAS } from '../constants.js'; | ||
| import { UMB_MEDIA_GLOBAL_SEARCH_ALIAS } from './constants.js'; | ||
| import { UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS } from '@umbraco-cms/backoffice/section'; | ||
|
|
||
| export const manifests: Array<UmbExtensionManifest> = [ | ||
| { | ||
| name: 'Media Global Search', | ||
| alias: UMB_MEDIA_GLOBAL_SEARCH_ALIAS, | ||
| type: 'globalSearch', | ||
| weight: 700, | ||
| meta: { | ||
| label: 'Media', | ||
| searchProviderAlias: UMB_MEDIA_SEARCH_PROVIDER_ALIAS, | ||
| }, | ||
| conditions: [ | ||
| { | ||
| alias: UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS, | ||
| match: UMB_MEDIA_SECTION_ALIAS, | ||
| }, | ||
| ], | ||
| }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/Umbraco.Web.UI.Client/src/packages/members/member-type/search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| export * from './global-search/constants.js'; | ||
| export const UMB_MEMBER_TYPE_SEARCH_PROVIDER_ALIAS = 'Umb.SearchProvider.MemberType'; |
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/members/member-type/search/global-search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const UMB_MEMBER_TYPE_GLOBAL_SEARCH_ALIAS = 'Umb.GlobalSearch.MemberType'; |
23 changes: 23 additions & 0 deletions
23
src/Umbraco.Web.UI.Client/src/packages/members/member-type/search/global-search/manifests.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import { UMB_MEMBER_TYPE_SEARCH_PROVIDER_ALIAS } from '../constants.js'; | ||
| import { UMB_MEMBER_TYPE_GLOBAL_SEARCH_ALIAS } from './constants.js'; | ||
| import { UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS } from '@umbraco-cms/backoffice/section'; | ||
| import { UMB_SETTINGS_SECTION_ALIAS } from '@umbraco-cms/backoffice/settings'; | ||
|
|
||
| export const manifests: Array<UmbExtensionManifest> = [ | ||
| { | ||
| name: 'Member Type Global Search', | ||
| alias: UMB_MEMBER_TYPE_GLOBAL_SEARCH_ALIAS, | ||
| type: 'globalSearch', | ||
| weight: 200, | ||
| meta: { | ||
| label: 'Member Types', | ||
| searchProviderAlias: UMB_MEMBER_TYPE_SEARCH_PROVIDER_ALIAS, | ||
| }, | ||
| conditions: [ | ||
| { | ||
| alias: UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS, | ||
| match: UMB_SETTINGS_SECTION_ALIAS, | ||
| }, | ||
| ], | ||
| }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/members/member/search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| export * from './global-search/constants.js'; | ||
| export const UMB_MEMBER_SEARCH_PROVIDER_ALIAS = 'Umb.SearchProvider.Member'; |
1 change: 1 addition & 0 deletions
1
src/Umbraco.Web.UI.Client/src/packages/members/member/search/global-search/constants.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export const UMB_MEMBER_GLOBAL_SEARCH_ALIAS = 'Umb.GlobalSearch.Member'; |
23 changes: 23 additions & 0 deletions
23
src/Umbraco.Web.UI.Client/src/packages/members/member/search/global-search/manifests.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| import { UMB_MEMBER_MANAGEMENT_SECTION_ALIAS } from '../../../section/constants.js'; | ||
| import { UMB_MEMBER_SEARCH_PROVIDER_ALIAS } from '../constants.js'; | ||
| import { UMB_MEMBER_GLOBAL_SEARCH_ALIAS } from './constants.js'; | ||
| import { UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS } from '@umbraco-cms/backoffice/section'; | ||
|
|
||
| export const manifests: Array<UmbExtensionManifest> = [ | ||
| { | ||
| name: 'Member Global Search', | ||
| alias: UMB_MEMBER_GLOBAL_SEARCH_ALIAS, | ||
| type: 'globalSearch', | ||
| weight: 300, | ||
| meta: { | ||
| label: 'Members', | ||
| searchProviderAlias: UMB_MEMBER_SEARCH_PROVIDER_ALIAS, | ||
| }, | ||
| conditions: [ | ||
| { | ||
| alias: UMB_SECTION_USER_PERMISSION_CONDITION_ALIAS, | ||
| match: UMB_MEMBER_MANAGEMENT_SECTION_ALIAS, | ||
| }, | ||
| ], | ||
| }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.