Skip to content

feat: synchronize deps to antd 6.4.0 and antdx 2.7.0#122

Merged
Col0ring merged 4 commits into
mainfrom
dev
May 18, 2026
Merged

feat: synchronize deps to antd 6.4.0 and antdx 2.7.0#122
Col0ring merged 4 commits into
mainfrom
dev

Conversation

@Col0ring
Copy link
Copy Markdown
Collaborator

No description provided.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 18, 2026

🦋 Changeset detected

Latest commit: 8a7c750

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@modelscope-studio/lint-config Patch
@modelscope-studio/changelog Patch
@modelscope-studio/antdx Patch
@modelscope-studio/antd Patch
@modelscope-studio/base Patch
@modelscope-studio/pro Patch
@modelscope-studio/frontend Patch
modelscope_studio Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request synchronizes dependencies to antd 6.4.0 and antdx 2.7.0, while also introducing several new component properties and slot supports across the library. Key changes include the addition of variant to Alert, target_offset to Anchor.Item, and searchIcon support for Cascader and Input.Search. Additionally, several React components were refactored to use useMemo and useRef for more efficient state management and to avoid unnecessary re-renders. During the review, a critical bug was identified in the Cascader backend definition where a missing comma would cause string concatenation of slot names. Furthermore, an incorrect ESLint suppression comment was found in the bubble list utilities that should be removed.

'notFoundContent', 'expandIcon', 'removeIcon', 'prefix',
'displayRender', 'tagRender', 'dropdownRender', 'popupRender'
'notFoundContent', 'expandIcon', 'removeIcon', 'showSearch.searchIcon',
'prefix', 'displayRender', 'tagRender', 'dropdownRender', 'popupRender'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

There is a missing comma at the end of this line. In Python, adjacent string literals are automatically concatenated if not separated by a comma. This will result in 'popupRendershowSearch.render' instead of two separate slot names. Please add a comma to separate them.

Suggested change
'prefix', 'displayRender', 'tagRender', 'dropdownRender', 'popupRender'
'prefix', 'displayRender', 'tagRender', 'dropdownRender', 'popupRender',

},
}
);
// eslint-disable-next-line react-hooks/use-memo
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The ESLint suppression comment refers to a non-existent rule react-hooks/use-memo. If the intention was to suppress dependency warnings, react-hooks/exhaustive-deps is already used on line 130. This line appears to be a typo and should be removed.

@Col0ring Col0ring merged commit 825ec9d into main May 18, 2026
2 checks passed
@Col0ring Col0ring deleted the dev branch May 18, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant