tg icon indicating copy to clipboard operation
tg copied to clipboard

Entity Centre: pagination to support navigation to any page

Open 01es opened this issue 1 year ago • 0 comments

Description

With advanced filtering and ordering, pagination through a dataset from page to page is usually sufficient. However, there are use cases where it would be convenient to jump to a specific page or navigate "faster".

It is proposed that tapping a section with page numbers would present the following modal dialog (similar to the date-picker dialog), which is an example for a situation where the current page was 9 out of 660.

image
  • [ ] 1. This dialogs presents a 7x7 grid, displaying the page number with the current one selected. It should be possible to navigate between "pages" of page numbers (labels 1 and 2). In cases with fewer page numbers in the dataset, the dialog width should remain unchanged with only the available page numbers filled in. However, the dialog height could potentially be reduced to fit just the rows with page numbers.

  • [ ] 2. "Go to Page" should be an integer editor (label 3), should be required and accepting values from 1 to the max number of data pages.

  • [ ] 3. Tapping "OK" should load the specified datapage in EGI, with the current page number updated.

Expected outcome

Ability for users to navigate to any available datapage.

01es avatar Jul 09 '24 04:07 01es