Skip to content

Add Debug Controls for Turbo Streams #80

Description

@leonvogt

A really cool idea from @marcoroth:
It would be neat to have some "debug" options in the form of controlling the flow of Turbo Streams.
image

Actions that could be useful:

  • Play / Pause (Pause would intercept all incoming Turbo Streams, allowing you to go through each one)
  • Execute a single Turbo Stream
  • Revert a Turbo Stream (would only be possible for standard actions like Append, Prepend, Replace, Update, Remove, Before, After)
  • Discard a Turbo Stream
  • Manipulate the content of the Turbo Stream

In the future, we could extend this by intercepting different events, such as:

  • Morphing the whole site
  • Morphing a single element
  • Replace a Turbo Frame
  • Form submissions

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions