jacobobryant / platypub

A publishing platform built with Biff
MIT License
65 stars 13 forks source link

Preserve custom config values when changing themes #87

Open jacobobryant opened 2 years ago

jacobobryant commented 2 years ago

On the site config page, if you change the theme, any unsaved values in the custom fields (i.e. anything below the "Theme" select component) will be lost, since the custom fields get reloaded whenever the theme changes. That could be fixed by updating the com.platypub.feat.sites/custom-config handler so that it receives the current form values. May or may not be worth the effort.