-
Notifications
You must be signed in to change notification settings - Fork 656
Closed
Labels
A-frontend 🐹C-internal 🔧Category: Nonessential work that would make the codebase more consistent or clearCategory: Nonessential work that would make the codebase more consistent or clear
Description
The actual processing code for pagination is refactored into a mixin, but the rendering code is strewn all over mostly because of the need to generate links differently in different contexts:
Examples:
- https://github.com/alexcrichton/cargo-registry/blob/master/app/templates/crates.hbs
- https://github.com/alexcrichton/cargo-registry/blob/master/app/templates/keywords.hbs
- https://github.com/alexcrichton/cargo-registry/blob/master/app/templates/search.hbs
- https://github.com/alexcrichton/cargo-registry/blob/master/app/templates/keyword/index.hbs
Metadata
Metadata
Assignees
Labels
A-frontend 🐹C-internal 🔧Category: Nonessential work that would make the codebase more consistent or clearCategory: Nonessential work that would make the codebase more consistent or clear