Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Contrib > Lookup Component (Part 2) > Autocomplete component #1438

Merged
merged 49 commits into from
Feb 8, 2018

Conversation

Blackbaud-SteveBrush
Copy link
Member

@Blackbaud-SteveBrush Blackbaud-SteveBrush commented Jan 26, 2018

Features/requirements:

  • Should accept custom search function
  • Should accept custom search filters
  • Should accept custom search result template
  • Should accept default value (an object of type any)
  • Should accept array of object property names to search against
  • Should accept number of minimum characters the user must type before a search is issued

Implementation pulled from original contribution by @Blackbaud-TomRamsey: #1220
Related, part 1: #1386

@codecov-io
Copy link

codecov-io commented Jan 26, 2018

Codecov Report

Merging #1438 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #1438    +/-   ##
=======================================
  Coverage     100%    100%            
=======================================
  Files         378     382     +4     
  Lines        7146    7400   +254     
  Branches      908     946    +38     
=======================================
+ Hits         7146    7400   +254
Impacted Files Coverage Δ
src/modules/dropdown/dropdown.component.ts 100% <100%> (ø) ⬆️
...tocomplete/autocomplete-default-search-function.ts 100% <100%> (ø)
src/modules/autocomplete/autocomplete.module.ts 100% <100%> (ø)
...dules/autocomplete/autocomplete-input.directive.ts 100% <100%> (ø)
src/modules/autocomplete/autocomplete.component.ts 100% <100%> (ø)
...rc/modules/dropdown/types/dropdown-message-type.ts 100% <100%> (ø) ⬆️
...modules/text-highlight/text-highlight.directive.ts 100% <100%> (ø) ⬆️
src/modules/dropdown/dropdown-menu.component.ts 100% <100%> (ø) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2def0f3...840d944. Read the comment docs.

@Blackbaud-SteveBrush Blackbaud-SteveBrush changed the title [HOLD] Contrib > Lookup Component (Part 2) > Autocomplete component Contrib > Lookup Component (Part 2) > Autocomplete component Jan 30, 2018
@Blackbaud-BobbyEarl
Copy link

This LGTM. Only one small thing I noticed, the search highlighting seemed a little off. For most mast cases, it didn't always highlight matches.

Copy link

@Blackbaud-BobbyEarl Blackbaud-BobbyEarl left a comment

Choose a reason for hiding this comment

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

LGTM. Non-blocking feedback. I would remove the alerts, but keep the text from the demo component.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants