Github user zsxwing commented on the pull request:

    https://github.com/apache/spark/pull/7399#issuecomment-121650945
  
    Here is the rule for page navigation.
    * If the totalPages is 1, the page navigation will be empty
    * If the totalPages is more than 1, it will create a page navigation 
including a group of page numbers (10 pages) and a form to submit the page 
number.
    
    Here are some examples of the page navigation:
    ```
    << < 11 12 13* 14 15 16 17 18 19 20 > >>
       
    This is the first group, so "<<" is hidden.
    < 1 2* 3 4 5 6 7 8 9 10 > >>
       
    This is the first group and the first page, so "<<" and "<" are hidden.
    1 2* 3 4 5 6 7 8 9 10 > >>
       
    Assume totalPages is 19. This is the last group, so ">>" is hidden.
    << < 11 12 13* 14 15 16 17 18 19 >
       
    Assume totalPages is 19. This is the last group and the last page, so ">>" 
and ">" are hidden.
    << < 11 12 13 14 15 16 17 18 19*
       
    * means the current page number
    << means jumping to the first page of the previous group.
    < means jumping to the previous page.
    >> means jumping to the first page of the next group.
    > means jumping to the next page.
    ```
    
    And a screenshot for 100k tasks:
    
    <img width="1356" alt="pagination-100k" 
src="https://cloud.githubusercontent.com/assets/1000778/8702111/545e57aa-2b48-11e5-82c0-e488617d31a2.png";>



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to