crowdsecurity / pfSense-pkg-crowdsec

58 stars 2 forks source link

Status page: postoverflows is too much #65

Closed mmetc closed 1 month ago

mmetc commented 1 year ago

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.

julienloizelet commented 1 year ago

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 ?