Skip to content

Fix report builder flashing on every column toggle#102

Merged
SimonBarrettACT merged 2 commits intomainfrom
bugfix/issue-101-debounce-column-toggle-refresh
Feb 25, 2026
Merged

Fix report builder flashing on every column toggle#102
SimonBarrettACT merged 2 commits intomainfrom
bugfix/issue-101-debounce-column-toggle-refresh

Conversation

@SimonBarrettACT
Copy link
Member

Summary

  • Removed redundant dispatch('refreshTable')->self() from updatedSelectedColumns() — Livewire already re-renders when selectedColumns changes, so the dispatch caused a double render (the flashing)
  • Increased checkbox debounce from default 150ms to 500ms so rapid column toggles are batched into fewer server requests

Test plan

  • Open a report builder with available columns
  • Rapidly toggle several column checkboxes in succession
  • Verify the table no longer flashes on every toggle
  • Verify columns still update correctly after the debounce window

Closes #101

🤖 Generated with Claude Code

SimonBarrettACT and others added 2 commits February 25, 2026 12:36
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove redundant dispatch('refreshTable') from updatedSelectedColumns()
since Livewire already re-renders when the property changes. Increase
checkbox debounce from default 150ms to 500ms so rapid toggles are
batched into fewer requests.

Closes #101

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@SimonBarrettACT SimonBarrettACT merged commit d25ba98 into main Feb 25, 2026
2 of 10 checks passed
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.

Report builder refreshes table on every column toggle

1 participant