Fix help text and action links to find the update manager pages

dww - October 12, 2009 - 17:44
Project:Drupal
Version:7.x-dev
Component:update.module
Category:task
Priority:normal
Assigned:dww
Status:closed
Issue tags:Update manager, Usability
Description

Assuming #538660: Move update manager upgrade process into new authorize.php file (and make it actually work) lands, we should revisit how the action links to find the plugin manager update and install pages look and work. They're a bit cryptic at the moment. This issue can also be for cleaning up the help text on various pages that currently point to the available updates report, etc.

#1

dww - October 15, 2009 - 23:31
Issue tags:+Usability

Tagging for UX folks...

#2

dww - October 25, 2009 - 02:32
Assigned to:Anonymous» dww
Status:active» needs review

I know people will want screenshots of this, but I have to run to a concert right now. However, here's a first-draft of the patch.

AttachmentSizeStatusTest resultOperations
602490-2.update_manager_help_text.patch5.31 KBIdlePassed: 14483 passes, 0 fails, 0 exceptionsView details | Re-test

#3

dww - October 25, 2009 - 06:48

Here are a bunch of screenshots of patch #2 in action. For each page, there is a copy with the Update manager automatic updates enabled, and a version with the killswitch set to disable the automatic upgrade feature. All screenshots are from a test site with core out of date and missing a contrib security update (which is the worst case in terms of how verbose the messages are).

1st is the /admin "Administer" landing page

2nd is the /admin/reports/status "Status report" page

3rd is the admin/config/modules "Configuration and modules" page

In all cases, if the auto-updates are enabled, all the links in the various messages take you to /admin/reports/updates/update where you can directly upgrade your site. If the killswitch is disabling the feature, they link to the /admin/reports/updates report page, just like how Update status works in D6.

The one exception is the help text on admin/config/modules which talks about Update manager:

To help manage the update process, the Update manager module, if enabled, provides information on new versions of modules (and themes) as they are released. Regular review of the available updates page is essential to maintaining a secure and current site.

Both of the links in there bring you to /admin/reports/updates. I think this text needs some help. First of all, it should know if Update manager is enabled or not and be smarter about what it says, instead of using this "if enabled" stuff. Secondly, if the update.module is disabled, it shouldn't print 404 links to non-existent report pages. Thirdly, if the auto-update feature is enabled, the help text could also link to that page and mention it exists (although directly below it are links to those features via the action items, so maybe it's not needed).

#4

dww - October 25, 2009 - 07:18

Ok, this fixes system.module's help text at admin/config/modules about Update manager to be context-sensitive. There are 3 cases:

1) module is enabled and the killswitch is off (full functionality available)
2) module is enabled but the killswitch is on (no automatic updates possible)
3) module is disabled entirely

Probably a bit wordy, and I'm still not sure we need all the links about updating and installing in case #1 since we have the action links right below...

AttachmentSizeStatusTest resultOperations
602490-4.update_manager_help_text.patch6.75 KBIdlePassed: 14478 passes, 0 fails, 0 exceptionsView details | Re-test
602490-4.update_manager_help_text.config-modules-full.png111.91 KBIgnoredNoneNone
602490-4.update_manager_help_text.config-modules-killswitch.png97.38 KBIgnoredNoneNone
602490-4.update_manager_help_text.config-modules-disabled.png69 KBIgnoredNoneNone

#5

dww - October 25, 2009 - 07:20
Title:Fix help text and action links to find the plugin manager pages» Fix help text and action links to find the update manager pages

#6

Dries - October 25, 2009 - 19:52

This looks good. Committed to CVS HEAD. Thanks.

#7

dww - October 25, 2009 - 19:56
Status:needs review» fixed

Great, thanks!

#8

System Message - November 8, 2009 - 20:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.