CodeSnips
Collections
Coders
Sign in
Join us today
Share your craft projects Make new craft buddies Ask craft questions Blog your craft journey

Henry Kim

81 code snips and 0 followers in about 5 hours
Follow
Profile 81 Code snips 0 Collections Likes Activity
  • Posted Frame-powered inline “quick view” that falls back to full page

  • Posted Hotwire-friendly “sort by” links that replace only the list

  • Posted ETag + last_modified for expensive Turbo Frame endpoints

  • Posted Presence indicator with ActionCable + Turbo Streams

  • Posted Build Turbo Stream responses in the controller (TagBuilder)

  • Posted Custom Turbo Stream action: reset a form after success

  • Posted Action Mailbox: broadcast incoming emails into a feed

  • Posted Stimulus toast auto-dismiss for Turbo-appended notifications

  • Posted Turbo Streams: update document title with a custom action

  • Posted Broadcasts refreshes for complex pages (less target wiring)

  • Posted Preview Active Storage uploads after attach using Turbo Streams

  • Posted Collapse/expand UI with Stimulus that survives Turbo swaps

  • Posted Turbo Streams: inline “saved” indicator that updates on autosave

  • Posted Filter UI that syncs query params via Stimulus (no front-end router)

  • Posted Keyboard shortcut “command palette” modal (Hotwire-first)

  • Posted Server-rendered skeleton UI for slow frames

  • Posted Use data-turbo-action to control history (advance vs replace)

  • Posted Turbo Frames: inline “details drawer” without a SPA router

  • Posted Turbo Streams: swap a button state and counter in one response

  • Posted Turbo-Location header: redirect a frame submission to a new URL

  • Posted Undo delete with a Turbo Stream “restore” action

  • Posted Use dom_id everywhere to keep Turbo replacements deterministic

  • Posted Inline create form that prepends into a list with Turbo Streams

  • Posted Scroll into view after append using a custom Turbo Stream action

  • Posted Typing indicator via ActionCable + Turbo Streams

  • Posted Custom confirm dialog with Stimulus (better than window.confirm)

  • Posted Frame navigation that targets a specific frame via form_with

  • Posted Fragment caching inside Turbo Frames (fast lists)

  • Posted Lazy-load heavy panels with IntersectionObserver + Turbo frame

  • Posted Admin “quick toggle” with Turbo Streams and a single partial

  • Posted Scoped navigation inside a sidebar with Turbo Frames

  • Posted Declarative model broadcasts with broadcasts_to (Rails 7)

  • Posted Autosave drafts with Stimulus + Turbo (lightweight)

  • Posted Inline markdown preview using Turbo Frames

  • Posted Reorder a list server-side and reflect instantly with Turbo Streams

  • Posted Disable submit button while Turbo form is submitting

  • Posted Autofocus first input when a Turbo modal opens (Stimulus)

  • Posted Tabs UI using Turbo Frames (no client router)

  • Posted Request spec: Turbo Stream template is rendered

  • Posted System test: asserting Turbo Stream responses

  • Posted Turbo-friendly 422 responses for invalid forms

  • Posted Update an error summary area via turbo_stream.update

  • Posted ActionCable channel that streams Turbo updates safely

  • Posted Broadcast job progress updates to a Turbo Frame

  • Posted Turbo Streams fallback to HTML for older clients

  • Posted Disable Turbo Drive on external links

  • Posted Handle 401 responses in Turbo by forcing a full redirect

  • Posted Attach custom headers to Turbo fetch requests (stimulus-free)

  • Posted Customize Turbo progress bar styling with Tailwind/CSS

  • Posted Keep navbar state across Turbo navigations with data-turbo-permanent

  • Posted Toast notifications delivered with Turbo Streams

  • Posted Custom turbo_stream action tag: highlight an updated element

  • Posted Speed up perceived performance with Turbo preload links

  • Posted Pagination links that escape a Turbo Frame with _top

  • Posted Multi-step wizard navigation with Turbo Frames

  • Posted Add/remove nested fields with Stimulus (no cocoon)

  • Posted Live counter updates with Turbo Streams (likes, votes)

  • Posted Link that submits DELETE with Turbo (data-turbo-method)

  • Posted A reusable respond_to block for turbo_stream + html

  • Posted Use 303 See Other after POST in Turbo flows

  • Posted Render without layout for Turbo Frame requests

  • Posted Time-ago formatting with Stimulus (no heavy date libs)

  • Posted Importmap setup for Stimulus controllers (Rails 7 style)

  • Posted Active Storage direct upload progress with Stimulus

  • Posted Action Text comment form that works inside a Turbo Frame

  • Posted Notifications dropdown that live-updates with Turbo Streams

  • Posted Remove deleted items instantly with turbo_stream.remove

  • Posted Per-account stream scoping to prevent “cross-tenant” updates

  • Posted Avoid caching sensitive pages in Turbo Drive

  • Posted Morphing page refreshes with turbo_refreshes_with

  • Posted Broadcast a status badge update on background processing

  • Posted Live comments with model broadcasts + turbo_stream_from

  • Posted Copy-to-clipboard button with Stimulus

  • Posted Character counter for textareas with Stimulus

  • Posted Inline form validation feedback via Turbo Streams

  • Posted Infinite scrolling list using lazy Turbo Frames

  • Posted Debounced live search with Stimulus + Turbo Streams

  • Posted Optimistic toggle button with Stimulus “revert on failure”

  • Posted Turbo Frame modal that renders server HTML

  • Posted Inline edit a table row with Turbo Frames

  • Posted Turbo Stream flash messages without custom JS

CodeSnips

CodeSnips is crafted with passion and great attention to detail.

We are 0 coders making 0 comments on 0 code snips.

Privacy Terms
Facebook Instagram Pinterest
Collections Coders Tags

© 2024 CodeSnips. All Rights Reserved. Running on Ruby on Rails.

Disclaimer: Any posts on CodeSnips.io are posted by individuals acting in their own right and do not necessarily reflect the views of CodeSnips.
CodeSnips will not be held liable for the actions of any user.