Bugzilla – Bug 433857
Change layout of inst_source yast module
Last modified: 2021-02-18 14:46:31 UTC
When I call "yast inst_source" in ncurses mode, and my terminal only has 80 characters size (which is a default terminal), then the left tree view takes a lot of space. Space only to choose between "Services" and "Repositories". IMO it would be better to use a "tabs-like" interface (like the network module) that takes only one line on the top, not 20 characters of each line.
Martin, could you check the current look of the repository manager? I can send/attach a screenshot if needed... I would prefer the tree widget to tabs because tabs hide some information. Maybe we could have a different layout in ncurses...
Created attachment 244975 [details] Screenshot
Sorry for taking that much time to answer! AFAIK services are a bunch of repositories, so neither tabs nor trees seem to be the appropriate design element to show them. The idea I propose is a filter, which allows the user to switch between a service and a repository view. The "service view" shows services and the "repository view" shows repositories and the service they belong to. By that the user can fine tune the properties of a service. What do you think about that?
forgot to remove need info :-)
Created attachment 246278 [details] Proposal with service view
Created attachment 246279 [details] Proposal with repo view
Good idea!
Sounds good, but what if you want to display the repositories which do not belong to any service? Another view? ("Unassigned repositories" or something like that?)
Well, Duncan explained it to me, that repos which do not belong to a service can be viewed as services containing one repo. If we want to follow this logic, than the repo which does not belong to a service would be displayed in the service and the repo view. In the repo view the column "service" would be empty. Does that make sense to you?
I think so. I'll try it...
Thanks!
*** Bug 450731 has been marked as a duplicate of this bug. ***
*** Bug 460530 has been marked as a duplicate of this bug. ***
Looks good, but probably not good enough for ncurses. As said in bug 460530, I'd like you shrink some columns considerably and allow the Name column to take much more space.
Implemented in Yast SVN trunk (openSUSE 11.2) as was proposed in the mockups provided by Martin (thanks a lot!). To comment #14: It's not possible to change width of a column from YCP scripts, Yast UI capabilities are very limited.
*** Bug 461237 has been marked as a duplicate of this bug. ***
Submitted in yast2-packager-2.18.0. (openSUSE-11.2)
*** Bug 465116 has been marked as a duplicate of this bug. ***