Ladislav Slezak schrieb:
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... [...] 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).
I'm not sure if that screen is useful enough in SLE to warrant having it there always either. Maybe if we find a way to hide in an Expert lane in the SLE installer we could use the same lane in openSUSE too?
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.
I think the full addons dialog ie 3) is too crowded and not useful enough to display by default (anyone using SLP besides us?).
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.
How did the previous method with the checkbox do it? cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org