Skip to content

Commit 211c3c7

Browse files
authored
DOCSP-28332 Stage View Mode UI Updates (#472)
* DOCSP-28332 Stage View Mode UI Updates * update screenshot * line spacing * clean up wording * clean up wording for edit * AB initial edits
1 parent e036c10 commit 211c3c7

File tree

2 files changed

+34
-29
lines changed

2 files changed

+34
-29
lines changed

source/aggregation-pipeline-builder.txt

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -112,35 +112,31 @@ your chosen view mode:
112112
.. procedure::
113113
:style: normal
114114

115-
.. step:: In the aggregation pipeline pane, ensure the
115+
.. step:: Select the :guilabel:`Stage` view.
116+
117+
In the aggregation pipeline pane, ensure the
116118
:guilabel:`{} Stages` toggle switch is selected.
117119

118120
.. figure:: /images/compass/agg-builder-stageview-toggle-on.png
119121
:alt: Toggle on stage view mode
120122

121-
.. step:: At the bottom of the aggregation pipeline pane, select the
122-
:guilabel:`+ Add Stage` button to open a new aggregation stage
123-
modal.
123+
.. step:: Add an aggregation stage.
124+
125+
At the bottom of the aggregation pipeline pane, click the
126+
:guilabel:`+ Add Stage` button.
127+
128+
.. step:: Select an aggregation pipeline stage.
124129

125-
.. step:: At the lower-left corner of the aggregation pipeline pane,
126-
click the :guilabel:`Select...` dropdown and select the
130+
On the upper-left corner of the aggregation stage card,
131+
click the :guilabel:`Select` drop-down menu and select the
127132
:manual:`aggregation pipeline stage
128133
</reference/operator/aggregation-pipeline/>` to use for the first
129134
stage of the pipeline.
130135

131-
.. step:: Fill in your selected pipeline stage.
136+
.. step:: Fill in your pipeline stage.
132137

133-
If you enable :guilabel:`Preview`, preview documents update
134-
automatically to the right of the stage to reflect the results of
135-
your pipeline as it progresses. You can adjust the width of the
138+
Fill in your selected stage. You can adjust the width of the
136139
pipeline stage by dragging its border to the right.
137-
138-
.. figure:: /images/compass/agg-builder-match-stage.png
139-
:alt: Aggregation Builder match stage example
140-
141-
.. step:: Click :guilabel:`Add Stage` to add additional aggregation
142-
stages below your most recently added aggregation stage. Repeat
143-
steps 1 and 2 for each additional stage.
144140

145141
.. note::
146142

@@ -154,18 +150,27 @@ your chosen view mode:
154150

155151
.. figure:: /images/compass/agg-builder-exclude-stage-example.png
156152
:alt: Aggregation Builder exclude stage example
157-
158-
.. step:: Click :guilabel:`Run` at the top right of the pipeline
159-
builder. |compass-short| returns your results in the document view.
153+
154+
.. step:: Add additional pipeline stages.
160155

161-
.. warning::
162-
163-
When you click :guilabel:`Run`, the aggregation runs against the
164-
entire collection.
156+
To add an additional pipeline stage after your last aggregation
157+
stage, click :guilabel:`Add Stage`. To add an aggregation stage
158+
before your most recently added stage, click the :guilabel:`+` icon
159+
above the stage card.
160+
161+
Repeat steps 3 and 4 for each additional stage.
162+
163+
.. note::
164+
165+
You can change the order of pipeline stages by dragging
166+
the header of each stage card.
165167

166-
.. step:: To edit the pipeline, click :guilabel:`Edit` at the top of
167-
your pipeline toolbar to return to the aggregation pipeline builder
168-
and make changes to your pipeline.
168+
.. step:: Run the pipeline.
169+
170+
At the top-right corner of the pipeline builder, click
171+
:guilabel:`Run`.
172+
173+
|compass-short| returns your results in the document view.
169174

170175
.. tab:: Focus Mode
171176
:tabid: focus
@@ -197,7 +202,7 @@ your chosen view mode:
197202

198203
.. step:: Select an aggregation pipeline stage.
199204

200-
Click the :guilabel:`Select` dropdown and select the
205+
Click the :guilabel:`Select` drop-down menu and select the
201206
:manual:`aggregation pipeline stage
202207
</reference/operator/aggregation-pipeline/>` to use for the first
203208
stage of the pipeline.
@@ -238,7 +243,7 @@ your chosen view mode:
238243
.. step:: Navigate between stages.
239244

240245
To navigate between different stages, select the stage you
241-
want to edit from the :guilabel:`Stage` dropdown in the upper-right
246+
want to edit from the :guilabel:`Stage` dropdown in the upper-left
242247
corner of the Focus Mode modal.
243248

244249
You can navigate between stages with the following keyboard
Loading

0 commit comments

Comments
 (0)