michaelbromley / michaelbromley/angularUtils

dirPagination should warn when there is duplicates

Open
#393 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
2k
Forks
842
PR merge metrics
No merged PRs in 30d

Description

Hi,

The directive failed to work because the array I was willing to paginate included duplicates. NgRepeat warns about it while with dirPagination I had no warnings in console log.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the dirPagination directive and reviewing how it processes the collection, then compare the requested behavior with AngularJS ngRepeat's duplicate warning. Done means duplicate items produce a console warning while normal pagination continues to work; verify behavior with the project's relevant tests or manual example.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs, javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.