mirror of
https://github.com/opnsense/core.git
synced 2026-05-30 10:58:06 -05:00
Always group rules by their priority/type in the filter grid and reuse the same rule type metadata for both bucket labels and icons. When tree view is enabled, categorized non-automatic rules are grouped one level deeper by category, while automatic and uncategorized rules remain directly below their rule type bucket. This keeps the default view structured without relying on a mixed flat/tree array and makes the tree toggle an additive category grouping layer. The front end doesn't need any fake category for the automatic rules anymore, since it's decided by priority group now in the response handler logic Render icons for the top tree level groups, remove counts behind them to reduce visual noise Remove the count labels from interfaces, as they imply something has to be done as they resemble event badges Rework the buttons, only use icons with tooltips, always show the expand tree button Match terminology with legacy page Change title of the category grouping button Higher default rowCount because all rules is the default view and we always show automatic rules now which inflates count here, also offer 20 as option for small screen devices Adjust widths feedback @swhite2 Selectable false for enabled and category Inspect button only reveals statistics now, all other filtering decisions have been removed from the Inspect button (show_all in FilterController) Re-add show_all to the advanced search functionality, with comment that it might have to be changed later