kaliberjs / kaliberjs/pagination
Gap when no gap is needed
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Sometimes a gap is shown when the gap only represents a single number. In this case, the gap could show the number instead.
For example:

This could be rendered as:
[1, ..., 12, 13, 14, 15, 16]
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the pagination-array entry point and reproduce the example where a gap represents only one number. Verify that this singleton gap is rendered as the number itself, while multi-number gaps still use the existing gap marker and the shown example produces the requested array.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100