Hi Joe,Luke and I are starting to implement the autofill profile list and edit dialog in preference panel, but we faced a problem while discussing about the nested dialog. There's no existing mechanism for dealing nested dialog behavior, so we just discussed with MattN for the possible solutions:- The fastest way is implementing the first list dialog as in-content dialog and displaying the second window-dialog on top of the first one(See the attached images). But the window-dialog will be removed and depreciated in long term.- Implement another dialog(or other type) component for handling 1st dialog, and using original subDialog module for the 2nd dialog.- Refactor the original subDialog module to support nested dialog case.We prefer the first solution since we could spend less efforts for it, and we might still need to refactor the subDialog module once the preference panel refresh is ready(but the schedule is unconfirmed). Could you help us to coordinate and finalize the decision about dialog implementation in MVP?
Thanks,Steve.
The first proposal is going to regress what Fischer is doing, which is finishing up the remaining "move perferences to in-content" work that has been lengering for YEARS. I would prefer not to do that unless that really cuts efforts significantly.
I don't have strong opinion between the second and the third. We could pick one of them that takes the less effort (seems to be the 2nd one from your description but I am not sure.)My 2¢.
Steve Chung <sch...@mozilla.com> 於 2016年10月27日星期四 寫道:Hi Joe,Luke and I are starting to implement the autofill profile list and edit dialog in preference panel, but we faced a problem while discussing about the nested dialog. There's no existing mechanism for dealing nested dialog behavior, so we just discussed with MattN for the possible solutions:- The fastest way is implementing the first list dialog as in-content dialog and displaying the second window-dialog on top of the first one(See the attached images). But the window-dialog will be removed and depreciated in long term.- Implement another dialog(or other type) component for handling 1st dialog, and using original subDialog module for the 2nd dialog.
- Refactor the original subDialog module to support nested dialog case.We prefer the first solution since we could spend less efforts for it, and we might still need to refactor the subDialog module once the preference panel refresh is ready(but the schedule is unconfirmed). Could you help us to coordinate and finalize the decision about dialog implementation in MVP?
Thanks,Steve.
_______________________________________________
autofill mailing list
auto...@lists.mozilla.org
https://lists.mozilla.org/listinfo/autofill
Had a discussion with Steve and Juwei earlier.
It looks like with approach 1, the window behavior would be different for different OS (Windows/Linux/Mac) and the UX is only acceptable for Milestone 1 but not for actual release to users.
We could probably wait a bit and see if we have more clarity around preference redesign or if Fischer makes any progress on the CA trust dialog at a later time.
Steve will discuss further with Luke on the approach that Matt was suggesting to reuse the same dialog and estimate the effort then we will discuss if we want to go down this path and when.
Re,
Joe Cheng