Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAG release UI recommender #8763

Open
wants to merge 9 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 41 additions & 13 deletions content/en/docs/refguide/modeling/pages/page/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,43 +69,71 @@ The way you can add an element on a page depends on a mode you are editing your

In **Structure mode**, there are several ways to add an element on a page:

1. Through the **Toolbox**:
* Through the **Toolbox**:

1. Open the **Toolbox** and select **Widgets** or **Building blocks** tab there.
2. Select an element you would like to add and drag this element onto your page.

2. Through the menu at the top of the page:
* Through the menu at the top of the page:

1. Do one of the following:

1. Select frequently-used widgets (a data view, a data grid, a template grid, or a list view).
1. Click **Add widget** or **Add building block**, find an element in a list and click **Select**.
1. Click **Add widget** or **Add building block**, find an element in a list and click **Select**:

{{< figure src="/attachments/refguide/modeling/pages/page/top-menu.png" class="no-border" >}}

2. Click a drop-zone on a page to position an element.

3. By right-clicking a drop-zone:<br/>
* By right-clicking a drop-zone:<br/>

1. Right-click a drop-zone you want to insert an element in.<br/>
1. Select between adding a widget or a building block.<br/>
1. Right-click a drop-zone you want to insert an element into.<br/>
1. Select between adding a **widget** or a **building block**:<br/>

{{< figure src="/attachments/refguide/modeling/pages/page/adding-widget-in-drop-zone.png" width="400" class="no-border" >}}<br/>

1. Select an element you would like to add and confirm your choice by clicking **Select**.
1. Select an element you would like to add, and confirm your choice by clicking **Select**.

In **Design mode**, you can add elements though the Toolbox. Do the following:
* In **Design mode**, you can add elements through the Toolbox and UI Recommender. Do the following:

1. Open the **Toolbox** and select **Widgets** or **Building blocks** tab there.
2. Select an element you would like to add and drag this element onto your page.
1. Open **Toolbox**
1. Select the **Widgets** or **Building blocks** tab there.
1. Select an element you would like to add and drag this element onto your page.

2. Through the **UI Recommender**:
1. Opening the dialog.

1. When hovering over an element on the page, a blue indicator (plus/dot) will appear:
1. The indicator will appear at the closest border of the widget (top/bottom or left/right for inline widgets).
1. The position of the indicator relates to where an element will be inserted, (for example selecting the indicator at the top or left will insert an element before the current widget).
1. Click on the indicator to open the dialog:

{{< figure src="/attachments/refguide/modeling/pages/page/ui-recommender-dot.png" alt="UI Recommender dot" class="no-border" >}}

2. Alternatively, you can open the dialog using keyboard shortcuts:
1. Highlight or select an element on the page.
1. Press <kbd>Ctrl</kbd> + <kbd>,</kbd> on Windows, or <kbd>Command</kbd> + <kbd>,</kbd> on Mac to insert the widget before the element.
1. Press <kbd>Ctrl</kbd> + <kbd>.</kbd> on Windows, or <kbd>Command</kbd> + <kbd>.</kbd> on Mac to insert the widget after the element.

2. Selecting and inserting the widget

1. In the dialog, search for the element you would like to add.
1. Navigate the list using the up or down arrow keys.
1. Insert the selected element by pressing <kbd>Enter</kbd> or by clicking on the element from the list.
1. The inserted widget/element will become highlighted/selected, and the dialog will close automatically.
1. The dialog can also be closed by pressing <kbd>Esc</kbd>.

{{< figure src="/attachments/refguide/modeling/pages/page/ui-recommender-dialog.png" alt="UI Recommender dialog" class="no-border" >}}

By default, the UI Recommender is enabled. If you prefer to disable it, you can do so in **Edit** > **Preferences** > **Maia** > **In-Editor Recommender** > **Enable for Page Editor**.

### Viewing Element Properties {#view-properties}

To view properties of an element, do one of the following:

1. Select an element and open **Properties** pane to view its properties.
2. Right-click an element and select **Properties** from the list of options that opens.
3. Double-click an element.
* Select an element and open **Properties** pane to view its properties
* Right-click an element and select **Properties** from the list of options that opens
* Double-click an element

### Arranging Elements on a Page {#arrange-elements}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.