WebUI: Improve filter lists

This PR adds following improvements: 
* Remove unused tracker entries while processing sync data
* Take into account filter selection & terms when performing 'Start/stop/delete' context actions in filter lists
  Now, only filtered torrents will be affected by them, just like in the GUI.
* Provide better feedback when performing 'Start/stop/delete' context actions in filter lists
  Small improvement over GUI - now these actions will be disabled if it's not possible to use them.
* Add context menu to status filter list
* Fix error when toggling filter title
  Fixup for small bug introduced in https://github.com/qbittorrent/qBittorrent/pull/21269

PR #21438.
This commit is contained in:
skomerko
2024-10-12 07:40:18 +02:00
committed by GitHub
parent b1fd61af3a
commit 81509dfb65
9 changed files with 259 additions and 345 deletions

View File

@@ -275,6 +275,10 @@ a.propButton img {
border-top: 1px solid var(--color-border-default);
}
.contextMenu .separatorBottom {
border-bottom: 1px solid var(--color-border-default);
}
.contextMenu li {
margin: 0;
padding: 0;
@@ -284,8 +288,7 @@ a.propButton img {
.contextMenu li.disabled {
background-color: transparent;
cursor: default;
filter: grayscale(1);
opacity: 0.6;
opacity: 0.5;
}
.contextMenu li.disabled a {