Skip to content

[MNT-25635] Search filter autocomplete search for tags when input changes#11780

Merged
MichalKinas merged 1 commit intodevelopfrom
bugfix/dev-mkinas-MNT-25635
Apr 1, 2026
Merged

[MNT-25635] Search filter autocomplete search for tags when input changes#11780
MichalKinas merged 1 commit intodevelopfrom
bugfix/dev-mkinas-MNT-25635

Conversation

@MichalKinas
Copy link
Copy Markdown
Contributor

@MichalKinas MichalKinas commented Mar 30, 2026

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

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")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 is TAG.
  • 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.

@MichalKinas MichalKinas force-pushed the bugfix/dev-mkinas-MNT-25635 branch from 10b733e to 353cd85 Compare April 1, 2026 07:17
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 1, 2026

@MichalKinas MichalKinas merged commit 565db01 into develop Apr 1, 2026
19 checks passed
@MichalKinas MichalKinas deleted the bugfix/dev-mkinas-MNT-25635 branch April 1, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only first 100 tags shown in Advanced Filters.

3 participants