Skip to content
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

Users affiliated with more than 300 orgs can't select them all from the dropdown #3345

Open
rebeccacremona opened this issue Jun 1, 2023 · 3 comments
Labels
bug Issue type needs-design Effort hint priority-low Priority hint

Comments

@rebeccacremona
Copy link
Contributor

Similar to #3178.

Perma users who are affiliated with organizations can use this dropdown menu to select which of their organizations a link should be affiliated with:
image

But, the dropdown only shows 300 options... and some registrars evidently have more than that!!! Amazing!

A dropdown with more than 300 options is.... absolutely not the UI we want to be offering people like that 😱 . And, indeed, they can successfully use the folder tree to accomplish the same task (though I should triple check that that is true). We should think through what design might be best for folks like these.

But in the meantime... we should at least show them all their options.

@rebeccacremona
Copy link
Contributor Author

Hmm, though interesting, it looks like the largest registrar has only 198 orgs.

SELECT registrar_id, COUNT(*) as orgs FROM perma_organization GROUP BY registrar_id ORDER BY orgs DESC;

 registrar_id | orgs 
--------------+------
          648 |  198
          938 |  150
...

Maybe this is more complicated than I thought.

@rebeccacremona
Copy link
Contributor Author

Update: this is not more complicated than I thought 😂 .

The registrar user in question can indeed see all their orgs in the dropdown at Perma.cc, because there are fewer than 300.

Admins, however, see Perma's first 300 orgs, alphabetically.

So, this issue for the web app is currently only admin-facing.

The registrar user in question is instead hitting a limit in the browser extension; I made a separate ticket there.

@rebeccacremona rebeccacremona added bug Issue type needs-design Effort hint priority-low Priority hint labels Jun 1, 2023
@jp-tosca
Copy link

jp-tosca commented Sep 2, 2023

Hi Rebecca!

Probably a text field/dropdown where people can type and filter the elements could be helpful for longer lists and also a good addition to make it more usable.

I haven't looked at this more deeply because I am just getting familiar with perma.cc but I will look more at it later, but I did some quick testing changing on perma_web/perma/templates/user_management/create-link.html around line 66:

https://jsfiddle.net/jnbsdkv4/

Animation

I will look more at this later but wanted to share this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue type needs-design Effort hint priority-low Priority hint
Projects
None yet
Development

No branches or pull requests

2 participants