Open ivansimonov opened 2 years ago
Thanks @ivansimonov - that makes sense.
Currently, the styles are keyed off the URL (which means only one style can exist per URL string) to make it simple to pick which style the editor modifies.
I think ideally I want to enable multiple styles per URL and allow switching between them in the editor. And add a name field to explain the purpose of a style.
shouldn;t be too hard to do, sould it, i admittedly haven't looked at how you;re storing the single css Change per URL, maybe just as string? so an object with nested Domains each with a name property, array of styles (index 0 would be the primary one) the array can contain the style type object, so Name of style, the style text, the URL it shoould be applied ot maybe. (thinking aloud here i guess a this point
Suggest to add Name field for rules. URL filter can not show core and purpose of rule. Especially if it punycode URL:![image](https://user-images.githubusercontent.com/27950263/147583435-56052b7a-743b-4614-95cc-b8a1cec24c76.png)