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
{{ message }}
This repository has been archived by the owner on May 20, 2020. It is now read-only.
The current options page is a complete mess. Addition/removal of any new configurable option requires going through different parts of the script(s) and manually changing them.
I would imagine an extensible system ("factory" maybe?) that generalizes a setting element, given the following:
The UI for a setting, based on whether it is input, textarea, checkbox, etc. The factory should also have defaults.
Have a default handler that updates the value in Data, as well as pre-functions for validation of user input and post-functions as callbacks after Data is updated.
other minute details can be added I believe.
The text was updated successfully, but these errors were encountered:
The current options page is a complete mess. Addition/removal of any new configurable option requires going through different parts of the script(s) and manually changing them.
I would imagine an extensible system ("factory" maybe?) that generalizes a setting element, given the following:
Data
, as well as pre-functions for validation of user input and post-functions as callbacks after Data is updated.The text was updated successfully, but these errors were encountered: