Commit graph

3 commits

Author SHA1 Message Date
alistair3149 59fc003294
fix(core): 🐛 apply addDefaultPortlets separately 2024-04-27 20:59:57 -04:00
alistair3149 4bc4301f90
fix(prefs): 🐛 incorrect function call for addPortlet
Closes: #832
2024-04-27 18:02:23 -04:00
alistair3149 a741639085
feat(core): move theme preferences to clientPrefs
Since clientPrefs and other related features are not avaliable until MW 1.42,
many of them are backported as polyfill. Instead of using cookies, the polyfill
are using localStorage only like Citizen in the past.

There are many changes behind the scene, but the most important one being that
`skin-citizen-*` theme classes are now soft-deprecated, and replaced by the
standardized `skin-theme-clientpref-*` classes. There will be sufficient
time before the hard deprecation.

Related: #780
2024-04-24 20:23:54 -04:00