ProKeys
ProKeys copied to clipboard
Modularizing the options html page
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.
Hi. I see that this issue has been self-assigned, but I would be happy to help with the UI-Design part if its open for me.
A sample UI-Design modification I propose is to change this:
To this:
Thanks dude. But this is already being worked on by @JAIDEV123 and there's a big redesign coming up :)
Do checkout Prokeys-Frontend on my github and suggest anything you feel should be there!
Oh okay! I thought no one else was on it since it was self assigned. Nvm. Sure @JAIDEV123 :)