Review dialog classes
Review dialog classes
We should add an interface for dialog classes that are passed to simplePlugin::openDialog, and document this and associated classes.
We should split execute and save_object as is done for other FusionDirectory classes.
Related to this is the problem of submitting form with enter: since 54220789 it submits a special hidden input called default_submit_hidden_button
, but this is not correctly supported by dialogs which expects either add or cancel button to be pressed.
We could map default_submit_hidden_button
to add, but I’m afraid in some cases it may be active at the first dialog load?
There is a PID system for management classes but only for them, maybe it would be useful to have one for other classes but I’m not convinced.
Link issues together to show that they're related. Learn more.
Activity
There is also the class
ManagementDialog
for dialog used in management classes (management configuration and snapshot dialogs), which may serve as example? And may or may not use the same interface.Management test stuff like
method_exists($this->dialogObject, 'execute')
, which should not be needed.By Côme Chilliet on 2020-02-18T15:58:59 (imported from GitLab)
- bmortier added 2h of time spent at 2020-02-18
added 2h of time spent at 2020-02-18
By Côme Chilliet on 2020-02-18T15:59:04 (imported from GitLab)
- bmortier mentioned in issue fd-plugins#6019 (closed)
mentioned in issue fd-plugins#6019 (closed)
By Côme Chilliet on 2020-02-20T08:19:28 (imported from GitLab)
- bmortier changed milestone to %FusionDirectory 1.4
changed milestone to %FusionDirectory 1.4
By bmortier on 2020-03-21T14:24:58 (imported from GitLab)
- bmortier added PJ1802-0188 fusiondirectory-core technical discussion labels
added PJ1802-0188 fusiondirectory-core technical discussion labels
- bmortier changed due date to March 31, 2020
changed due date to March 31, 2020
By bmortier on 2020-03-21T14:25:51 (imported from GitLab)
- bmortier removed due date
removed due date
By Côme Chilliet on 2020-08-19T14:23:27 (imported from GitLab)
- bmortier created merge request !805 to address this issue
created merge request !805 to address this issue
By Côme Chilliet on 2020-08-27T09:17:43 (imported from GitLab)
- bmortier mentioned in merge request !805
mentioned in merge request !805
By Côme Chilliet on 2020-08-27T09:17:43 (imported from GitLab)
- bmortier added 4h 30m of time spent at 2020-08-27
added 4h 30m of time spent at 2020-08-27
By Côme Chilliet on 2020-08-27T14:57:05 (imported from GitLab)
- bmortier mentioned in issue fd-plugins#6071 (closed)
mentioned in issue fd-plugins#6071 (closed)
By Côme Chilliet on 2020-09-01T10:19:24 (imported from GitLab)
- bmortier added 7h of time spent at 2020-09-03
added 7h of time spent at 2020-09-03
By Côme Chilliet on 2020-09-03T15:59:19 (imported from GitLab)
- bmortier added 3h of time spent at 2020-09-07
added 3h of time spent at 2020-09-07
By Côme Chilliet on 2020-09-07T15:01:14 (imported from GitLab)