No "empty text" Table Row For Empty Menus
| Project: | Drupal |
| Version: | 7.x-dev |
| Component: | menu system |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | d7uxsprint |
After creating a new menu, the "empty text" of "No menu items" is not in a table, it's simply plain text. Users do not ever read this far down the page since they think that it is part of the help text. No call to action to add a new menu item.
An issue is already in the queue to remove the help text when no menu-item is available at #503778: Global Menu settings are confusing.
This issue is about displaying the helptekst and adding a link. The attached screenshot is the proposed solution. Not only do we propose it as a solution of menu items, but also as a design pattern for all other situations were no content/items are available yet. The patter consits of:
- Empty text and 'call to action' link displayed in a table. The same kind of table used to display the content when available.
- No table headers
- Link consisting of the same text a used in the action tabs on the same page.
This pattern can be applied in Forum list, Profile list, URL list, Menu item list, Feed aggregator list. Separate issues and patches will be created for these pages.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| Empty text design pattern.png | 20.19 KB | Ignored | None | None |

#1
#2
After discussion with Bojhan we decided to put the table header in to give users a sense of what can be there when content is added. See attached screenshot.
#3
Attached patch gives the above solution.
#4
#5
#6
Changed tekst after discussion with text group. New screenshot attached.
For reference this issue originates from the UX issue at: http://sprint.drupalusability.org/content/no-empty-text-table-row-empty-...
#7
Should this be 'add a link' or 'add a new link' instead of just 'add link'?
#8
What about keeping 100% same wording as local tab string for an easy reference point? So:
"There are no menu items yet. _Add link_"
#9
The last submitted patch failed testing.
#10
@catch: our starting point was to use the exact text of the tab 'Add link', 'Add container', etc. to make it easier for user to guess that the tekst link and the tab link have the same destination.
@kika: We tried to make a small sentence out of the work. This in contrast to the the forum module tekst 'Containers and forums may be added using the add container and add forum pages.'
#11
OK the tab reasoning makes sense to me. RTBC
#12
Committed. Thanks!
#13
Automatically closed -- issue fixed for 2 weeks with no activity.