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

HM Admin Dashboard does not do pagination #40

Open
eigood opened this issue Feb 2, 2023 · 1 comment
Open

HM Admin Dashboard does not do pagination #40

eigood opened this issue Feb 2, 2023 · 1 comment

Comments

@eigood
Copy link

eigood commented Feb 2, 2023

If I go to HM Admin > Projects, it will paginate all projects. The dashboard will only display in-progress projects. But, it does no pagination. If there are hundreds to thousands of in-progress projects, it will send that much pre-rendered html from the server, and the browser struggles to display that much content.

I started to create new projects on demo.moqui.org, and never got a paginator to display(but hadn't gotten it up to 10 yet). The project list tho, was displaying a paginator with only 3 items on it(well below the per-page setting).

@jonesde
Copy link
Member

jonesde commented Feb 2, 2023

Agreed, the HM Admin app needs better support for large numbers of projects (ie more than ~100, HM Admin right now is really designed for more like 10-20 active projects). This is the reason the UI in Marble ERP for projects is quite different, the Marble ERP screens being meant for a large number of projects (and not containing any screens that don't handle a large number of projects).

On a technical note, to display a list of summaries per projects it uses section-iterate (not form-list). Pagination is supported for section-iterate but isn't quite as fancy, that didn't exist when HM Admin was written making paginating those much more cumbersome (can be done manually anywhere), at this point it mostly just needs to be implemented on the couple of screens in HM Admin that list projects without pagination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants