[MNT-25635] Search filter autocomplete search for tags when input changes#11780
Merged
MichalKinas merged 1 commit intodevelopfrom Apr 1, 2026
Merged
[MNT-25635] Search filter autocomplete search for tags when input changes#11780MichalKinas merged 1 commit intodevelopfrom
MichalKinas merged 1 commit intodevelopfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Content Services search filter autocomplete chips widget so TAG suggestions are fetched from the backend based on the current input value (instead of loading a static tag list once), addressing MNT-25635.
Changes:
- Trigger tag lookup (
TagService.searchTags) on input changes when the configured field isTAG. - Stop preloading all tags during initialization (TAG options start empty and are populated by searches).
- Update unit tests to reflect the new TAG lookup behavior and remove the old “load all tags on init” expectation.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| lib/content-services/src/lib/search/components/search-filter-autocomplete-chips/search-filter-autocomplete-chips.component.ts | Adds TAG input-change driven backend search and removes initial “load all tags” behavior. |
| lib/content-services/src/lib/search/components/search-filter-autocomplete-chips/search-filter-autocomplete-chips.component.spec.ts | Adjusts tests to validate TAG search invocation on input change and removes obsolete init-loading test. |
AleksanderSklorz
approved these changes
Apr 1, 2026
10b733e to
353cd85
Compare
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
https://hyland.atlassian.net/browse/MNT-25635
What is the new behaviour?
When input changes new set of tags is fetched based in the current input value.
fixes Alfresco/alfresco-content-app#3597
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: