Fix node list tooltip markdown rendering#1469
Merged
kanushka merged 1 commit intowso2:release/bi-1.8.xfrom Feb 17, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the rendering of tooltips in the node list by converting them to use Markdown formatting while stripping HTML tags. This aligns the tooltip behavior with the form description rendering approach.
Changes:
- Added ReactMarkdown dependency and imported it along with the
stripHtmlTagsutility - Created styled component
TooltipMarkdownwith formatting rules that hide multi-line code blocks while preserving inline code - Implemented
renderTooltipContentfunction to process node descriptions through HTML stripping and Markdown rendering
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+138
to
+141
| code { | ||
| display: inline; | ||
| } | ||
|
|
There was a problem hiding this comment.
The display: inline; property for code elements is redundant since <code> is already an inline element by default. This rule can be removed unless there's a specific reason to override inherited styles.
Suggested change
| code { | |
| display: inline; | |
| } |
NipunaRanasinghe
approved these changes
Feb 17, 2026
96 tasks
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.
Summary
Screen.Recording.2026-02-17.at.20.20.45.mov
Related issues