Skip to content

Commit

Permalink
docs(query-builder): fix gif now rendered using img tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvpetrov committed Feb 25, 2025
1 parent e961174 commit 9eaa67f
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions en/components/query-builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,11 @@ Condition chips can be easily repositioned using mouse [*Drag & Drop*](drag-drop
- Dragging a chip does not modify its condition/contents, only it's position.
- Chip can also be dragged along groups and subgroups. For example, grouping/ungrouping expressions is achieved via the Expressions Dragging functionality.
In order to group already existing conditions, first you need to add a new group through the 'add' group button. Then via dragging, the required expressions can be moved to that group. In order to ungroup, you could drag all conditions outside their current group and once the last condition is moved out, the group will be deleted.

>[!NOTE]
>Chips from one query tree cannot be dragged in another, e.g. from parent to inner and vice versa.
<div style="display:inline-block;">
<a style="background: url(../../images/general/query-builder-drag-and-drop.gif); display:flex; justify-content:center; width: 80vw; max-width:480px; min-height:415px;"
target="_blank">
<img src="../images/general/play.svg" style="vertical-align: middle;" />
</a>
<p style="text-align:center;">Rearranging chips using mouse Drag and Drop</p>
</div>
<img class="responsive-img" src="../images/general/query-builder-drag-and-drop.gif" />

## Keyboard interaction
**Key Combinations**
Expand All @@ -171,14 +167,8 @@ In order to group already existing conditions, first you need to add a new group

>[!NOTE]
>Keyboard reordering provides the same functionality as mouse Drag & Drop. Once a chip is moved, user has to confirm the new position or cancel the reorder.
<div style="display:inline-block;">
<a style="background: url(../../images/general/query-builder-keyboard-drag-and-drop.gif); display:flex; justify-content:center; width: 80vw; max-width:480px; min-height:428px;"
target="_blank">
<img src="../images/general/play.svg" style="vertical-align: middle;" />
</a>
<p style="text-align:center;">Rearranging chips using keyboard reordering</p>
</div>
<img class="responsive-img" src="../images/general/query-builder-keyboard-drag-and-drop.gif" />

## Templating

Expand Down

0 comments on commit 9eaa67f

Please sign in to comment.