Bug 346718 - Usability enhancements for YaST repository management
Summary: Usability enhancements for YaST repository management
Status: RESOLVED WONTFIX
: 374500 458892 (view as bug list)
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Alpha 2
Hardware: i686 openSUSE 11.0
: P3 - Medium : Enhancement with 5 votes (vote)
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-07 04:41 UTC by Josh J
Modified: 2010-04-01 14:06 UTC (History)
8 users (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Redesign Proposal/Mock (104.78 KB, image/jpeg)
2007-12-11 22:58 UTC, Josh J
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josh J 2007-12-07 04:41:42 UTC
The helpful YaST module to add community repositories from OpenSuSE 10.3 is missing from the Software section.

I installed from the KDE CD.
   Skipped Network Configuration
   Did not setup online repositories
   Did not change package selection during installation

I find this a very useful feature so users don't have to go about searching for the information on how to add repositories as well as the info for each repo.
Comment 1 Josh J 2007-12-07 04:53:18 UTC
I have just found that this feature is under "Add Repositories" now.  I think that it is a bit hidden as it is though.  This is the easiest way for a new user to add repositories and should stand out more.  When at the "Add Repositories" page, it should highlight the Community Repositories and state that it allows one to choose from a large list of repositories.  This feature should stand out and should have some description of what it does.

This may be a better place for it rather than as a separate module, but it should probably stand out more.
Comment 2 Josh J 2007-12-07 04:54:41 UTC
A correction to my post above: It is found under the "Software Repositories" module under the Software section.
Comment 3 Martin Vidner 2007-12-11 15:32:03 UTC
It is only confusing because you are used to the old behavior.
But anyway, it seems the module should still be there...

yast2-packager:
Tue Nov 27 13:50:39 CET 2007 - locilka@suse.cz
- Module 'Community Repositories' merged into 'Repositories'. It's
  still possible to call 'Community Repositories' separately.
- 2.16.10
Comment 4 Lukas Ocilka 2007-12-11 15:36:46 UTC
Yes, I've moved it there on a management request.
Highlighting might help but the whole dialog "Ann New Repo..." needs a face-lift.

Lslezak: what do you think of some reworking the current "Add New Repo..." dialog?
Comment 5 Josh J 2007-12-11 22:58:54 UTC
Created attachment 187049 [details]
Redesign Proposal/Mock

Here is a mockup for a new design of Add Repositories.
	* The Software Repositories "Add" button should take you to this page  
          first.
	* One can select the media type with the combo box.
		- FTP, HTTP, Online List, Local ISO, etc.
	* Rename Community Repositories page to Online Repository List
	* Layout improvement for new Online Repository List page.
	
This could be implemented using the QStackedWidget where each media type page is a page of the widget.

The checkbox at the bottom should not be contained in the QStackedWidget so that it appears for each page.  Also, the information on the left sidebar should be updated appropriately.

I'm not entirely sure how YaST2 developement works, so please excuse any ignorance. 

Thanks.
Comment 6 Christian Boltz 2007-12-13 19:47:28 UTC
IMHO the mockup is too centered around the repository list and the "Media Type" dropdown not visible enough.

That said, I agree that the repository management needs some facelifting.
Unfortunately I don't know if there are changes in 11.0 besides integration of community repositories, therefore I have to comment based on 10.3 and what I have read in this bugreport.

Changed I would like to recommend:
- make community repositories / repository list more visible (but not as 
  extreme as in the mockup)
- remove FTP, HTTP, HTTPS and SMB/CIFS from the list - they basically provide 
  the same as "URL", but in a more difficult way (you have to split into
  protocol, servername and path).
  Maybe NFS could also be merged into the "URL" part - it isn't very different.
- changes for the "add URL" dialog:
  - add the "Authentification" box for username and password (defaulting to 
    anonymous access)
  - add an "expert" button for people who really want to enter all details in 
    separate fields. Clicking it would lead to what is now the "add HTTP" 
    dialog.
- merge CD and DVD - there's no real difference from the technical POV
  (I would even drop the dvd:// url scheme)
- merge "local directory" and "local ISO image"

This would leave the following options the "add repository" dialog:
- community repositories / repository list
- URL (HTTP, FTP, SMB/CIFS, maybe NFS) - should be renamed to "remote / network 
  repository" or something like that
- NFS (if not merged into URL)
- SLP
- CD / DVD
- local directory or iso image
Comment 7 Benjamin Weber 2007-12-13 22:42:41 UTC
I agree with most of what was said in comment #6.

Drop down selections for separate "Pages" don't end work well because it's not very obvious the other pages exist. Case in point the Search/Patterns/Groups... filter in package selector which people don't seem to find unless they're shown.

So if there really needs to be another page, tabs would probably make more sense. [System Repositories], [Add Common repositories]  (not sure about the wording).
Comment 8 Christian Boltz 2007-12-14 12:49:12 UTC
(In reply to comment #7 from Benjamin Weber)
> So if there really needs to be another page, tabs would probably make more
> sense. [System Repositories], [Add Common repositories]  (not sure about the
> wording).

Tabs aren't be a good idea in this case because
a) "add" is an action, and actions should be done with buttons IMHO
b) On the long run, I'd like to see everything related to software installation 
   (inst_source, community repositories, sw_single) in a single YaST module 
   which would then really use tabs ("Repositories", "Patterns" "Packages", 
   "Updates"). 
   See my mail in the opensuse-softwaremgmt mailinglist for details
   http://lists.opensuse.org/opensuse-softwaremgmt/2007-12/msg00004.html
Comment 9 Benjamin Weber 2007-12-14 14:21:32 UTC
(In reply to comment #8 from Christian Boltz)
> Tabs aren't be a good idea in this case because
> a) "add" is an action, and actions should be done with buttons IMHO

I agree that add is an action, which should be done with buttons. If add were the only additional function then it would make sense to have as a button on the main page. However, the current repository management has more than just add, you can remove, edit, refresh etc. Hence another page might make sense.

> b) On the long run, I'd like to see everything related to software installation 
>    (inst_source, community repositories, sw_single) in a single YaST module 
>    which would then really use tabs ("Repositories", "Patterns" "Packages", 
>    "Updates"). 
>    See my mail in the opensuse-softwaremgmt mailinglist for details
>    http://lists.opensuse.org/opensuse-softwaremgmt/2007-12/msg00004.html

