Search Results for "turbo-frames-and-streams"

Lessons





















Forum Threads

Components with Phlex in Rails Discussion

8
General
I feel like components in Ruby are super duper handy for arguments and other complex helper methods. Phlex takes it a step further with the HTML helper methods so you don't even really have to leav...
Christian Sedlmair replied

Send Notifications in Rails with Noticed gem v2 Discussion

9
General
The video talks about implementing a sort of escalated notification. Like send a slack web hook and then in 5 minutes send an email but not if the recipient already saw the slack web hook. Is buil...
Monica Wolff replied

Custom Turbo Stream Actions Discussion

7
General
Great episode! Is there any convention or recommendation for managing the JS code instead of throwing it all in the `application.js`? Something like `app/javascript/stream_actions/console_log.js`, ...
Samuel Couillard replied

How to use Hotwire in Rails Discussion

86
General
Can you please provide the repository for this also?
D john replied

Refactoring Turbo Streams into Turbo Frames Discussion

2
General
This is awesome! Do you have a video/guide/setting share for your MacVim setup seen in this video, catered to Rails development?
Denis replied

Flash Messages and Toasts with Hotwire & Turbo.js Discussion

25
General
Nice! I've been playing with Turbo and that comes on perfect timing, thanks! But didn't you think that feels wrong? We used to have the controller do all of that for us with the redirects and fla...
Chuck replied

Turbo Stream - dynamically replacing partial on the page

6
Rails
I have an edit user page that has multiple cards on it. I have each card wrapped in its own turbo frame tag with a unique id. On the update action in my controller if I just redirect_to @user the s...

How to use Rails Request.js Discussion

4
General
Hey Chris, this looks like a great addition to rails and thanks for adding the turbo stream support! I'm working on an infinite scroll where at the end of the page a stimulus controller gets the n...

Render concurrent request data as it becomes available with Turbo Streams

1
Rails
Hi! I'm building a Rails app where users can check if a given username is available on multiple platforms. I have a form where users can enter a username, and then the app makes concurrent requests...
Una replied

How to upgrade from Turbolinks to Hotwire & Turbo Discussion

12
General
Hey Chris, thanks for going over Turbo and StimulusJS 2.0 changes, I'm really excited about using them in my projects! One really big thing that would be great to cover is using dialogs/modals wit...
Thomas Connolly replied

Vue.js Components in Rails Views Discussion

27
General
Nice video. What about Vue state managment in Rails. When one Vue component mess with state of another Vue component?
leoplct replied

Realtime Nested Comments: Part 2 Discussion

6
General
Hey Chris, thanks for the video! I'm just wondering about the design decision to have a stream subscription for each individual comment for the broadcast removal vs broadcasting to the "container" ...
Jay Killeen replied

Datatables From Scratch Using Hotwire Discussion

32
General
fantastic thanks
David Krider replied

How to handle flash messages with TurboJS?

2
Gems / Libraries
When using turbo-frame to switch from showing a partial of model to showing the form of model, how do I handle flash messages? The failed state - for failed validation - is pretty straight forward...
Johan André replied

Rendering simple_calendar content using Turbo Frames

2
Rails
Hi there, It's a great pleasure to use this gem which is really handy ! I started using Turbo recently on my application and still had troubles wrapping my head around... Idea here is not only to ...
spacerobotTR replied

Inline Editing with Turbo Frames in Rails Discussion

5
General
How would you abstract the polymorphic path if you wanted to use the inline edit/fields partials both in forms that are namespaced like in an admin route (e.g. a form at admin/settings/show) but al...
Jeremy Bray replied

Turboframes not replacing when placed in another partial

2
Rails
I am trying to create a modal or a drawer which allows me to edit a form. When I place the `turbo_frame_tag` in the same file like so. The form shows up properly when I click the link. **admin/pe...
HP replied

Migrating from Rails UJS to Hotwire: Data Method, Confirm, and Disable With Discussion

18
General
Small comment about those delete links (I really dislike using links for delete requests): when you need to put a delete button inside form, consider moving the submit button outside of the form in...
Colin Ambler replied

Tip of topic for new episode on hotwire

1
Rails
How to use turbo frames for more complex pages that has menu and sidebars that themself are at least somewhat dynamic (say user name, sidebar options that change depending of what page you are at e...
montigokylie replied

How do I create a filterer with checkboxs that dynamically search for results?

1
Rails
Hey everyone, I am attempting to build a checkbox filter with Rails 7. I would like to render a list of businesses on a page and have a side panel with a bunch of checkboxes. This side panel woul...
jackjohnsonpo replied