Bug 232107 - [ui] If user checks for updates and there are no enabled sites, guide them to sites
Summary: [ui] If user checks for updates and there are no enabled sites, guide them to...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: 3.5 M6   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish, usability
: 258128 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-05-14 11:58 EDT by Susan McCourt CLA
Modified: 2009-03-03 17:33 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2008-05-14 11:58:02 EDT
Right now if the user is not connected to any sites, and they press check for updates, they get the "there is nothing to update" message.  If they don't have any sites registered, or the sites are all disabled, it would be nice to guide them (by words or by link) to the manage sites dialog.
Comment 1 Susan McCourt CLA 2008-05-14 12:00:54 EDT
this is a post 3.4 issue
Comment 2 Susan McCourt CLA 2008-10-09 13:03:33 EDT
Consider for M3 if there is time, esp in light of bug #250316
Comment 3 Susan McCourt CLA 2008-10-15 18:41:28 EDT
marking 3.5, See also bug #251017, bug #241683
Comment 4 Susan McCourt CLA 2008-11-07 17:45:47 EST
John pointed out in bug 250316 that we have to be careful about presenting this function in such a way that it can be configured out of a product.  (along the lines of bug #241922).
Comment 5 Susan McCourt CLA 2008-11-13 19:29:54 EST
See also bug #231039
Comment 6 Susan McCourt CLA 2008-12-09 12:39:12 EST
*** Bug 258128 has been marked as a duplicate of this bug. ***
Comment 7 Susan McCourt CLA 2008-12-09 15:24:55 EST
(In reply to comment #4)
> John pointed out in bug 250316 that we have to be careful about presenting this
> function in such a way that it can be configured out of a product.  (along the
> lines of bug #241922).
> 

the goal is that different products can make different decisions about where the list of sites appears, so not only should the presence of the link be configurable, but where the link leads the user needs to be configurable.  

I believe this is already covered via RepositoryManipulator, but right now there is only one string that is used for the link, RepositoryManipulator.getManipulatorLabel(), and this is currently placed in a button.  We might want to allow different repository manipulation strings for buttons vs. labels...ie, RepositoryManipulator.getManipulatorLabel() vs. getManipulatorLinkText()
Comment 8 Susan McCourt CLA 2009-03-03 17:33:13 EST
fixed in HEAD >20090303.
If user checks for updates and there are no sites, they are told there are no sites available and offered a choice to open the site prefs.