dotnet / dotnet/aspnetcore

QuickGrid: simplify localizing pagination

Open
#42,338 9 comments 6 reactions 0 assignees View on GitHub
area-blazor bug feature-blazor-quickgrid feature-localization Pillar: Complete Blazor Web Priority:1 triaged
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

**Update:** It's all covered except for localization of pagination. It's already possible to do that today by creating a custom paginator (and only 10 or so lines of code) but that's still harder than people would ideally want.

---

### High priority

- [x] On iOS Safari, column options can't be dismissed by tapping on the background. Try listening to `touchstart` (or similar) as well as `click` events.
- [x] On iOS Safari, the sort indicators don't display at all because they use an unsupported unicode character. Try replacing these with SVG images.
- [x] Default sort order is only applied if the data source is loaded asynchronously

### Lower priority

- [x] On iOS Safari, the pagination buttons don't look great because the unicode characters aren't exactly aligned with each other. Try replacing these with SVG images.
- [x] On iOS Safari, there's no way to resize columns. Consider applying support for all the touch events for dragging.
- [ ] No built-in localization of the built-in strings ("Next page" in `alt` text, "14 items", etc.). Developers wanting to customize this have to override the pagination output.
- [ ] The built-in English text for pagination summary doesn't pluralize correctly ("1 items")

Contributor guide

Open the contributing guide

Research direction

Start by locating QuickGrid’s built-in pagination output and the strings described in the issue, then compare it with the custom paginator path. Done means built-in pagination text can be localized and the pagination summary uses correct singular and plural wording.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
localization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.