louislam / uptime-kuma

A fancy self-hosted monitoring tool
https://uptime.kuma.pet
MIT License
52.51k stars 4.72k forks source link

Pagination on status pages #4106

Open manoonabbasi opened 7 months ago

manoonabbasi commented 7 months ago

⚠️ Please verify that this feature request has NOT been suggested before.

🏷️ Feature Request Type

UI Feature

🔖 Feature description

in the status pages it should have pagination option which will make the page load speed much faster and optimized.

✔️ Solution

on the status pages there should be option so that one could paginate the listings. It will look cool and make the page load and response faster.

❓ Alternatives

No response

📝 Additional Context

No response

CommanderStorm commented 7 months ago

Note that https://github.com/louislam/uptime-kuma/pull/3515 and a few other performance improvements like external mariadb were merged into the v2 release (see https://github.com/louislam/uptime-kuma/milestone/24 for the progress). How far v2 scales is currently untested.

manoonabbasi commented 7 months ago

My concern is not about Maria DB or any other external DB or even DB. What I am concerned is that in the status pages, there should be a UI design to have pagination to server a long list in multiple pages instead of just one page which sometimes takes ages to fully load. And addition to that some filters would make life much easier as well on the same status pages.

CommanderStorm commented 7 months ago

As noted above, the loading issue for large monitors was likely resolved in #3515 Fetching a few thousand monitors might not be an issue from a transmitted data perspective. Benchmarking of v2 is still outstanding; thus it is unclear if this is necessary. @chakflying correct me if I am wrong ^^

some filters would make life much easier as well on the same Dashboard.

Are you refering to these filters? image

manoonabbasi commented 7 months ago

Having few thousand of monitors on one page doesn't make sense. It's just not practical in UI/UX perspective.

Pagination of the status pages I mean. Pagination there would be a must feature.

CommanderStorm commented 7 months ago

Pagination of the status pages Dashboard

What site are you referring to concretely?

Pagination there would be a must feature

I am going to add the question tag to this issue, and we will revisit this after the v2.0 release. I am currently not quite convinced that this is necessary. How many monitors would you like to run at what retention and in which interval?

manoonabbasi commented 7 months ago

I am specifically talking about https://example.com/status/statuspage.

I have more than 120+ monitors on that page and definitely I would like to have a nice pagination.

THANKS

CommanderStorm commented 7 months ago

So you are not talking about the dashboard, but the status page. I have edited the issue to reflect that

manoonabbasi commented 7 months ago

Thank you.