feat: Add focusNode function to enhance node selection and view fitti…#187
Merged
felix-schultz merged 1 commit intodevfrom Aug 16, 2025
Merged
Conversation
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.
This pull request refactors the flow trace log viewer to improve node focusing and display of node information. The main changes include introducing a new node focusing mechanism, passing board data and a node focus callback to the
Tracescomponent, and enhancing log message rendering with node details and icons. The changes also clean up unused code and improve log level color handling for icons.Flow node focusing and selection improvements
focusNodecallback inFlowBoardthat sets the current layer and path, then animates the view to the selected node. This replaces the previous node selection logic and ensures the correct layer is displayed before focusing the node.Tracescomponent to acceptboarddata and anonFocusNodecallback, allowing log messages to trigger node focusing in the flow board. [1] [2]Log message rendering enhancements
DynamicImageandQuestionMarkCircledIconcomponents. [1] [2]Code cleanup and API improvements
Tracescomponent, simplifying the codebase. [1] [2]logLevelToColorfunction to support color styling for icons as well as backgrounds, ensuring consistent visual feedback in the UI.wBoard