Skip to content

Conversation

jeffhwang-sq
Copy link
Collaborator

Enable turbo-frame for auto-reload

Use turbo-frame to implement partial page updates for backfill status. This allows the partitions and events sections to auto-reload while keeping the configuration section stable.

Changes:

  • Add turbo-frame support in AutoReload component
  • Configure frame attributes for proper reloading
  • Update auto-reload controller to use Turbo.visit for frame updates
Screen.Recording.2025-06-09.at.5.38.31.PM.mov

@jeffhwang-sq jeffhwang-sq requested review from adrw and mpawliszyn June 9, 2025 21:57
Copy link
Collaborator

@adrw adrw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome demo, huge win to get this working properly

Copy link
Collaborator

@keeferrourke keeferrourke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeeeeaa this is what we want. Great work!

@jeffhwang-sq jeffhwang-sq merged commit 67f0310 into master Jun 10, 2025
5 checks passed
jeffhwang-sq added a commit that referenced this pull request Jun 10, 2025
# By jeffhwang-sq
# Via GitHub
* master:
  Add turbo frame to events and partition (#469)

# Conflicts:
#	service/src/main/kotlin/app/cash/backfila/ui/pages/BackfillShowAction.kt
#	service/src/main/resources/web/static/js/auto_reload_controller.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants