pfSense-pkg-crowdsec icon indicating copy to clipboard operation
pfSense-pkg-crowdsec copied to clipboard

Status page: postoverflows is too much

Open mmetc opened this issue 2 years ago • 1 comments

The postoverflows are rarely used and the tab could be removed if empty. I don't remember if it's easy or possible with the current tables. But it would help because users often don't even know what they are.

mmetc avatar Oct 12 '23 09:10 mmetc

I think this is not possible "easily":

The content of the status tabs is not loaded when visiting the page; it is only loaded when user clicks on the tab. Thus, we can not know if the postoverflows tab will be empty or not.

Of course, we could add an ajax request to get the postoverflows data every time the page is visited, and hide the tab accordingly.

But I guess adding such an additional request, just to hide a tab, is not something that will add value. What do you think ?

julienloizelet avatar Oct 13 '23 06:10 julienloizelet