# Tools and editors {#c11}

> Chapter 11 of the App Design Guide 3.0.0. Index: https://www.designguide.dev/llms.txt

Tools let people make and change things. This chapter covers toolbars, panes, editing, history, and how a tool changes from a phone to a large window.

A Medium window uses the Compact answer unless chapter 5 says otherwise. Compact is a bottom bar and 1 pane. Medium is a rail and 1 pane. Expanded is a rail with the list beside the detail. Large is a sidebar, a list, a detail pane, and an inspector from 1200. An inspector is a side panel for the selection ([Rule 6.29](https://www.designguide.dev/r/show-item-detail-beside-the-list.md)).

## Tools and editors {#s11-1}

### 11.1 Show bulk actions when rows are selected  {#show-bulk-actions-when-rows-are-selected}

Default · Adapts

**Rule:** Show bulk actions only after a person selects rows, and show how many rows the person selects.

**Wide screen:** On a wide screen, select a range with Shift and add single rows with Ctrl, as [Rule 12.26](https://www.designguide.dev/r/select-rows-with-a-checkbox-or-with-modifiers.md) sets. (Triggers: Fine pointer, Keyboard)

**Why:** Idle bulk buttons invite mistakes, and a count shows the scope of the action.

- Put a checkbox at the start of every row.
- Keep the bulk bar in view while rows scroll.
- Selection keys stay on through scroll: [Rule 12.27](https://www.designguide.dev/r/keep-the-selection-through-scroll-and-filter.md).

**Picture:** Do: The bar appears after selection and shows the count. Don't: Delete shows with nothing selected. Size pair (Phone, 375; Window, 1280): Compact shows checkboxes and a count bar. The window adds columns and labeled bulk buttons.

**See:** [12.26 Select rows with a checkbox or with modifiers](https://www.designguide.dev/r/select-rows-with-a-checkbox-or-with-modifiers.md), [12.27 Keep the selection through scroll and filter](https://www.designguide.dev/r/keep-the-selection-through-scroll-and-filter.md)

### 11.2 Give frequent actions a keyboard path  {#give-frequent-actions-a-keyboard-path}

Default · Adapts

**Rule:** List frequent actions as plain verbs, and keep every one reachable without a shortcut.

**Wide screen:** On a wide screen, give each frequent action a shortcut, show it at the row end, and add a command menu. (Triggers: Keyboard, Fine pointer)

**Why:** A visible shortcut teaches the key when it helps, and a plain list serves everyone else.  **When not:** A phone app with no hardware keyboard needs no shortcuts but still needs a sound focus order.

- Write each shortcut the way the person's system writes it.
- Never bind a destructive action to a single key.
- Full keyboard access: [Rule 12.15](https://www.designguide.dev/r/make-every-action-work-with-the-keyboard.md). Command menu: [Rule 12.24](https://www.designguide.dev/r/open-the-command-menu-with-one-key.md).

**Picture:** Do: Each action shows its shortcut at the end of the row. Don't: The person never learns that a shortcut exists. Size pair (Phone, 375; Window, 1280): Compact lists the actions. The window adds a shortcut at the end of each row.

**See:** [12.15 Make every action work with the keyboard](https://www.designguide.dev/r/make-every-action-work-with-the-keyboard.md), [12.24 Open the command menu with one key](https://www.designguide.dev/r/open-the-command-menu-with-one-key.md)

### 11.3 Give long lists search, sort, and groups  {#give-long-lists-search-sort-and-groups}

Default

**Rule:** Give a list of more than 20 items a search field, a sort control, and groups.

**Why:** Search finds one item, sort ranks the items, and groups show structure.

- Place the search field above the list and keep it still.
- Empty results name the search and offer a fix ([Rule 8.5](https://www.designguide.dev/r/name-the-search-in-an-empty-result.md)).
- For a choice list, see [Rule 6.25](https://www.designguide.dev/r/choose-the-control-by-the-option-count.md).

**Picture:** Do: Search, sort, and groups sit above and inside the list. Don't: The list has no search, no sort, and no groups.

**See:** [8.5 Name the search in an empty result](https://www.designguide.dev/r/name-the-search-in-an-empty-result.md), [6.25 Choose the control by the option count](https://www.designguide.dev/r/choose-the-control-by-the-option-count.md)

## Toolbars, panels, and views {#s11-2}

### 11.4 Rank toolbar actions and use overflow  {#rank-toolbar-actions-and-use-overflow}

Default · Adapts

**Rule:** Rank toolbar actions: show the top 3 to 5 as icons, label the main one, and move the rest to a menu.

**Wide screen:** On a wide screen, show every action in groups by task, and label the main ones with text. (Triggers: Width 840+)

**Why:** A short toolbar stays clear on a small screen, and the overflow menu keeps other actions in reach.  **When not:** A toolbar with fewer than 5 actions needs no overflow menu.

- Group tools that do one job, and separate groups with space.
- Name icon-only buttons, with a tooltip on a pointer ([Rule 12.8](https://www.designguide.dev/r/time-the-tooltip.md)).
- Move the lowest-ranked actions first as the window narrows.

**Picture:** Size pair (Phone, 375; Window, 1280): Compact shows a labeled Edit, an icon, and an overflow menu. The window shows every action, grouped by task.

**See:** [12.8 Time the tooltip](https://www.designguide.dev/r/time-the-tooltip.md)

### 11.5 Show properties of the selection  {#show-properties-of-the-selection}

Default · Adapts

**Rule:** Show the properties of the selected item in a sheet that the person can close.

**Wide screen:** On a wide screen, keep an inspector open beside the content and update it as the selection changes. (Triggers: Width 1200+, Dense data)

**Why:** An inspector beside the content lets people edit properties without losing their place.  **When not:** A single field, such as a name, can edit in place without an inspector.

- Show the selected item's name at the top of the panel.
- Show nothing, or a hint, when no item is selected.
- Panes and sheets have one home: [Rule 5.11](https://www.designguide.dev/r/show-one-pane-then-list-beside-detail.md).

**Picture:** Size pair (Phone, 375; Window, 1280): Compact opens a sheet with the properties. The window keeps an inspector beside the list.

**See:** [5.11 Show one pane, then list beside detail](https://www.designguide.dev/r/show-one-pane-then-list-beside-detail.md)

### 11.6 Save filters as named views  {#save-filters-as-named-views}

Default

**Rule:** Let people save a filter and sort as a named view that they open in one press.

**Why:** People repeat the same filters each day.  **When not:** A list with fewer than 20 items needs no saved views.

- Show which view is active, and what it filters, in words.
- Let people rename and delete a view.

**Picture:** Figure: 3 saved views, with the active one named.

## Editing, history, and the canvas {#s11-3}

### 11.7 Edit table cells in place  {#edit-table-cells-in-place}

Default · Desktop only

**Rule:** Start a cell edit with Enter or a double press, save with Enter, cancel with Esc, and move on with Tab.

**Applies with:** Fine pointer, Keyboard

**Why:** A visible edit state shows which cell takes input, and a check in place catches errors at once.  **When not:** On a phone, edit a row on a detail screen, or in a dialog for confirmed edits.

- Mark the cell in edit with a caret and a heavier outline.
- Validate in place and show the message beside the cell.
- Keep the old value on Esc. Focus order: [Rule 12.16](https://www.designguide.dev/r/order-tab-by-the-visual-order.md).

**Picture:** Figure: One cell is in edit, and a help line names the keys.

**See:** [12.16 Order Tab by the visual order](https://www.designguide.dev/r/order-tab-by-the-visual-order.md)

### 11.8 Save work as it happens  {#save-work-as-it-happens}

Default

**Rule:** Save work as the person makes it, and show the saved state in words.

**Why:** A visible saved state shows that the work is safe.  **When not:** Show a Save button for work that others see at once, such as a shared file.

- Show Saving, Saved, or Not saved in words ([Rule 9.10](https://www.designguide.dev/r/name-a-status-with-one-fixed-word.md)).
- On failure, keep the work and offer a retry ([Rule 8.3](https://www.designguide.dev/r/keep-a-slow-action-in-place-and-busy.md)).
- Show the state by the work, in a status bar or toast.

**Picture:** Do: The note saves as the person types and shows Saved. Don't: The note waits for a Save button and shows no state.

**See:** [9.10 Name a status with one fixed word](https://www.designguide.dev/r/name-a-status-with-one-fixed-word.md), [8.3 Keep a slow action in place and busy](https://www.designguide.dev/r/keep-a-slow-action-in-place-and-busy.md)

### 11.9 Keep the canvas view while editing  {#keep-the-canvas-view-while-editing}

Default · Adapts

**Rule:** Keep the canvas view when the person edits, and let touch and pointer both pan and zoom.

**Wide screen:** On a wide screen, zoom with Ctrl or Cmd and the scroll wheel, and pan by dragging with a pointer. (Triggers: Fine pointer, Keyboard)

**Why:** A view that jumps loses the place.

- Pinch to zoom, and drag with one finger to pan, on touch.
- Show the zoom level in words, and offer a reset.
- Keep the same view after undo, save, and resize.

**Picture:** Size pair (Phone, 375; Window, 1280): Compact has zoom buttons and a level. The window adds scroll zoom and drag to pan.

## Building a tool {#s11-4}

### 11.10 Lay out a tool by size class  {#lay-out-a-tool-by-size-class}

Default · Adapts

**Rule:** At Compact, show one pane with a bottom bar, the top 3 to 5 actions, and the inspector in a sheet.

**Wide screen:** On a wide screen, add a menu bar, the full toolbar, and a status bar, and open the inspector from 1200. (Triggers: Width 1200+)

**Why:** A tool has 5 parts, and a phone keeps the work area with the rest one press away.

- Medium keeps one pane and swaps the bottom bar for a rail.
- Expanded shows the list beside the work area.
- Large adds the inspector if every pane keeps its width ([Rule 5.12](https://www.designguide.dev/r/add-an-inspector-only-if-each-pane-fits.md)).

**Picture:** Size chain (Compact, 375; Medium, 768; Large, 1280): Compact shows one pane and a bottom bar. Medium adds a rail. Large adds a menu bar, 3 panes, and a status bar.

**See:** [5.12 Add an inspector only if each pane fits](https://www.designguide.dev/r/add-an-inspector-only-if-each-pane-fits.md)

### 11.11 Show the active tool and end it clearly  {#show-the-active-tool-and-end-it-clearly}

Default · Adapts

**Rule:** Show the active tool in the toolbar with its name, and end a mode with a Done button.

**Wide screen:** On a wide screen, also end the mode with Esc, and name the key in the status bar. (Triggers: Keyboard)

**Why:** A visible name and one clear exit let people stop a mode at once.  **When not:** A tool that ends after one use needs no mode sign.

- Mark the active tool with a fill and a bold name.
- Use one shared sign for the mode everywhere, as [Rule 8.21](https://www.designguide.dev/r/show-a-mode-with-one-shared-sign.md) sets.
- Return to the Select tool when the mode ends.

**Picture:** Size pair (Phone, 375; Window, 1280): Both name the active tool and end it with Done. The window adds Esc in the status bar.

**See:** [8.21 Show a mode with one shared sign](https://www.designguide.dev/r/show-a-mode-with-one-shared-sign.md)

### 11.12 Give zoom buttons, Fit, and a level  {#give-zoom-buttons-fit-and-a-level}

Default · Adapts

**Rule:** Give zoom a plus button, a minus button, a Fit action, and the zoom level in words.

**Wide screen:** On a wide screen, add Ctrl plus and Ctrl minus, Ctrl 0 for 100%, and a zoom menu in the status bar. (Triggers: Keyboard, Fine pointer)

**Why:** Buttons work for every input, and words give the exact level.

- Limit the range, such as 25% to 400%.
- Fit shows the whole work area in the window.
- Zoom around the pointer, or around the center of a pinch.

**Picture:** Size pair (Phone, 375; Window, 1280): Compact has buttons and a level in words. The window adds keys and a status bar readout.

### 11.13 Start a new tool with 3 choices  {#start-a-new-tool-with-3-choices}

Default

**Rule:** Open a new tool with an empty canvas and 3 choices: New, Open, and a template.

**Why:** Three named ways in let a first-time person begin with one press.  **When not:** A tool that reopens the last file needs no start screen.

- Name the missing thing, as [Rule 8.4](https://www.designguide.dev/r/write-the-empty-state-as-a-next-step.md) sets.
- Make New the one primary action.
- Show recent files below the choices once they exist.

**Picture:** Do: The empty tool names what is missing and offers 3 ways in. Don't: The empty tool offers no way in.

**See:** [8.4 Write the empty state as a next step](https://www.designguide.dev/r/write-the-empty-state-as-a-next-step.md)

### 11.14 Keep a version history that people can restore  {#keep-a-version-history-that-people-can-restore}

Default · Adapts

**Rule:** Keep a list of saved versions with time and author, and let a person restore one.

**Wide screen:** On a wide screen, show the version list beside the file, and preview a version before a person restores it. (Triggers: Width 840+)

**Why:** A version list covers days of work, and a restore never deletes newer work.

- Make a restore add a new version. Keep the newer ones.
- Label versions by date and time, plus author in a shared file.
- Session undo has its own rule: [Rule 13.12](https://www.designguide.dev/r/support-undo-and-redo-everywhere.md).

**Picture:** Size pair (Phone, 375; Window, 1280): Compact lists the versions and restores one. The window adds a preview of the version.

**See:** [13.12 Support undo and redo everywhere](https://www.designguide.dev/r/support-undo-and-redo-everywhere.md)

### 11.15 Select objects by press, long press, or area  {#select-objects-by-press-long-press-or-area}

Default · Adapts

**Rule:** Let a press select one object, a long press add more, and give each handle a 44 px hit area.

**Wide screen:** On a wide screen, a click selects one object, Shift adds more, and a drag on empty space selects an area. (Triggers: Fine pointer, Keyboard)

**Why:** Touch has no Shift key or hover, so a long press and large handles give equal power.

- Show how many objects are selected.
- Clear the selection with Esc or a press on empty space.
- Pointer handles: [Rule 12.11](https://www.designguide.dev/r/give-a-handle-a-10-px-hit-area.md). Row selection: [Rule 12.26](https://www.designguide.dev/r/select-rows-with-a-checkbox-or-with-modifiers.md).

**Picture:** Size pair (Phone, 375; Window, 1280): Compact shows 2 selected objects. The window adds a box around the area.

**See:** [12.11 Give a handle a 10 px hit area](https://www.designguide.dev/r/give-a-handle-a-10-px-hit-area.md), [12.26 Select rows with a checkbox or with modifiers](https://www.designguide.dev/r/select-rows-with-a-checkbox-or-with-modifiers.md)

### 11.16 Give a tool Import and Export actions  {#give-a-tool-import-and-export-actions}

Default · Adapts

**Rule:** Give a tool an Import and an Export action, and name the file types each one takes and makes.

**Wide screen:** On a wide screen, also accept a dropped file, and show a drop zone while a file is over the window. (Triggers: Fine pointer, Width 840+)

**Why:** A named file type tells people at once whether a file fits.

- Show the name and size of each imported file.
- Show the start of a large file, and load the rest later.
- Drop zone: [Rule 13.10](https://www.designguide.dev/r/offer-a-button-first-then-a-drop-zone.md). Clean print and export: [Rule 13.14](https://www.designguide.dev/r/print-and-export-a-clean-page.md).

**Picture:** Size pair (Phone, 375; Window, 1280): Compact has 2 buttons and states the file types. The window adds a drop zone.

**See:** [13.10 Offer a button first, then a drop zone](https://www.designguide.dev/r/offer-a-button-first-then-a-drop-zone.md), [13.14 Print and export a clean page](https://www.designguide.dev/r/print-and-export-a-clean-page.md)
