-
Notifications
You must be signed in to change notification settings - Fork 83
Flows enhancements #818
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
Merged
Merged
Flows enhancements #818
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
aae452b
Update Flows docs for folders, hidden triggers, and collection search
robluton 8aea912
Create new manage flows page to showcase folders and other recent enh…
robluton 00246ce
Update Flows trigger screenshots
robluton 9bb8944
Add screenshots to the Manage Flows page
robluton 8ce497d
minor edits
robluton c5ec656
update import Flow screenshot
robluton 07bbac7
edit copy in callout
robluton 3989baa
update to reflect flows being moved into its own module
robluton b1b8b25
update screenshots
robluton ccea537
address folder deletion behavior
robluton d7331d6
update env-sync area
robluton b8bcb15
replace screenshots
robluton 0938e35
more screenshot updates and minor verbiage updates
robluton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
robluton marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| --- | ||
| stableId: a953ba99-dea5-44a2-8c7b-176180759fe9 | ||
| title: Manage Flows | ||
| description: Organize, find, duplicate, import, and export Flows from the Flows module. | ||
| --- | ||
|
|
||
| Flows have their own module in the module bar. The Flows page lists every Flow in a table with its folder, status, trigger type, name, and description. From here you can organize Flows into folders, search and filter the list, duplicate a Flow, and import and export Flows. | ||
|
|
||
| ::callout{icon="i-lucide-info"} | ||
| Flows used to live in the Settings module. Links to the old location redirect to the Flows module, so existing bookmarks keep working. | ||
| :: | ||
|
|
||
| ## Organize Flows into Folders | ||
|
|
||
|  | ||
|
|
||
| The navigation pane on the left lists your folders. **All Flows** is the root and shows every Flow in the project. Selecting a folder shows only the Flows inside it, and the folder is stored in the page URL so you can bookmark or share a link to it. | ||
|
|
||
| - **Create a folder** — Select the **Create Folder** button in the header bar and enter a name. The new folder is nested under the folder you currently have open. | ||
| - **Rename, move, or delete a folder** — Open the folder's context menu in the navigation pane and select **Rename Folder**, **Move to Folder**, or **Delete Folder**. | ||
| - **Move Flows** — Open a Flow's context menu and select **Move to Folder**. To move several Flows at once, select them in the table and use the **Move to Folder** button in the header bar. | ||
|
|
||
| ::callout{icon="i-lucide-info"} | ||
| Deleting a folder never deletes the Flows inside it. Choose **Delete this folder only** to move its subfolders and Flows up to the parent folder, or **Delete this folder and its subfolders** to remove the whole tree and move its Flows to the nearest surviving parent folder. Flows land in **All Flows** only when no parent folder survives. | ||
| :: | ||
|
|
||
| ## Search and Filter Flows | ||
|
|
||
|  | ||
|
|
||
| Use the search box in the header bar to find Flows by name. Select the filter icon to add conditions on Flow fields such as **Status**, **Trigger**, or the folder's **Name**. | ||
|
|
||
| ## Duplicate a Flow | ||
|
|
||
| To copy a Flow together with its trigger configuration and all of its operations, open the Flow's context menu and select **Duplicate Flow**. Enter a name for the copy and select **Duplicate**. The copy is placed in the same folder as the original. | ||
|
|
||
| ::callout{icon="i-lucide-info"} | ||
| A duplicated Flow is always created with an **inactive** status so it will not run until you review and activate it. | ||
| :: | ||
|
|
||
| ## Export Flows | ||
|
|
||
|  | ||
|
|
||
| To export a single Flow, open its context menu and select **Export Flow**. To export several Flows at once, select them in the table and use the **Export Flows** button in the header bar. Each export is a JSON file containing the Flow and its operations. | ||
|
|
||
| ## Import a Flow | ||
|
|
||
|  | ||
|
|
||
| To import a Flow, open the right-hand sidebar and expand **Import**. Choose a JSON file that was previously exported from Directus, then select **Start Import**. If a folder is open when you import, the Flow is placed in that folder. | ||
|
|
||
| Directus rejects files that are not valid JSON, files that are not a Flow export, and exports that contain an operation belonging to a different Flow. | ||
|
|
||
| ::callout{icon="i-lucide-triangle-alert" color="warning"} | ||
| **Review an imported Flow before activating it** | ||
| An imported Flow is always set to an **inactive** status, so it will not run until you activate it. If it references collections that do not exist in your project, update those operations to use collections that are available. | ||
| :: |
|
robluton marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.