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
The options property for the 'transformation' group refers to Transformations, but no such identifier is imported or defined, which will cause runtime errors when opening that menu.
The menu never renders entries for the "others" category. Add a block to map OtherOptions when selectedAddCell === 'others' so those items appear in the dropdown.
Why: Without a mapping for others, the dropdown never shows the OtherOptions entries, which is a functional bug that needs addressing.
Medium
Only show arrows for option items
The current ternary logic still shows a down arrow for items without options. Simplify the condition to only render arrows when value.options is an array, hiding the icon otherwise.
Why: Simplifying the endIcon logic ensures arrows only appear when value.options is an array and improves readability by removing special-case checks.
Medium
General
Use generic menu mapping
The menu rendering is duplicated for each category. Replace both blocks with a single generic mapping over AddCellOptions[selectedAddCell]?.options to support any multi-option entry.
Why: Consolidating duplicated mapping blocks into a single generic loop over AddCellOptions[selectedAddCell]?.options improves maintainability without changing behavior.
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