Hello, Dne 24. 09. 18 v 15:51 Ludwig Nussel napsal(a):
So now I wonder what alternatives we have. I'd rather like to avoid introducing this ugly screen again: https://openqa.opensuse.org/tests/302627#step/installation_mode/1
Ah, this screen is really ugly, in the past these options were part of another dialog but it was dropped so we created this ugly workaround as they did not fit anywhere.
So any ideas how to get the feature back? Would it be possible to add the "Configure Online Repositories" button on the role selection dialog?
Well, everything is possible. ;-) But currently this dialog has a clean design and is generic, it works in SLE, openSUSE... There are no workarounds, no exceptions or hacks. I'm not keen on adding anything not strictly related to roles and specific only for one product. If we add this then sooner or later someone comes with another "feature" request in this dialog... We could add a new option/section into the installation overview dialog [1]. IIRC we already had an add-on section there in the past. But the problem with roles is that some additional roles might be provided via the online repositories so they must be added *before* the roles dialog (or at least integrated into it). If we added the online repos in the overview dialog then you would need to go back to the roles selection and then forward. Or we could display the roles dialog again if a new role is found and allow to change it. But this not user friendly. Before the roles selection dialog there is only the "welcome" screen which is already quite crowded. There are widgets for language, keyboard, keyboard test, license, license translations... Adding one more is probably not an option. In SLE there is an extra add-on dialog [2], in openSUSE it contains "Community Repositories" option which loads the repositories from XML [3]. This list already contains the online and updates repos plus some more (e.g. nVidia drivers). On the other hand that more complicated and less intuitive than a single "Use Online Repositories" checkbox.
Or maybe have the popup of SLE when the system can reach download.o.o, just without prior registration?
Although I do not like popups much this would be an acceptable case. So the possibilities are: 1) New option in welcome screen 2) A popup displayed after the welcome screen (only when download.o.o is reachable) 3) Additional full "addons" step (like in the SLE) 4) New option in the roles dialog 5) Additional "addons" section in the installation overview My comments: 1) The welcome screen is already crowded, we should not add more there 2) This looks OK and is similar to the SLE solution 3) This provides more features but is more difficult to use and less intuitive 4) Breaks the design and makes it more complex 5) User unfriendly, difficult to use So in the end the possible solutions are 2) or 3), it depends if we prefer simple UI ("Use online repositories?" popup) or full featured addon management which is on the other hand more difficult to use. Opinions? Other ideas?
What's easier code wise?
I guess 3) would be just a matter of modifying the control.xml, but 2) should not be difficult to implement. It depends whether the user should select the repositories to add from the XML [3] or we automatically select them without asking (which ones?). The user selection is already implemented, the automatic selection not. But that should be easier. Ladislav [1] https://openqa.opensuse.org/tests/759914#step/installation_overview_before/2 [2] https://openqa.suse.de/tests/2084621#step/addon_products_sle/10 [3] https://github.com/yast/skelcd-control-openSUSE/blob/master/control/control.... -- -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org