Work in progress because broken. Waiting for the version explorer to be obsoleted.
This PR reworks the systems of paginations:
The model Pagination is renamed into Slice. The goal is to leave the name “pagination” available for the UI element that is actually a pagination and to get more accurate naming.
The new Slice model gains an interface file, better naming (in particular making explicit the inclusivity/exclusivity of the end bound) and, in general, documentation and code safety.
The change is followed everywhere else in the code. [WIP: We are stuck at this point because it turns out that some old-API code produces nonsensical slices. The code will disappear once the search page obsoletes the tunes explorer.]
The UI element PageNav gets renamed into Pagination.
Work in progress because broken. Waiting for the version explorer to be obsoleted.
This PR reworks the systems of paginations:
The model
Pagination
is renamed intoSlice
. The goal is to leave the name “pagination” available for the UI element that is actually a pagination and to get more accurate naming.The new
Slice
model gains an interface file, better naming (in particular making explicit the inclusivity/exclusivity of the end bound) and, in general, documentation and code safety.The change is followed everywhere else in the code. [WIP: We are stuck at this point because it turns out that some old-API code produces nonsensical slices. The code will disappear once the search page obsoletes the tunes explorer.]
The UI element
PageNav
gets renamed intoPagination
.