Skip to content

Commit

Permalink
Documentation: Tidy introduction and refactor note
Browse files Browse the repository at this point in the history
  • Loading branch information
lukestanley committed Jul 16, 2024
1 parent fe9addc commit e5b47ad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/workflow/blocks/link_action_block.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,18 @@ Link Action block
The Link Action block provides a user-friendly button that links to other Flows.
Like a normal link, the user can choose how Flows are opened, according to their browser configuration.

By default, links to Flows made with the Link Action block will open in the same window/tab context, but users with a mouse input device may right-click to open the link in a new tab or window, or on mobile devices with touchscreens, typically users would press and hold to open a Flow link produced by the Link Action block in a new tab.
On supported browsers, users may notice the destination Flow is shown when hovering over the link, this allows the user to directly see where the button would navigate to.


Refactoring note
----------------
Existing Flows that use a combination of an :doc:`Actions block <actions>` and a :doc:`Launch Block <launch_block>` to open a Flow, can be replaced by the Link Action block to provide the user with more control.

On supported browsers, users may notice the destination Flow is shown when hovering over the link, this allows the user to directly see where the button would navigate to.
Why not use the Launch and Actions blocks?
------------------------------------------
The Launch and Actions blocks, can force navigation away from the current tab, the Link Action block allows users to open Flows in new tabs or windows.
This preserves the current context and allows for normal, expected web browsing behavior to work, such as right-clicking to open in a new tab or using Ctrl/Cmd+click shortcuts.

Default configuration
--------------
Expand Down

0 comments on commit e5b47ad

Please sign in to comment.