AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
25.08k stars 1.8k forks source link

Sort Ignored domains by domain name alphabetically #6696

Open Lagicrus opened 8 months ago

Lagicrus commented 8 months ago

Prerequisites

The problem

Finding if a domain name has already been added in the Ignored Domains section of the settings, UI is tricky when you get past, say, ten as they are in whatever order you entered them into the box and not sorted.

Proposed solution

Sort the Ignored domains section alphabetically by the domain name to improve searchability.

Alternatives considered and additional information

No response

ainar-g commented 8 months ago

I don't think we can do that. These are currently matching rules following the usual DNS filtering-rule syntax, which may include comments (for example, why domains matching these rules must be ignored), and we cannot sort those.