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

Add images for single item per line view when browsing a data source #6517 #1812

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
63 changes: 56 additions & 7 deletions source/by-role/author/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:is-up-to-date: True
:last-updated: 4.1.0
:last-updated: 4.2.0

.. _author:

Expand Down Expand Up @@ -804,6 +804,8 @@ Using Experience Builder
:width: 75 %
:align: center

|

To turn on Experience Builder, simply click on the pencil (Edit mode), which will turn green when enabled,
or the two sets of three vertical dots (Move Mode), which will turn blue when enabled, at the top right of
Studio. Enabling ``Edit mode`` or ``Move mode`` turns on the ``Experience builder`` panel on the right
Expand All @@ -817,6 +819,8 @@ Edit Mode
:width: 35 %
:align: center

|

``Edit Mode`` allows editing the content directly in its preview for configured sections of the project.
It also provides short-cut menus to open specific pieces of the content form, and the experience builder
panel on the right side of Studio.
Expand All @@ -832,6 +836,8 @@ that the editable section will be inside a blue box like below:
:width: 75 %
:align: center

|

For editable non-text sections, clicking on it will give the user options to edit, cancel, etc. and also
highlight the section in a green box

Expand All @@ -841,6 +847,8 @@ highlight the section in a green box
:width: 75 %
:align: center

|

"""""""""
Move Mode
"""""""""
Expand All @@ -849,6 +857,8 @@ Move Mode
:width: 35 %
:align: center

|

``Move Mode`` allows you to drag around a items from one position to a different position and also
provides short-cut menus to open specific pieces of the content form, and the experience builder
panel on the right side of Studio, just like the ``Edit Mode``.
Expand Down Expand Up @@ -888,11 +898,14 @@ highlighted in a green box. This is the area where we want to change the image

|

Let's now change the image for author ``John Doe``. In the XB panel, click on ``Search``. We can
scroll through the items listed there to look for a new image for ``John Doe``, or, we can also type
``image`` in the search box to narrow down items we're scrolling through to just images in the project.
We'll pick the image ``person_2.jpg`` to replace the current ``Profile Pic`` in the ``Bio`` section.
To replace the image, simply drag ``person_2.jpg`` image from the XB panel to the profile pic on the
Let's now change the image for author ``John Doe``.

**Via XB Search**

In the XB panel, click on ``Search``. We can scroll through the items listed there to look for a new image for
``John Doe``, or, we can also type ``image`` in the search box to narrow down items we're scrolling through to just
images in the project. We'll pick the image ``person_2.jpg`` to replace the current ``Profile Pic`` in the ``Bio``
section. To replace the image, simply drag ``person_2.jpg`` image from the XB panel to the profile pic on the
page. The ``Bio`` section should now have a new image.

.. image:: /_static/images/content-author/xb-new-pic-bio.webp
Expand All @@ -902,6 +915,8 @@ page. The ``Bio`` section should now have a new image.

|

**Via XB Assets**

Another way to browse for images to replace the Bio picture is by browsing items under ``Assets`` in
the XB panel. Scroll through the items, then when you find a suitable image, simply drag it on to the
page to the image section you want to replace. Notice that as you're dragging an image from the XB panel,
Expand All @@ -915,6 +930,38 @@ into that area.

|

**Via In-Context Editing**

Yet another way to browse for images to replace the Bio picture is via in-context editing, by clicking on the image.
A pencil icon will then appear in the green box above the highlighted image to be replaced.
Click on the pencil (the ``Edit`` button)

.. image:: /_static/images/content-author/xb-edit-btn.webp
:alt: Getting Started - Edit an image in XB via in-context editing
:width: 75 %
:align: center

|

Next, click on the ``Replace`` button on the form. Next, click on ``Image from CMS``

.. image:: /_static/images/content-author/form-add-replace-image-btn.webp
:alt: Getting Started - Assets list in XB
:width: 75 %
:align: center

|

Make your selection, then finally click on the ``Select`` button. Remember to click on ``Save & Close`` on the content
form to save your changes.

.. image:: /_static/images/content-author/form-browse-images.webp
:alt: Getting Started - Assets list in XB
:width: 75 %
:align: center

|

|hr|

.. _working-with-pages:
Expand Down Expand Up @@ -1030,7 +1077,7 @@ Editing a Page
^^^^^^^^^^^^^^
There are multiple ways to edit a page.

#. In the context nav, got to the address bar and search for the page you'd like to edit by
#. In the context nav, go to the address bar and search for the page you'd like to edit by
entering some keywords.

.. image:: /_static/images/first-project/first-project-search-for-page.webp
Expand Down Expand Up @@ -1100,6 +1147,8 @@ on the Sidebar
:align: center
:alt: Content Author - Page Access History Tree

|

and then selecting **History**

.. image:: /_static/images/page/page-access-history-tree-2.webp
Expand Down