Skip to content

Paginated import UI is unusably slow #2392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jaraco opened this issue Aug 30, 2016 · 4 comments
Closed

Paginated import UI is unusably slow #2392

jaraco opened this issue Aug 30, 2016 · 4 comments
Labels
Improvement Minor improvement to code Needed: design decision A core team decision is required

Comments

@jaraco
Copy link
Contributor

jaraco commented Aug 30, 2016

I recently linked my Github account to RTD. I'm a member of 8 or so organizations and have hundreds of repos properly in my account.

The UI, apparently introduced in #1695, has several issues.

Pagination

Although in principle pagination is a good idea, it has several pitfalls.

First, it hides most of the content I want to reach. I can't Ctrl+F to find the project I want if it's not visible. So I'm forced to click through and Ctrl+F for each. The pagination has made my life harder not easier.

Second, the pagination extends beyond a single view. Unless one sets the zoom to a very small size, the page doesn't fit on the page, so one has to page and scroll, a poor user experience.

Third, the pagination buttons are displayed only at the bottom, so after the page loads, one must scroll to the bottom to find the buttons, and then scroll to the top to see the off-view items.

Performance and Responsiveness

On my account, using Firefox 48.0.1, a page takes 3-4 sec to load. Each click of the pagination takes 3-4 seconds. It takes 10 or so clicks of the Next button, each with this delay, to get to the page that I currently am interested in.

Furthermore, during this delay, there's no indication that anything is happening. If delays of more than a second are to be expected, the UI should present some form of "working" message or UI element to signal to the user to be patient.

Unable to Filter on Own Projects

It's possible to filter on organizations, but one's own account isn't listed in the filters, so it's not possible to filter for projects in one's own account. One must trudge through the list of repositories, most of which are ancillary projects for which I've never contributed but am only affiliated through the organization, to find the target project in my own account.

Recommendation

I recommend updating the UI following conventions similar to those employed by the Travis-CI project. First, present all of the personal repositories in a single list. Let the browser's Find feature quickly help the user locate the desired project. Second, only show the organizational repositories if one selects an organization to view. Third, if the list is still considered too big to display, provide a UI element to filter repositories; don't paginate ever.

@jaraco
Copy link
Contributor Author

jaraco commented Aug 30, 2016

I've since encountered additional issues.

Add button does nothing

I click the Add button and nothing happens. I see nothing in the debug console or network traffic. It's as if there's no event bound to the button. I suspect this behavior should be considered as a separate issue.

Return Navigation Resets Page

If one clicks on a repository in the list, that takes them to the repository. If then one clicks the back button to return, the pagination is lost and one returns to the first page.

@jaraco
Copy link
Contributor Author

jaraco commented Dec 20, 2016

each click of the pagination takes 3-4 seconds.

It's gotten worse, pushing 5 seconds.

image

@humitos humitos added Improvement Minor improvement to code Needed: design decision A core team decision is required labels Feb 23, 2017
@pounard
Copy link

pounard commented Aug 2, 2017

I agree, this UI is unusable, at least a search box would be the bare minimum.

@jaraco
Copy link
Contributor Author

jaraco commented Nov 13, 2017

This ticket appears to be largely duplicative of #1899.

@jaraco jaraco closed this as completed Nov 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Minor improvement to code Needed: design decision A core team decision is required
Projects
None yet
Development

No branches or pull requests

3 participants