Rationale
Since JCR 1.15 the proprietary API on QueryResult object QueryResultImpl#getTotalSize() has been changed.
It has some impacts on the UI, mainly with pagination pattern used previsouly in GateIn. In fact, it's not possible to retrieve the total number of results from a query, so it's impossible to determine the total number of pages need in the previous pattern.
We decide to change this pagination pattern.
UI Specification
We change the position of the "Add New Page" button. It moves from the bottom of the table to its header.
RULE | Description |
---|---|
IR_PAGINATION_01 | When the screen is displayed it displays first 15 item of the table |
IR_PAGINATION_02 | When there is more than 15 items to display in the table, we display a "More" button |
RULE | Description |
---|---|
IR_PAGINATION_03 | When the user is clicking on the "More" button, it displays a small activity indicator and change the label to "loading..." |
RULE | Description |
---|---|
IR_PAGINATION_04 | The screen will display 15 more items from the table.
If there are more items, the "More" button will be added again. |
Comments