Project

General

Profile

Actions

Bug #10892

open

Large number of VLAN/LANs make floating rules are to read

Added by Joe Slent over 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Low
Assignee:
Jared Dillard
Category:
Rules / NAT
Target version:
Start date:
09/12/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:
All

Description

Since the following commit for 2.4.5, the interface column was introduced for floating rules: https://redmine.pfsense.org/projects/pfsense/repository/revisions/bf83fb9ab93435e605d28b67e0352d32ce63ba2d/diff/src/usr/local/www/firewall_rules.php

However this has dramatically decreased the usability of the WebGUI when analyzing floating rules in case of many interfaces being assigned to the rules due to the way they are listed:

echo implode('<br/>', $selected_descs);

I.e. If I assign a couple of rules to 10 interfaces each, I have eaten away my whole screen estate.

This issue is to enhance that, and we could do it in a couple of ways:
1. very easily, change the implode to comma separate the list, instead of using <br>, e.g. implode(', ', $selected_descs); This is my favourite. It compresses the raws without decreasing readability and it's a very safe change to make.
2. keep the <br>, but hide if more than 1 lines. Example https://css-tricks.com/almanac/properties/l/line-clamp/ (this should retain the page text-searchable).
3. any other css/display things with some link to show/hide


Files

floating-rules.png (84.1 KB) floating-rules.png Example of 3 rules in floating with many interfaces assigned Joe Slent, 09/12/2020 03:04 AM
10892rules.png (5.77 KB) 10892rules.png Max Leighton, 09/20/2020 04:03 PM
notgood.png (21.7 KB) notgood.png Joe Slent, 12/13/2020 03:49 PM
good.png (32 KB) good.png Joe Slent, 12/13/2020 04:20 PM
with_all.PNG (8.22 KB) with_all.PNG ALL if all interfaces selected Dan Mackie, 12/17/2020 12:35 AM
without_all.PNG (10.1 KB) without_all.PNG Individual if not all interfaces selected Dan Mackie, 12/17/2020 12:37 AM
Actions

Also available in: Atom PDF