primate
primate copied to clipboard
feat: Add filter to the consumers list
Description
Added an input field to filter consumers in the respective screen, a functionally everyone at my team greatly need :)
The filter is implemented as an anguler filter for the ng-repeat
on consumerList
, and it's filtering by displayText
to avoid making things complicated.
Example
Before filter:
After filter:
Notes
Most of the code changes were done by Prettier. I've made sure that I pass lint, but if something goes against the coding style let me know and I'll redo the PR to only include the changes I made without any formatting.