You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conditionally hide or remove the badge wrapper when showBadge is false to prevent unnecessary rendering. You can use the invisible prop on Badge or wrap rendering in a conditional check.
Why: Rendering <Badge> unconditionally leads to empty badges when showBadge is false, so using its invisible prop or a conditional improves UX and performance.
Low
Remove redundant Switch prop
Remove the redundant value prop from the Switch component since checked already controls its state. This avoids potential prop conflicts.
Why: The value prop on <Switch> is redundant when checked already controls its state, so removing it cleans up the component with minimal impact.
Low
Possible issue
Add defaults after optional chaining
Provide default fallbacks for order and type when optional chaining returns undefined to prevent runtime errors. Use || [] for arrays and || "" for strings.
Support for badge display on icon widgets with configurable content, color and visibility toggle
New badge settings in the icon block settings panel
to commit the new content to the CHANGELOG.md file, please type:
'/update_changelog --pr_update_changelog.push_changelog_changes=true'
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
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.
Description
Changes Made
How to Test
Notes