Skip to content

[ng-components] base list add debounce and minimum character search#91

Merged
cleftheris merged 15 commits into
developfrom
feature/base-list-add-debounce
Apr 16, 2026
Merged

[ng-components] base list add debounce and minimum character search#91
cleftheris merged 15 commits into
developfrom
feature/base-list-add-debounce

Conversation

@VSpyridonos

Copy link
Copy Markdown
Contributor

No description provided.

@VSpyridonos VSpyridonos marked this pull request as ready for review March 20, 2026 13:36
Copilot AI review requested due to automatic review settings March 20, 2026 13:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds debounce and minimum character search functionality to the ng-components base list component. The changes introduce a search subject-based pipeline with debouncing, filtering for minimum character requirements, and deduplication logic. The feature is also integrated into the controls sample list component to demonstrate the functionality.

Changes:

  • Added debounce time (1000ms) and minimum search characters (3) configuration to BaseListComponent
  • Implemented a Subject-based reactive pipeline with filter, debounce, and distinctUntilChanged operators for search queries
  • Integrated the new search functionality into the controls sample list component with filtering logic
  • Added HTML template binding for the search input event

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
projects/ng-components/src/lib/helpers/base-list.component.ts Added search debounce mechanism with minimum character requirement and proper subscription cleanup
projects/app/src/app/features/controls/controls-samples-list/controls-samples-list.component.ts Integrated search functionality with client-side filtering of samples by title and description
projects/app/src/app/features/controls/controls-samples-list/controls-samples-list.component.html Added search event binding to the view layout component

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread projects/ng-components/src/lib/helpers/base-list.component.ts Outdated
Comment thread projects/ng-components/src/lib/helpers/base-list.component.ts Outdated
VSpyridonos and others added 13 commits March 20, 2026 16:34
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Update npm-publish.yml to add a check that skips publishing if the current package version is already available on the npm registry. Introduce a publish_if_new function to handle this logic for @indice/ng-auth, @indice/ng-components, and @indice/ng-config.
…ion checking in main publish workflow and add beta publish script for ng-config

@cleftheris cleftheris left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀🚀

@cleftheris cleftheris merged commit 75aee15 into develop Apr 16, 2026
1 check passed
@cleftheris cleftheris deleted the feature/base-list-add-debounce branch April 16, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants