Skip to content
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

Add Debug Controls for Turbo Streams #80

Open
leonvogt opened this issue Oct 12, 2024 · 0 comments
Open

Add Debug Controls for Turbo Streams #80

leonvogt opened this issue Oct 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@leonvogt
Copy link
Owner

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
@leonvogt leonvogt added the enhancement New feature or request label Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant