-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description is not updated when a style is uploaded from Stylus plugin #287
Comments
I couldn't find the difference between publishing and updating a style from Stylus. But I suppose for now metadata is only parsed and updated when the style is imported or when its automatically updated on mirroring. I think the checkbox "Mirror userstyle metadata" can be reused for this and be renamed to "Follow source code metadata", so metadata will be updated on source code updates of any kind. |
that could work. And what's the reason for having a possibility to have un-synced Name? To be able to use one name inside the CSS and another for the name on USw? And a side note, I am not sure people understand what this means on Edit Page: Will be used for SEO and rich embeds. |
Some people may want to have different descriptions. We also have 160 chars limit for it on USw and it is less than description of some userstyle may have for sure. Notes are widely used for changelogs, additional screenshots and a lot of other suff.
You may use website's full name in userstyle name on USw and a short name for the actual style, so it won't be too bulky in the popup. Like "UserStyles.World acid rain theme" and "USw acid rain".
I don't think I'm competent enough to answer this, just clarifying why this isn't answered by me. |
Thanks for your answers. In my understanding, a program bug is something that happens unexpectedly, or unintentionally to a design. The way the Description and Name work/do not work is a bug. As you explained and as I now also tested, Name and Description are completely separated from the Name an Description in the script. So this is not an issue limited only to the upload. The same goes for the Name. But this is just my bug report, stating what I see as a problem with the site. SEO and rich embeds, But my note was about using the wording itself. A style author does not usually know what SEO is and does not need to. Why confuse them with it. (On https://userstyles.world/edit/### or https://userstyles.world/add/) |
I vaguely remember discussing the idea of keeping metadata on the website in sync with metadata in the source code. IIRC, we went this way because it seemed better to give users more options. Now, it might cause a lot of problems since we have a somewhat "strict" input validation for those fields. Stylus, on the other hand, doesn't care about it. I, too, would much more prefer to have all metadata in sync. We could enforce it as a new default, but it would surely annoy some users.
We have those fields to preserve familiarity and compatibility with USo. Description in the source code isn't mandatory, but it's definitely useful to have it since your userstyle can be installed from anywhere. On the website, we made it mandatory some months ago as a way to improve things for bots/crawlers. BTW, how often do you change name and/or description? Personally, I set it once and forget it.
Well, it shouldn't take too long to figure out what the output of your input does since it's all displayed on a single page. I'm not entirely sure how you added your userstyle(s), which only adds up to the confusion. Regardless, I appreciate the feedback.
It's automatically done by websites that support it. For example, check https://metatags.io/ for some examples.
I think that's just how Google works. Also, from what I see, a lot of the results haven't been updated in well over a year. Give me some keywords—especially the ones that show errors—and I'll have a closer look into them.
That's a fair point. Then again, it's supposed to be an option for those that want to maximize their reach. |
Sorry I did not post the whole process. I kept it short, as the Subject text was enough to replicate it. The possibility to add new style is crucial, as I would never get myself to add a style, if it was a separate task. I would just postpone it forever. As I never put anything on userstyles.org, even though I planned to. What I am trying to get to with these two Issues is to offer to an author a painless way to post quickly, so they would post a lot and often. When I open a web page which I don't like, whether it's malformed, or too bright, and I know I will come back to that site in the future, I would try to find a Style for it.
There might be a way to have both: For existing styles, if a value is identical, show Edit style page the same way, with gray filed-in Name/Description and a possibility to add custom one. If the Description is too long, it would have "...", if it's missing, generate one from name and target site. I wouldn't even mind to have a global "share" checkbox, which would just take all styles I did not download or marked Private, publish them and keep them updated and grab a screenshot from the page for them itself.
Actually I saw the mismatched results unintentionally by searching for an option to embed: https://www.google.com/search?q=embed+site%3Auserstyles.world except those showing actual word "embed" in CSS or Notes, Thanks for the Store and the possibility to avoid the USo. |
Browser: Firefox
Additional context: Let me know, if this is an issue only with my set-up, I'll try to replicate and document it better.
The text was updated successfully, but these errors were encountered: