Ready for implementation
Magnolia should let me navigate and browse my web site structure by using a mouse, a keyboard and using a touch device.
In the site structure view, a tree is used to visualize the page hierarchy. I can select one or multiple pages and execute a action on them (such as deleting or publishing them). Some actions, however, are only applicable to a single, selected page, such as editing a page.
The view shows selected, common data of a page in the site structure view, such as its name, its navigation and page title, and allows me to edit it directly in the table.
Description of desired behavior
Magnolia offers to view the structure of a site in a tree view.
Browsing the site structure
Selecting an item shows additional page details in a preview view. Focusing on an item for a longer time also causes the page details to be shown. An important element of the preview view is a thumbnail image showing a small rendering of the page.
Show, hide and rearrange table columns
All columns except the "Page name" (page URI) and the column containing the checkboxes can be visible or hidden. Additional columns not initially visible may be offered for display by the tree view.
Columns are shown in a configurable order, but the "Page name" and checkboxes column are exempt and remain fixed at their initial position.
When using the keyboard, the columns displayed can be selected by focusing on the last element of the header row, opening the context menu and selecting the columns to be shown or hidden. The column order can't be rearranged by using the keyboard only.
No sorting or grouping
Since the main purpose of the site structure view is to visualize the page hierarchy, this view offers no options to sort pages e.g. by last modification date or page title, not any grouping options as the page list does.
Inline editing of page attributes
Some page attributes shown in the list or structure views may be edited directly within the view. Among these are the page URL, the page title and navigation title. To enter inline editing, select an item, then click or tap on an attribute (e.g. page title) again after a short delay (to avoid actually double-clicking it). The attribute you clicked or tapped on will then become editable.
When using the keyboard only, enter a special command to edit the first of all editable attributes. You may skip to a different item by repeatedly hitting the tabulator key and exit editing by hitting the escape key.
For a list of all commands defined, please see Usage summary#Inline editing in tree or list.
Showing errors or warnings
The page name is a mandatory attribute and only accepts a limited range of characters. If validation discovers that the input is wrong or missing, a validating message is shown.
For a description of how validation messages work, please refer to Showing validation messages in lists, trees and grids.
Inline editing restricted to simple attributes
Note that inline editing will be restricted to work for simple attributes only. While e.g. changing a page template in the structure view was possible in previous versions of Magnolia, it won't be supported in version 5. Changing a page template can be a complex operation and may require you to enter values for required attributes, both of which is not viable using inline editing. Complex page attributes thus may only be changed by actually editing the page properties in a dialog or by opening the page for editing.
The list of editable page attributes contains:
- page name/URI: mandatory, must not be empty, only accepts characters valid in a URI
- page title: optional, if empty, page name is taken
- navigation title: optional, if empty, page name is taken
Not editable are the page template, status fields, the author name and any dates.