Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336510 - [user] manage-users page doesn't scale
Summary: [user] manage-users page doesn't scale
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 1.0   Edit
Assignee: Ken Walker CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 09:42 EST by John Arthorne CLA
Modified: 2012-09-11 15:11 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2011-02-07 09:42:39 EST
0.2 M5

The manage-users page currently shows all users in the system. This won't scale if there are 100,000 users. We need a scalable solution:

- Show only the first X users, such as first 50 users (sorted alphabetically)
- The protocol should return an object with a NextLocation (and possibly PreviousLocation) pointer. These objects would point to the next and previous pages:

NextLocation=http://localhost:8080/users?start=50

- Render "Next Page" and "Previous Page" links if those properties are defined.

Also, it would be useful to be able to jump to a particular user. For example if the admin knows they want to delete the account of "Zarna" they shouldn't have to scroll through all users to get there. I imagine a dialog that allows the admin to select a user, and then it jumps straight to the profile page for that user. It could require an exact user id for now (more advanced would be allowing a search on the user's name or other properties).
Comment 1 Ken Walker CLA 2012-08-22 14:12:01 EDT
The list has been sorted now and I'm working on paginating the results.
Comment 2 Denis Roy CLA 2012-08-28 16:07:46 EDT
From an admin's perspective, when users > 100 showing the first 50 is of no use.  We typically go in there to reset a specific user's password, so having a simple lookup facility would be awesome.
Comment 3 Ken Walker CLA 2012-08-28 16:33:20 EDT
Ok, will take that in mind, thanks
Comment 5 Ken Walker CLA 2012-09-11 15:11:29 EDT
Client side changes for pagination. Will open a separate defect with respect to filtering out or searching for names but I don't think I'll get to that before 1.0 releases.

The pagination parameters can easily be changed by modifying the URI.

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=bab38b5beb672481accd5b90b2441ced1880b7aa