You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description or the shortest sequence of actions to replicate the problem
I've had this frustration before but especially so now. Seems like the check for if a userstyle has been edited locally is overaggressive or something and incorrectly flags many. I pushed a commit that changed the versioning of many userstyles from semver to calver, and Stylus thinks that every single userstyle has been locally edited (I have not locally edited most of them, with maybe one exception) and refuses to update.
Hmm I wonder if this issue arises because of a bit of a hack used to add the userstyles. We generate a custom Stylus export file programatically, containing preloaded userstyles, which is then loaded back into Stylus as a backup. Notably this export lacks the _id and _rev fields for each userstyle entry, which may cause this?
The check makes use of originalDigest in the style data. When there's no hash Stylus cannot verify the style is safe to update, which is the reason for this feature in the first place. Adding it in your generator should solve the problem.
Description or the shortest sequence of actions to replicate the problem
I've had this frustration before but especially so now. Seems like the check for if a userstyle has been edited locally is overaggressive or something and incorrectly flags many. I pushed a commit that changed the versioning of many userstyles from semver to calver, and Stylus thinks that every single userstyle has been locally edited (I have not locally edited most of them, with maybe one exception) and refuses to update.
Screenshot or a screen recording
N/A
System Information
The text was updated successfully, but these errors were encountered: