Skip to content

Add progressive section expansion debugging feature#1543

Open
bobular wants to merge 8 commits intomainfrom
claude/complex-task-wip-01KaezdGj3HsNMUbR6B5ExZ4
Open

Add progressive section expansion debugging feature#1543
bobular wants to merge 8 commits intomainfrom
claude/complex-task-wip-01KaezdGj3HsNMUbR6B5ExZ4

Conversation

@bobular
Copy link
Member

@bobular bobular commented Nov 14, 2025

Fixes #1406

This PR adds a new debugging feature to progressively expand all collapsed sections in the gene page, one at a time, every five seconds, scrolling each section into view and showing snackbars with progress information and a stop button. This feature is only available in non-production environments.

The progressive expansion helps identify which specific section causes runtime errors during development and debugging.

Started by Claude Code Web and then fixed up by Bob and Claude.

This commit adds a new debugging feature to progressively expand all
collapsed sections in the gene page, one at a time, stopping on the first
runtime exception. This feature is only available in non-production
environments.

Changes:
- Added new PROGRESSIVE_EXPAND_ALL action and progressiveExpandAll() function
- Implemented observeProgressiveExpand epic that:
  * Expands sections sequentially with 300ms delay between each
  * Monitors the unhandledErrors Redux state for new errors
  * Stops expansion immediately upon detecting a runtime error
  * Logs progress and errors to console for debugging
- Added debug button to gene page RecordMainSection component
  * Only visible when process.env.NODE_ENV !== 'production'
  * Positioned beside existing "Collapse all sections" button
  * Includes bug icon and descriptive tooltip

The progressive expansion helps identify which specific section causes
runtime errors during development and debugging.
@bobular bobular marked this pull request as draft November 14, 2025 22:05
@bobular bobular requested a review from aurreco-uga January 6, 2026 00:55
@bobular bobular marked this pull request as ready for review January 6, 2026 00:55
@bobular bobular changed the title Add progressive section expansion debugging feature [Claude Code Web] Add progressive section expansion debugging feature Jan 6, 2026
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.

debugging: dev/qa only: Add an "Expand all sections for debugging" link/button to gene pages

2 participants