harvard-lil / perma-extension

A browser extension for Perma.cc
MIT License
3 stars 1 forks source link

To test: What happens when you have a lot of folders / when you are a registrar? #32

Open matteocargnelutti opened 2 years ago

matteocargnelutti commented 2 years ago

Question from @clare-stanton: What happens when you sign-in to the extension using an account that has lots of folders (i.e: registrar account)? Is the idea of using dashes to represent depth in the folders dropdown going to cut it in that case?

matteocargnelutti commented 2 years ago

Discussed:

rebeccacremona commented 1 year ago

We have a report that registrar users affiliated with a humongous number of orgs, over 300, are not able to select all of them here... I suspect due to something similar to https://github.com/harvard-lil/perma/issues/3345 or https://github.com/harvard-lil/perma/issues/3178. To be investigated! This will be fun.

matteocargnelutti commented 1 year ago

Ah! Looks like me from July 2022 kind of knew this would come back 😛 ! Thanks for flagging @rebeccacremona

rebeccacremona commented 1 year ago

FWIW: my initial understanding seems to be somewhat off. It looks like the largest registrar has only 198 orgs... and no user can be an registrar user for multiple registrars.

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

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

I think the extension cuts off after the first 100 (unlike the Perma web app)