[Bug] "Find styles" button is not looking into userstyles.world
vitaly-zdanevich opened this issue · 16 comments
Website: https://verbum.by
The userstyle: https://userstyles.world/style/14978/verbum-by-black-amoled
Style's category is verbum.by, belarus, dictionary
, which is treated as a single value that doesn't match the category of the site verbum.by
. While we can show styles for such comma-separated category, but strictly speaking it's not the intended usage of this field, it's not "tags".
@vednoc, what do you think?
Not sure if I should go on in this thread, but I'm having the same question.
What are the mandatory fields to have a style hosted on userstyles.world available in Stylus search or what would make a style hosted on userstyles.world not findable in Stylus? Is this described explicitely somewhere? Userstyles.world FAQ only mentions the category.
A correct category
is the only necessary thing.
Thanks for your reply @tophf! I'm sorry to be that guy, but do you have any clue why this style would not show up in stylus?
- it has a category that I think is valid,
- it's been online for a few days,
- and I still can't see it when I'm searching from Stylus.
Let me know if you would like me to open a separate issue for this.
The category is just lichess
for common domains like com or org.
The category is just lichess for common domains like com or org.
Wow. Thanks for the quick reply again, I would not have guessed that. Is there somewhere you think this could be documented (wiki?) to avoid this kind of issues? I'm happy to create it if you want.
Maybe the FAQ: https://github.com/openstyles/stylus/wiki/FAQ ?
It might make more sense to suggest adding this info in userstyles.world. I guess it was implicitly expected that authors would look at the other styles that are shown in the popup and copy their category.
It might make more sense to suggest adding this info in userstyles.world. I guess it was implicitly expected that authors would look at the other styles that are shown in the popup and copy their category.
That's what I did but the ~10 styles I looked up where not hosted on userstyles.world, unfortunately. Anyway thanks and I'll ping the people over at userstyles.world to see what can be done!
The popup shows two sources and the category is the same in both. You probably assumed that lichess
displayed in the style has the same meaning as lichess.org
.
This style is not found in dropdown manu, with correct category habr.com https://userstyles.world/style/14797/habr-com-black
No, the category should be just the site's name (habr) for common domains like com or org. You can inspect other styles that are shown in the menu and see their category.
I changed Category from habr.com
to habr
but still not found.
Your style is shown here now. Apparently it takes some time to update the index.
they should update this text?
Yep.
Apparently it takes some time to update the index.
Yep I see it now.
@vednoc, what do you think?
Hi @tophf! I would rather keep category as is and add support for proper tags, which we will also use in USw's search. That's one of the things I experimented with adding before going on multiple long breaks. It might take a while for me to implement them due to the sheer number of other things, but we could discuss it in the meantime.