I think this would make sense too, I'm not sure if it's possible for the package selector and repository management to both use zypp at the same time at the moment though.

Comment 10 Ladislav Slezák 2008-03-07 14:34:50 UTC
I added "add the community repositories" text to the description of the repository management module to find it using the yast control center.

The layout problem is more complex, I'll solve it later.
Comment 11 Josh J 2008-03-31 23:05:42 UTC
*** Bug 374500 has been marked as a duplicate of this bug. ***
Comment 12 Stephan Kulow 2008-06-25 09:10:53 UTC
mass reopening of later+remind bugs of 11.0
Comment 13 Forgotten User O-K8b4H4Da 2008-09-12 16:10:38 UTC
I wish to add another thing here:
When you are looking at configured repository list, yast by defaule enables / disables repository just by clicking on list entry.
This is bad behaviour!
In case you just want to select specific repo to look at details or copy url - you will also accidentally disable / enable that repo.
This is why there is Enable checkbox there - it might be good to use a double click for such action, but single click is confusing and irritating.
Comment 14 Ladislav Slezák 2008-09-15 13:12:51 UTC
To comment #13: It works correctly for me. Only double click should change the status, single click should only preselect the repository in the table.

That's strange, you have probably a broken mouse or too long double click timeout.

Comment 15 Forgotten User O-K8b4H4Da 2008-09-15 14:37:46 UTC
Negative.

It was because mouse was set to single-click (which is default). Nevertheless this shouldn't change list item behaviuor on click.
Should be fixed.
Comment 16 Ladislav Slezák 2008-12-15 15:42:14 UTC
Kristjan, see bug#440101 for the single-click problem, this bug is focused on usability.
Comment 17 Ladislav Slezák 2008-12-15 15:46:25 UTC
*** Bug 458892 has been marked as a duplicate of this bug. ***
Comment 18 Alexander Rettig 2009-07-12 21:44:33 UTC
Seems to be a good place to add some wishes about repository management:

1) Currently it is possible to add repositories having the same URL more than once. This especially happens, when you e.g. have already some repositories configured and then add from the "Community Repositories" - in the process of adding the new repository you can't see it beforehand when you are about to add an already registered repo. Would be better, if same URL could not be added more than once.

2) Repositories have at least "name", "alias" and "description" tags. When adding a repository the "name" may be set by the user, but not the "alias". It is automatically derived from the "name" or by a different automatism, I don't know. Unfortunalely the "alias" is shown within error messages or when describing the repository in the versions list of packages. This makes it really hard for the user to see, where the package finally comes from: the user never sees URL and alias together.
Solution:
- let the user edit the "alias" too
- show "name" and/or URL of repo also in error messages and so on, maybe "name" must be unique then too (should be anyways, this is related to (1))
Comment 19 Alexander Rettig 2009-07-12 21:59:43 UTC
One more: Could you please add a vertical QSplitter to the Repository Manager module - there's much space wasted if you make the window bigger to have all columns visible in the repsitories overview...
Comment 20 Ladislav Slezák 2009-07-13 08:29:35 UTC
To comment #18:

ad 1) the community repositories module should offer only repositories which are not registered. If you add a repo and go to the community repositories selection again the added repo should not be offered again. (If it doesn't work correctly then open a separate bug report.)

ad 2) alias is for command line users (zypper), yast doesn't use aliases at all. It's a bug if an alias is displayed in an error message. (Again, report it as a separate bug report.)

To comment #19:

I have slightly redesigned the dialog in 11.2 (the tree widget has been removed), see bug #433857.
Comment 21 Ladislav Slezák 2010-04-01 14:06:56 UTC
Sorry, I have no time for this enhancement, closing as WONTFIX.