View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|09704||Development||Plugins||public||2015-06-21 19:41||2015-07-01 13:07|
|Summary||09704: Using same "widget" for plugin and core.|
|Description||I think it's best to use same system for Core and for Plugins.|
Reason for this:
- Fix a bug for core => no need to find if we need to fix it for plugin settings
- The HTML shown for plugin is exactly the same than plugin. No need to manage different css for one and another one.
- Adding a new widget in core => plugin can directly use this new widget.
- Improve settingWidget for plugin <=> improve core settings
But Sam have another idea. Then let's talk.
|Additional Information||If core need "active form" then allow plugin to use active form too, and update https://github.com/LimeSurvey/LimeSurvey/tree/master/application/extensions/SettingsWidget to use activeForm if settings give a form.|
|Tags||No tags attached.|
PS: Authentification is the first screen seen by user, and see select2, after simple dropdown except where it use settingsWidget.
I think it's seems strange for user.
Alternative is to try to have same "presentation" for Core GUI and Plugin GUI, but here : 2 times work.
I think for core forms we should use whatever the framework provides, giving us maximum flexibility.
For now the plugin side should stay the same and settingswidget is more or less a form builder that takes configuration and renders a form using Html helper functions.
Then moving settingsWidget part to using same "HTML" than Core form ?
And for select2 : Not needed in plugin settinngs, can help on some core form control ... etc ...
And for HTML : settingsWidget use same HTML editor than core ?
|2015-06-21 19:41||DenisChenu||New Issue|
|2015-06-22 10:30||DenisChenu||Relationship added||related to 09697|
|2015-06-23 14:34||DenisChenu||Description Updated||View Revisions|
|2015-06-30 16:36||DenisChenu||Note Added: 32579|
|2015-07-01 12:03||sammousa||Note Added: 32591|
|2015-07-01 13:03||DenisChenu||Note Added: 32592|
|2015-07-01 13:07||DenisChenu||Note Edited: 32592||View Revisions|