stylus icon indicating copy to clipboard operation
stylus copied to clipboard

Add the sorting method of `applies-to` to the manager

Open dnknn opened this issue 5 years ago • 1 comments

On the manager page, By applies-to sorting : is a sorting method based entirely on applies-to matching.

Potential demand: People want to be able to sort the website/domain/all page that are applied to the same type together instead of separate from each other. Just like the style list in Stylus-Popup on a website page, or right-clicking the manager button in Popup to open manager.
  • First echelon: if styles applied to all pages or like .* , it will be ranked first.

  • Second echelon: the next step is to sort by apps-to domain .

  • In other words, it is roughly equivalent to showing the Popup style list for each page.

e.g. there are many styles applied to github.com , then, How to make them line up tightly, even if the first letter of the style is different ?

Can add applies-to to the manager sort? This sorting allows related/applied to multiple styles under the same domain to be arranged closely together rather than separated.

You might say use style name to sort together , but we also use the first letter as the Popup-hotkeys, so the first letter will be different. 2011_20151725

So I think that this requirement can only be achieved by sorting by applies-to, WDYT?

2011_20151256

dnknn avatar Nov 20 '20 12:11 dnknn

@tophf If possible, the sorting of style local ID can also be supported.

chrome-extension://xxxx/edit.html?id=1 chrome-extension://xxxx/edit.html?id=2 chrome-extension://xxxx/edit.html?id=3 ....

image

dnknn avatar Dec 13 '20 05:12 dnknn