Add progressive section expansion debugging feature#1543
Open
Add progressive section expansion debugging feature#1543
Conversation
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.
…ip-01KaezdGj3HsNMUbR6B5ExZ4
…ip-01KaezdGj3HsNMUbR6B5ExZ4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.