npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@directus-labs/flow-trigger-bundle

v1.0.0

Published

Configure one or more flows to be triggered in the editor or dashboards.

Downloads

418

Readme

Flow Trigger Bundle

The Flow Trigger Bundle enhances manual flow triggers within the Directus Data Studio by providing configurable panels and interfaces for triggering flows directly. This bundle includes a Flows Panel and a Flows Interface, each designed to streamline the execution of manual flows within the Directus environment.

Flow Trigger Interface Sample

Installation

Refer to the Official Guide for details on installing the extension from the Marketplace or manually.

Usage

Flows Panel

The Flows Panel allows users to configure and run manual flows directly from the panel. Users can select multiple flows with manual triggers, assign custom button labels, and input item IDs. These item IDs can be hardcoded or dynamically sourced from a relational global variable panel within the same dashboard.

The panel automatically filters flows, displaying only those triggered by collections where the user has read permissions. The Flow's internal permissions are respected during execution. Additionally, the panel supports native flow confirmation dialogs and allows manual sorting of flow trigger buttons.

Flows Interface

The Flows Interface enables users to configure and trigger manual flows directly from within a collection interface. Similar to the Flows Panel, users can select and sort multiple manual flows to be triggered from the interface. The configured flows will appear as a button group in the Directus editor.

The interface also supports native flow confirmation dialogs, ensuring that users can safely execute their flows.

Configuration

Flows Panel

  1. Add the Flows Panel to your dashboard.
  2. Configure one or more manual flows you wish to trigger.
  3. Assign custom labels to the buttons.
  4. Input a hardcoded item IDs or use a dynamic values from a relational global variable panel.
  5. Arrange the flow trigger buttons in the desired order.
  6. Save and use the panel to trigger flows based on your configuration.

Flows Interface

  1. Add the Flows Interface to your collection editor.
  2. Select one or more manual flows to trigger within this interface.
  3. Arrange the flow trigger buttons in the desired order.
  4. Save and trigger the flows directly from the interface.