instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ant-design__ant-design__53659 | ant-design/ant-design | 53,659 | defect | c0c291d145146d20b80b215136a34de882ed541c | 3ff98e60927d8976b8095c13258639f30a123b58 | feat(Table): support `classNames` and `styles` for component and ConfigProvider | ### 🤔 This is a ...
- [x] 🆕 New feature
### 💡 Background and Solution
wait for https://github.com/react-component/table/pull/1261
### 📝 Change Log
| Language | Changelog |
| ---------- | --------- |
| 🇺🇸 English | feat: ConfigProvider support classNames and styles for table |
| ... | diff --git a/components/config-provider/index.en-US.md b/components/config-provider/index.en-US.md
index ee010bab0f30..deb7586cd494 100644
--- a/components/config-provider/index.en-US.md
+++ b/components/config-provider/index.en-US.md
@@ -160,7 +160,7 @@ const {
| spin | Set Spin common props | { className?: string, s... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Table in the semantic demo is too small and should span the full width.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ant-design__ant-design__53698 | ant-design/ant-design | 53,698 | defect | 91c2b99c571b7e4a62c3819f2759788ff4425db6 | 78ed5c6f816ce4887d1790b833f5911cc14656f7 | feat(InputNumber): support `classNames` and `styles` for component and ConfigProvider | ### 🤔 This is a ...
- [x] 🆕 New feature
- [x] wait for https://github.com/react-component/input-number/pull/717
### 📝 Change Log
| Language | Changelog |
| ---------- | --------- |
| 🇺🇸 English | feat: ConfigProvider support classNames and styles for inputNumber |
| 🇨🇳 Chinese |... | diff --git a/components/config-provider/context.ts b/components/config-provider/context.ts
index 419a00a27715..df54f9fd335e 100644
--- a/components/config-provider/context.ts
+++ b/components/config-provider/context.ts
@@ -298,7 +298,8 @@ export type ResultConfig = ComponentStyleConfig & Pick<ResultProps, 'classNames'
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The demo should override `styles` (e.g. make the actions element visible) so the actions semantic element can be distinguished in the preview.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ant-design__ant-design__53814 | ant-design/ant-design | 53,814 | defect | fb891769b120494be3c8b8b94259ad613587a1bb | 13092fd7afdeec637e455248030cb7028f10e721 | fix: fix the issue that ColorHexInput cannot manually input values caused by #53810 | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/color-picker/components/ColorHexInput.tsx b/components/color-picker/components/ColorHexInput.tsx
index 260b8fdb89f5..9f43772ef547 100644
--- a/components/color-picker/components/ColorHexInput.tsx
+++ b/components/color-picker/components/ColorHexInput.tsx
@@ -1,5 +1,5 @@
import type { FC } from ... | 3 | 2 | 1 | [{"id": "G0", "claim": "The change is framed as a revert but appears not to be a pure revert of #53701, which touched five files — this pull request restores only ColorHexInput.tsx.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request n... | null |
ant-design__ant-design__53842 | ant-design/ant-design | 53,842 | defect | 161b0f503c5091325a9ca98a8f45f13a1e381fd2 | 76f6565a05b383a23652e310dae0b2d358fdd5cb | fix: Add missing generic parameters to DraggerProps | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/upload/Dragger.tsx b/components/upload/Dragger.tsx
index b69bd2bdb0f6..27eaa400e82d 100644
--- a/components/upload/Dragger.tsx
+++ b/components/upload/Dragger.tsx
@@ -4,7 +4,7 @@ import type { UploadProps } from './interface';
import type { UploadRef } from './Upload';
import Upload from './Up... | 2 | 1 | 1 | [{"id": "G0", "claim": "Because React.forwardRef<UploadRef, DraggerProps> does not propagate the new type parameter, the Dragger component always falls back to the default any, and the reviewer suggests declaring the component itself generic so users can write <Dragger<MyFileType> .../>.", "category": "design", "verdic... | null |
ant-design__ant-design__53861 | ant-design/ant-design | 53,861 | defect | 4195a09be85657f749265f2cec0adc16c8072279 | d536b88ee02a2ee93f28b3d0debaf9ae03898826 | fix: Typography.Text delete did not follow state changing | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/typography/Base/index.tsx b/components/typography/Base/index.tsx
index b35e45876ab0..05b47eab118f 100644
--- a/components/typography/Base/index.tsx
+++ b/components/typography/Base/index.tsx
@@ -111,6 +111,16 @@ function wrapperDecorations(
const ELLIPSIS_STR = '...';
+const DECORATION_PROP... | 2 | 1 | 0 | [{"id": "G0", "claim": "Ensure that all keys in DECORATION_PROPS are valid properties of BlockProps, to avoid runtime errors when accessing properties that may not exist.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test's toggle button should... | null |
ant-design__ant-design__53877 | ant-design/ant-design | 53,877 | defect | a7d9deca3320d36509d9d69d1c9ea6db5dc65df5 | f2d012430b816da9f7ae527ec2c82df2ead1a182 | fix(upload): apply merged styles to upload component for picture list types | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/upload/Upload.tsx b/components/upload/Upload.tsx
index f3c9989b15dc..5971eb9cfcda 100644
--- a/components/upload/Upload.tsx
+++ b/components/upload/Upload.tsx
@@ -484,14 +484,14 @@ const InternalUpload: React.ForwardRefRenderFunction<UploadRef, UploadProps> = (
if (listType === 'picture-car... | 3 | 1 | 1 | [{"id": "G0", "claim": "The bot asks the author to ensure that `mergedStyle` is correctly defined and does not introduce any unintended styles that could affect other components.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `style` prop should... | null |
ant-design__ant-design__53913 | ant-design/ant-design | 53,913 | defect | fb891769b120494be3c8b8b94259ad613587a1bb | 20c8d6bd07a5eecaf6cacb9d1627e9dea9fcc423 | fix(descriptions): correct DescriptionsItemProps span property type | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/descriptions/Item.ts b/components/descriptions/Item.ts
index 18dc9e65ee99..c89d460db86d 100644
--- a/components/descriptions/Item.ts
+++ b/components/descriptions/Item.ts
@@ -1,5 +1,7 @@
import type * as React from 'react';
+import type { Breakpoint } from '../_util/responsiveObserver';
+
ty... | 1 | 1 | 1 | [{"id": "G0", "claim": "A test case is needed for the Descriptions.Item span type change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ant-design__ant-design__54154 | ant-design/ant-design | 54,154 | defect | 1dfdcc2f4ed7ee34fa907d735c4a5aa2ea512cbd | 379329f7aed17f9d0d837ff6d43ba39934ce8c1d | feat: add showCollapsibleIcon API to splitter component (#53540) | ### 🤔 This is a ...
- [ ] 🆕 New feature
- [ ] 🐞 Bug fix
- [ ] 📝 Site / documentation improvement
- [ ] 📽️ Demo improvement
- [ ] 💄 Component style improvement
- [ ] 🤖 TypeScript definition improvement
- [ ] 📦 Bundle size optimization
- [ ] ⚡️ Performance optimization
- [x] ⭐️ Feature enhancement
- [... | diff --git a/components/splitter/SplitBar.tsx b/components/splitter/SplitBar.tsx
index 912409b2ce15..424e177f0ed1 100644
--- a/components/splitter/SplitBar.tsx
+++ b/components/splitter/SplitBar.tsx
@@ -13,6 +13,8 @@ export interface SplitBarProps {
resizable: boolean;
startCollapsible: boolean;
endCollapsible... | 2 | 2 | 1 | [{"id": "G0", "claim": "The boolean `alwaysShowCollapsedIcon` flag should be replaced by a `showCollapsedIcon?: 'auto' | true | false` API whose default value is `auto`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G3", "claim": "The PR should add another demo demons... | null |
ant-design__ant-design__54206 | ant-design/ant-design | 54,206 | defect | a85f31dc0dca10c64029cdf00671029339b0843c | e44f9564777907e5b5080ef26ae6aeeb9ab47276 | fix: prefer using the name passed in the FormItemContext | ### 🤔 This is a ...
- [x] 🐞 Bug fix
### 🔗 Related Issues
- close #54071
### 💡 Background and Solution
> - The specific problem to be addressed.
> - List the final API implementation and usage if needed.
> - If there are UI/interaction changes, consider providing screenshots or GIFs.
### 📝 Chang... | diff --git a/components/form/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/form/__tests__/__snapshots__/demo-extend.test.ts.snap
index f47ef809d7dd..a3b7b13a771c 100644
--- a/components/form/__tests__/__snapshots__/demo-extend.test.ts.snap
+++ b/components/form/__tests__/__snapshots__/demo-extend.test.t... | 3 | 2 | 1 | [{"id": "G0", "claim": "Taking the Form-level name as the default means multiple Radio.Groups in one form would get the same name, which is wrong; the reviewer proposed instead seeding useId with the name the user passes to the group.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr... | null |
ant-design__ant-design__54645 | ant-design/ant-design | 54,645 | defect | 78e51041247b7cf7df6f6c2bab76fad18931eb15 | 775dda7679d011931659a25bcb9cb45dc46e6f71 | feat[Notification]: Add onClose into closable | ### 🤔 This is a ...
- [x] 🆕 New feature
### 🔗 Related Issues
close #54394
### 💡 Background and Solution
无
### 📝 Change Log
| Language | Changelog |
| ---------- | --------- |
| 🇺🇸 English | Add the onClose method to be called in the closable property when the notification closes |... | diff --git a/components/notification/PurePanel.tsx b/components/notification/PurePanel.tsx
index 96aa81817015..23203693999c 100644
--- a/components/notification/PurePanel.tsx
+++ b/components/notification/PurePanel.tsx
@@ -134,6 +134,7 @@ const PurePanel: React.FC<PurePanelProps> = (props) => {
style,
styles,... | 3 | 2 | 0 | [{"id": "G0", "claim": "The docs table should say the onClose hook triggers when the notification closes, not when a 'modal' closes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The complex inline type for closable could be more readable if a se... | null |
ant-design__ant-design__54670 | ant-design/ant-design | 54,670 | defect | fb94e924a9fb1a050afdc6af06f58a9aa8cdc87c | bc78f0e424e9d53aec5f218c86e76bb8fef79173 | feat[Modal]: Add blur effect to mask | ### 🤔 This is a ...
- [X] 🆕 New feature
### 🔗 Related Issues
close https://github.com/ant-design/ant-design/issues/54239
### 💡 Background and Solution
### 📝 Change Log
| Language | Changelog |
| ---------- | --------- |
| 🇺🇸 English | Modal mask adds blur effect |
| 🇨🇳 Chi... | diff --git a/components/_util/__tests__/hooks.test.tsx b/components/_util/__tests__/hooks.test.tsx
index 9936fb009d8b..8b2e6bffc657 100644
--- a/components/_util/__tests__/hooks.test.tsx
+++ b/components/_util/__tests__/hooks.test.tsx
@@ -2,8 +2,10 @@ import React, { useEffect } from 'react';
import { CloseOutlined } ... | 8 | 6 | 3 | [{"id": "G0", "claim": "Applying backdropFilter as an inline style in useMergedMask is redundant with the .ant-modal-mask-blur CSS class; the hook should return only the merged mask and the className object (2-tuple) and Modal.tsx should drop maskBlurStyle, which would also fix the hook test that expects a 2-element tu... | null |
ant-design__ant-design__54715 | ant-design/ant-design | 54,715 | defect | ed0a250805b9482c7da2c70960f8ef23b916a103 | 06331e6dc2f69c8017f3d96d1912c32e0b650ffb | fix: Nest form with noStyle context passing | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/form/Form.tsx b/components/form/Form.tsx
index 3e172039b464..8e8966d688e1 100644
--- a/components/form/Form.tsx
+++ b/components/form/Form.tsx
@@ -13,7 +13,7 @@ import type { SizeType } from '../config-provider/SizeContext';
import SizeContext from '../config-provider/SizeContext';
import type... | 5 | 2 | 0 | [{"id": "G0", "claim": "The parent-validation try...catch block in the new test can be simplified by chaining a .catch() to the promise, making the intent of ignoring the rejection more explicit.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
ant-design__ant-design__54883 | ant-design/ant-design | 54,883 | defect | 0914ea40f3414e1c4d89df5a5ad4d604acb1b3b0 | 7452ee808c15c8a91dedce6ea6b29a713eb9cb97 | feat: support drawer resizable | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/drawer/demo/resizable.md b/components/drawer/demo/resizable.md
new file mode 100644
index 000000000000..19ccd9b2a56b
--- /dev/null
+++ b/components/drawer/demo/resizable.md
@@ -0,0 +1,6 @@
+## zh-CN
+
+可调整大小的抽屉,允许通过拖拽边缘来调整抽屉的宽度或高度。
+## en-US
+
+Resizable drawer that allows users to adjust the dr... | 13 | 11 | 2 | [{"id": "G0", "claim": "The `${componentCls}-section` style block duplicates the one at lines 147-155 and the duplicated block should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The demo's onChange handler should use `RadioChangeE... | null |
ant-design__ant-design__54939 | ant-design/ant-design | 54,939 | defect | dbbdaf394c6df17cb88498aa0ba1c8006499878b | 274658f4f3acf29275fb064d0c930686d7a8821e | fix: Splitter min & max not working for init limit | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/splitter/__tests__/demo-extend.test.ts b/components/splitter/__tests__/demo-extend.test.ts
index bcb6c6e8ccbb..3ffc74e1976a 100644
--- a/components/splitter/__tests__/demo-extend.test.ts
+++ b/components/splitter/__tests__/demo-extend.test.ts
@@ -1,3 +1,3 @@
import { extendTest } from '../../..... | 18 | 8 | 3 | [{"id": "G0", "claim": "calcRestSize can be re-entered after emptyCount has been decremented to zero, so the avgRest computation divides by zero (the reviewer says the application would crash) and asks for a guard clause at the top of the function.", "category": "correctness", "verdict": "supported", "priority": "P1", ... | null |
ant-design__ant-design__54949 | ant-design/ant-design | 54,949 | defect | c46ee1fbc8dc78edcbc26144cfecf72d484125ef | 6c6b04cf6b1ae2146ce804a6b8044e74e9f2ebd7 | feat(divider): Support better customization with semantic classNames/styles as function |
<!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of t... | diff --git a/components/divider/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/divider/__tests__/__snapshots__/demo-extend.test.ts.snap
index 032c65b0037d..b2aee06b925c 100644
--- a/components/divider/__tests__/__snapshots__/demo-extend.test.ts.snap
+++ b/components/divider/__tests__/__snapshots__/demo-e... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new demo's zh-CN and en-US descriptions say 'buttons' (按钮) where they should refer to the Divider (分割线).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added `classNames` and `styles` rows in the zh-CN API tab... | null |
ant-design__ant-design__54959 | ant-design/ant-design | 54,959 | defect | 2247db09a8ac70ecc6ad4f229b9a0c6f4024de76 | 1587141fe22197e0f436fe727f3477187815ddb9 | feat(auto-complete): Support better customization with semantic classNames/styles as function |
<!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of t... | diff --git a/components/auto-complete/AutoComplete.tsx b/components/auto-complete/AutoComplete.tsx
index 0e00cde30a42..4985a4d52af1 100644
--- a/components/auto-complete/AutoComplete.tsx
+++ b/components/auto-complete/AutoComplete.tsx
@@ -4,6 +4,8 @@ import toArray from '@rc-component/util/lib/Children/toArray';
impor... | 5 | 5 | 1 | [{"id": "G0", "claim": "The `styles` and `classNames` props on `AutoCompleteProps` should be typed as the new `AutoCompleteStylesType`/`AutoCompleteClassNamesType` (which support functions) instead of the hand-written `Partial<Record<...>> & { popup?... }` object types, which are not equivalent.", "category": "design",... | null |
ant-design__ant-design__54980 | ant-design/ant-design | 54,980 | defect | 2247db09a8ac70ecc6ad4f229b9a0c6f4024de76 | 8287778884f17d9f5a4e15233b7200a7185f3d55 | feat(image): Support better customization with semantic classNames/styles as function | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/image/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/image/__tests__/__snapshots__/demo-extend.test.ts.snap
index 6809447db123..4ded02ec9f08 100644
--- a/components/image/__tests__/__snapshots__/demo-extend.test.ts.snap
+++ b/components/image/__tests__/__snapshots__/demo-extend.te... | 4 | 4 | 0 | [{"id": "G0", "claim": "Fix the zh-CN demo doc typo that says the classNames/styles props customize 'buttons' (按钮) instead of the Image.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the en-US demo doc typo that says the classNames/styles pro... | null |
ant-design__ant-design__54985 | ant-design/ant-design | 54,985 | defect | 2247db09a8ac70ecc6ad4f229b9a0c6f4024de76 | a03b959d8cdb39fd9f8d39bec40546b718bdb787 | feat(timeline): Support better customization with semantic classNames/styles as function | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/timeline/Timeline.tsx b/components/timeline/Timeline.tsx
index 977a0b0b394c..27662c788e03 100644
--- a/components/timeline/Timeline.tsx
+++ b/components/timeline/Timeline.tsx
@@ -3,6 +3,7 @@ import { UnstableContext } from '@rc-component/steps';
import cls from 'classnames';
import useMergeS... | 3 | 2 | 0 | [{"id": "G0", "claim": "The mergedProps useMemo is inefficient and incorrect: it depends on the whole props object (defeating memoization), spreads all of TimelineProps instead of only BaseTimelineProps fields, and redundantly re-adds destructured properties; it should be built from just the required fields without pro... | null |
ant-design__ant-design__54987 | ant-design/ant-design | 54,987 | defect | 2247db09a8ac70ecc6ad4f229b9a0c6f4024de76 | b71c7ecc0b91de773b681e6c0207e31781a661af | feat(tour): Support better customization with semantic classNames/styles as function | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/tour/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/tour/__tests__/__snapshots__/demo-extend.test.ts.snap
index 3e722bc9d845..d52600dee971 100644
--- a/components/tour/__tests__/__snapshots__/demo-extend.test.ts.snap
+++ b/components/tour/__tests__/__snapshots__/demo-extend.test.t... | 5 | 4 | 2 | [{"id": "G0", "claim": "The API documentation for the classNames prop (en-US and zh-CN) is incomplete: it should mention that classNames can also accept a function for dynamic class names, a key part of this feature.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":... | null |
ant-design__ant-design__55021 | ant-design/ant-design | 55,021 | defect | e9610107e9b521a2a30bc9be000adc005a4eb156 | 7b479a6b8fcf59f3087bc9893bd2bbda0455d8c2 | feat(notification): Support better customization with semantic classNames/styles as function | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/_util/hooks/useMergeSemantic/index.ts b/components/_util/hooks/useMergeSemantic/index.ts
index 49704ba435a6..41eeaf431d34 100644
--- a/components/_util/hooks/useMergeSemantic/index.ts
+++ b/components/_util/hooks/useMergeSemantic/index.ts
@@ -43,35 +43,48 @@ export function mergeClassNames<
}... | 13 | 13 | 1 | [{"id": "G0", "claim": "The useSemanticClassNames useMemo dependency array [classNames] defeats memoization because a rest parameter is a new array each render; it should be [schema, ...classNames].", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
ant-design__ant-design__55056 | ant-design/ant-design | 55,056 | defect | ded4c3a01e74a9651c4549f237add801d71479b7 | e3a9b78e991d7646c17ff917eaba9c902e5fabbd | feat(checkbox_radio): Support better customization with semantic classNames/styles as function |
<!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of t... | diff --git a/components/checkbox/Checkbox.tsx b/components/checkbox/Checkbox.tsx
index 8822393006dc..551fafa96ca2 100644
--- a/components/checkbox/Checkbox.tsx
+++ b/components/checkbox/Checkbox.tsx
@@ -4,6 +4,8 @@ import classNames from 'classnames';
import type { CheckboxRef } from '@rc-component/checkbox';
import ... | 6 | 3 | 0 | [{"id": "G0", "claim": "In Group.tsx the mergedProps useMemo is redundant: every needed prop is already in props (disabled is part of restProps), so it can be removed entirely by assigning props directly to mergedProps.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {... | null |
ant-design__ant-design__55073 | ant-design/ant-design | 55,073 | defect | 6bd0f2dc97000b69d5b758c9dad9649a1b38c932 | 8f7eb037ffffc1ae71173a4b1a3a96ac35043a0a | fix: support clipboard copy in non-https contexts | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/.dumi/theme/builtins/ComponentMeta/index.tsx b/.dumi/theme/builtins/ComponentMeta/index.tsx
index ca88127c9df1..ae6614c49c87 100644
--- a/.dumi/theme/builtins/ComponentMeta/index.tsx
+++ b/.dumi/theme/builtins/ComponentMeta/index.tsx
@@ -83,8 +83,8 @@ const ComponentMeta: React.FC<ComponentMetaProps> = (pr... | 3 | 1 | 1 | [{"id": "G0", "claim": "jest.useFakeTimers() should be restored before the click-and-waitFakeTimer block in the Typography copy test, because waitFakeTimer needs fake timers (the test switched to real timers on line 72 and did not switch back) and otherwise this part of the test will likely fail or time out.", "categor... | null |
ant-design__ant-design__55096 | ant-design/ant-design | 55,096 | defect | 2c75cd44fb86cc28829d60e7ef127ac0f79032a9 | 5d84c7727e1d01a1b66654a1b9afab8d216aba17 | feat(Drawer): Support better customization with semantic classNames & styles | … styles
<!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged afte... | diff --git a/components/drawer/DrawerPanel.tsx b/components/drawer/DrawerPanel.tsx
index 6d3e77a41735..e8200bb9fa35 100644
--- a/components/drawer/DrawerPanel.tsx
+++ b/components/drawer/DrawerPanel.tsx
@@ -2,6 +2,7 @@ import * as React from 'react';
import type { DrawerProps as RCDrawerProps } from '@rc-component/dra... | 3 | 1 | 1 | [{"id": "G0", "claim": "The DrawerProps interface still declares classNames/styles with the old non-function types, which prevents consumers of the Drawer component from using the new function-based customization; it should be updated to use DrawerClassNamesType and DrawerStylesType.", "category": "correctness", "verdi... | null |
ant-design__ant-design__55107 | ant-design/ant-design | 55,107 | defect | f1036be04f892c5ed367507c621d19cf3aa8f7f3 | 69c53ea4f6a0fa407dc8222aaeccff6871c6daa2 | chore: add namespace for Number api | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/.dumi/theme/common/BezierVisualizer/index.tsx b/.dumi/theme/common/BezierVisualizer/index.tsx
index 855ea14472bc..32f1785477e5 100644
--- a/.dumi/theme/common/BezierVisualizer/index.tsx
+++ b/.dumi/theme/common/BezierVisualizer/index.tsx
@@ -27,7 +27,12 @@ const BezierVisualizer = (props: BezierVisualizerP... | 12 | 2 | 1 | [{"id": "G0", "claim": "The biome.json suspicious rule name `noGlobalIsNan` is misspelled and should be `noGlobalIsNaN`, so the rule the PR added never takes effect as a lint constraint.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Replacing global ... | null |
ant-design__ant-design__55271 | ant-design/ant-design | 55,271 | defect | b8cb35ca2d59354d347eed9995a319bf60e68846 | 92cebeb0605918661db50b0d4560ecc7f84b72ef | chore(deps): unlock antd-img-crop |
### 🤔 This is a ...
- [ ] ⌨️ Accessibility improvement
- [ ] ❓ Other (about what?)
### 🔗 Related Issues
上游已修复
https://github.com/nanxiaobei/antd-img-crop/issues/317#event-20215399475
### 💡 Background and Solution
> - The specific problem to be addressed.
> - List the final API implementation an... | diff --git a/package.json b/package.json
index 06ae7f0c042f..c10032b79005 100644
--- a/package.json
+++ b/package.json
@@ -225,7 +225,7 @@
"@types/warning": "^3.0.3",
"adm-zip": "^0.5.16",
"ali-oss": "^6.21.0",
- "antd-img-crop": "~4.25.0",
+ "antd-img-crop": "^4.27.0",
"antd-style": "^3.7.1",... | 1 | 1 | 1 | [{"id": "G0", "claim": "The antd-img-crop ^4.27.0 update appears to make the crop-image a11y demo test fail in the unit-test environment, so the author proposes skipping that test there unless someone has a better suggestion.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ant-design__ant-design__55274 | ant-design/ant-design | 55,274 | defect | 6478726841188f50e444ce600759ffac85d2ecad | d70ee53d9f0ea324d82f6bcc4926da5ae0ac3095 | chore: remove unstable api for React 19 compitable | | Language | Changelog |
| ---------- | --------- |
| 🇺🇸 English | v6 本身支持 React 19,无需兼容 |
| 🇨🇳 Chinese | v6 本身支持 React 19,无需兼容 | | diff --git a/components/__tests__/__snapshots__/index.test.ts.snap b/components/__tests__/__snapshots__/index.test.ts.snap
index 75e5d985b73e..24753185e630 100644
--- a/components/__tests__/__snapshots__/index.test.ts.snap
+++ b/components/__tests__/__snapshots__/index.test.ts.snap
@@ -74,7 +74,6 @@ exports[`antd expor... | 1 | 1 | 1 | [{"id": "G0", "claim": "In components/modal/confirm.tsx the unmount function requires the container element as an argument, and calling unmount() without it will cause a runtime error that prevents modals from being destroyed correctly; the container created earlier should be passed.", "category": "correctness", "verdi... | null |
ant-design__ant-design__55313 | ant-design/ant-design | 55,313 | defect | 95bca1cf70b8cfe295e6e3f96dfc97ccb3ec98ab | 312dcf69aa74ef64a53d6986727fce35bb30ce0c | type: resolve gemini-code-assist review comment | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/config-provider/context.ts b/components/config-provider/context.ts
index 6545fab49ec9..736e8193a5b3 100644
--- a/components/config-provider/context.ts
+++ b/components/config-provider/context.ts
@@ -39,8 +39,8 @@ import type { TooltipProps } from '../tooltip';
import type { TourProps } from '..... | 1 | 1 | 1 | [{"id": "G0", "claim": "In the Image test, the new fallback `|| document.body` makes the assertion unable to fail when the `.container` element is missing (the test would incorrectly pass), so the test should use a non-null assertion `document.querySelector<HTMLDivElement>('.container')!` to strictly check the popup re... | null |
ant-design__ant-design__55323 | ant-design/ant-design | 55,323 | defect | 129b4d6e6f417e321a42ec0e5f886fbb2528e6c0 | bb21a2dfa6a3209dede58fb8b3f0ec663f9c5d23 | chore: sync master into feature |
### 🤔 This is a ...
- [ ] ❓ Other (about what?)
### 🔗 Related Issues
> - Describe the source of related requirements, such as links to relevant issue discussions.
> - For example: close #xxxx, fix #xxxx
### 💡 Background and Solution
刚好放 next 试试 agent.md
> - The specific problem to be addressed... | diff --git a/AGENTS.md b/AGENTS.md
index ac6a962cbc77..032c56f6df22 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -276,6 +276,20 @@ export function TestComp(props) {
- 新的属性需要声明可用的版本号
- 属性命名符合 antd 的 API 命名规则
+### 文档锚点 ID 规范
+
+- 针对 Markdown 文件中的标题(# 到 ######)自动生成锚点 ID
+ - 所有中文标题(H1-H6)必须手动指定一个简洁、有意义的英文锚点。
+ - 格式: ## ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Disabling many newly-failing lint rules (especially the react-hooks ones) to upgrade @antfu/eslint-config to v6 may mask potential performance issues or bugs, so a follow-up issue should be created to track the disabled rules and they should be gradually fixed and re-enabled in later PRs.", "cat... | null |
ant-design__ant-design__55697 | ant-design/ant-design | 55,697 | defect | 2f0474bfd96577e3a4aadf6f8e280b1c5f641b60 | ea8b948574fdf78a814470140a28565bba4de24f | fix(drawer): improve accessibility (aria-labelledby) | ### 🤔 This is a ...
- [ ] 🆕 New feature
- [ ] 🐞 Bug fix
- [ ] 📝 Site / documentation improvement
- [ ] 📽️ Demo improvement
- [ ] 💄 Component style improvement
- [ ] 🤖 TypeScript definition improvement
- [ ] 📦 Bundle size optimization
- [ ] ⚡️ Performance optimization
- [ ] ⭐️ Feature enhancement
- [... | diff --git a/components/drawer/DrawerPanel.tsx b/components/drawer/DrawerPanel.tsx
index dcc402370d34..e2ebf9364041 100644
--- a/components/drawer/DrawerPanel.tsx
+++ b/components/drawer/DrawerPanel.tsx
@@ -21,7 +21,7 @@ export interface DrawerStyles extends NonNullable<RCDrawerProps['styles']> {
export interface Dr... | 5 | 3 | 1 | [{"id": "G0", "claim": "Calling React.useId() directly breaks on React 16/17, where it does not exist and throws \"useId is not a function\" in production, taking the Drawer down; the existing rc-util/lib/hooks/useId wrapper should be used instead.", "category": "correctness", "verdict": "supported", "priority": "P0", ... | null |
ant-design__ant-design__55814 | ant-design/ant-design | 55,814 | defect | 7c278a32bf1d7a4df51c830a12df955dc4610544 | 4e9eb8439cc646140e24e3dbde54042052da9918 | fix(Anchor): resolve scroll animation conflict when clicking links ra… | <!--
首先,感谢你的贡献!😄
新特性请提交至 feature 分支,其余可提交至 master 分支。
在维护者审核通过后会合并。
请确保填写以下 pull request 的信息,谢谢!~
-->
[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md?plain=1)
### 🤔 这个变动的性质是?
- [ ] 🆕 新特性提交
- [x] 🐞 Bug 修复
- [ ] 📝 站点、文档改进
- [ ] 📽️ 演示... | diff --git a/components/_util/scrollTo.ts b/components/_util/scrollTo.ts
index 7da9e5920363..5ebc1edd70d7 100644
--- a/components/_util/scrollTo.ts
+++ b/components/_util/scrollTo.ts
@@ -18,6 +18,8 @@ export default function scrollTo(y: number, options: ScrollToOptions = {}) {
const scrollTop = getScroll(container);... | 6 | 4 | 3 | [{"id": "G0", "claim": "The scrollRequestId ref's generic type (() => void) does not match its null initial value, which causes a TypeScript type error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Cancelling the running animation and then returni... | null |
ant-design__ant-design__55985 | ant-design/ant-design | 55,985 | defect | fd79fd4de5761aa6958e14062771a057ce00d625 | 65f129bf79b84180bda2ea5b95eb72a0294e227f | fix(drawer): support closable placement configuration from ConfigProvider | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/drawer/DrawerPanel.tsx b/components/drawer/DrawerPanel.tsx
index 06223a18f029..daf318201da9 100644
--- a/components/drawer/DrawerPanel.tsx
+++ b/components/drawer/DrawerPanel.tsx
@@ -81,7 +81,11 @@ const DrawerPanel: React.FC<DrawerPanelProps> = (props) => {
const drawerContext = useCompone... | 5 | 4 | 2 | [{"id": "G0", "claim": "The `typeof mergedClosableVal === 'object'` check is also true for null, so a null merged closable value could throw a TypeError when reading `placement`; add an explicit null check.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai... | null |
ant-design__ant-design__56001 | ant-design/ant-design | 56,001 | defect | f9f21e4197f236217c99728c4c5230bfcb6dd46b | 8df2e5a03e4d94410c416a46ca8a9d3243fafe05 | fix: prevent OTP from allowing input to skip over empty slots | ### 🤔 This is a ...
- [x] 🐞 Bug fix
- [x] ⌨️ Accessibility improvement
### 🔗 Related Issues
- fix #55662
### 💡 Background and Solution
> - The specific problem to be addressed.
> - List the final API implementation and usage if needed.
> - If there are UI/interaction changes, consider providing s... | diff --git a/components/input/OTP/OTPInput.tsx b/components/input/OTP/OTPInput.tsx
index aecc3d406921..ddc4eee50b2d 100644
--- a/components/input/OTP/OTPInput.tsx
+++ b/components/input/OTP/OTPInput.tsx
@@ -40,6 +40,11 @@ const OTPInput = React.forwardRef<InputRef, OTPInputProps>((props, ref) => {
});
};
+ c... | 5 | 3 | 1 | [{"id": "G0", "claim": "The programmatic refs.current[nextActiveIndex]?.focus() call inside onInputFocus should be wrapped with internalFocusRef.current so the handler does not re-run its own logic on the internal focus event.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced... | null |
ant-design__ant-design__56025 | ant-design/ant-design | 56,025 | defect | 070ba779b7bb63ba1c618d2999ce44a12a476f36 | a2dce5725cf1a42f44af4c36143e15b0f74afb74 | fix: Splitter ptg not fully cover | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/splitter/__tests__/size.test.tsx b/components/splitter/__tests__/size.test.tsx
index ddec908cd360..6b73fc360668 100644
--- a/components/splitter/__tests__/size.test.tsx
+++ b/components/splitter/__tests__/size.test.tsx
@@ -74,4 +74,21 @@ describe('useSizes', () => {
// In impossible case, s... | 3 | 1 | 1 | [{"id": "G0", "claim": "The new scaling logic divides by currentTotalPtg without a zero guard, so when every panel size is defined as 0 the scale becomes Infinity and the sizes become NaN, which will likely break rendering; the currentTotalPtg === 0 case should be handled separately by distributing the space equally.",... | null |
ant-design__ant-design__56036 | ant-design/ant-design | 56,036 | defect | ca5817ac33c8b6e243560100271319b2f34fdbe3 | 19d5a673adbfa5928596f893c4a5f35798e3f7c6 | refactor: replace rc-virtual-list with @rc-component/virtual-list | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/list/demo/virtual-list.md b/components/list/demo/virtual-list.md
index de973aff321e..1bca527575be 100644
--- a/components/list/demo/virtual-list.md
+++ b/components/list/demo/virtual-list.md
@@ -1,7 +1,7 @@
## zh-CN
-结合 [rc-virtual-list](https://github.com/react-component/virtual-list) 实现滚动加载... | 2 | 2 | 2 | [{"id": "G0", "claim": "Since @rc-component/virtual-list is directly imported in demo and test files, it should be declared explicitly as a devDependency — the removed rc-virtual-list's replacement was not added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",... | null |
ant-design__ant-design__56093 | ant-design/ant-design | 56,093 | defect | 09d9a9239873bd7c36f093f517a7849d41ce5749 | df1088e3886c13bb0f88638c1884fafbf790d5c8 | fix(Transfer): Prioritize using the disabled property of the Transfer component | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/transfer/ListBody.tsx b/components/transfer/ListBody.tsx
index 46aa0c7a2550..8966e7a47f73 100644
--- a/components/transfer/ListBody.tsx
+++ b/components/transfer/ListBody.tsx
@@ -137,7 +137,7 @@ const TransferListBody: React.ForwardRefRenderFunction<
onClick={onInternalClick}
... | 3 | 2 | 2 | [{"id": "G0", "claim": "The nullish-coalescing fix is applied only to the Checkbox while the disabled class, remove button and click handler in ListItem still use `||` and ListBody pre-merges the value with `??`, so when the Transfer sets disabled={false} but item.disabled is true the checkbox is enabled while the item... | null |
ant-design__ant-design__56165 | ant-design/ant-design | 56,165 | defect | 6caff180c5a5f07887d138cfe7b3886c7ff6ba48 | ea5597eb694608786493ec84eeba45aecd70b0e2 | fix(result): pass through data-* and aria-* attributes to root element | ### 🤔 This is a ...
- [ ] 🆕 New feature
- [x] 🐞 Bug fix
- [ ] 📝 Site / documentation improvement
- [ ] 📽️ Demo improvement
- [ ] 💄 Component style improvement
- [ ] 🤖 TypeScript definition improvement
- [ ] 📦 Bundle size optimization
- [ ] ⚡️ Performance optimization
- [ ] ⭐️ Feature enhancement
- [... | diff --git a/components/result/__tests__/index.test.tsx b/components/result/__tests__/index.test.tsx
index a327f5fd4832..f7c42874cb0b 100644
--- a/components/result/__tests__/index.test.tsx
+++ b/components/result/__tests__/index.test.tsx
@@ -75,4 +75,33 @@ describe('Result', () => {
const { container: container2 ... | 3 | 3 | 1 | [{"id": "G0", "claim": "The ResultProps interface has not been extended to allow data-* and aria-* attributes, so TypeScript users passing these props to Result will get type errors.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The data-* attribut... | null |
ant-design__ant-design__56217 | ant-design/ant-design | 56,217 | defect | 34b32bb389c19234342ea40a8ecc2ce96cc899b7 | a7e13e9467382a169c51620e86ab59da26dc205a | fix(V5): Splitter ptg not fully cover | ### 🤔 This is a ...
- [ ] 🆕 New feature
- [ ] 🐞 Bug fix
- [X] 📝 Site / documentation improvement
- [ ] 📽️ Demo improvement
- [ ] 💄 Component style improvement
- [ ] 🤖 TypeScript definition improvement
- [ ] 📦 Bundle size optimization
- [ ] ⚡️ Performance optimization
- [ ] ⭐️ Feature enhancement
- [... | diff --git a/components/splitter/__tests__/size.test.tsx b/components/splitter/__tests__/size.test.tsx
index ddec908cd360..343bfcfa01b6 100644
--- a/components/splitter/__tests__/size.test.tsx
+++ b/components/splitter/__tests__/size.test.tsx
@@ -74,4 +74,37 @@ describe('useSizes', () => {
// In impossible case, s... | 3 | 1 | 1 | [{"id": "G0", "claim": "A changelog entry should be added for this pull request, which afc163 said he had just merged without one.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test name `should average if size total is not 100%` is misleadin... | null |
ant-design__ant-design__56322 | ant-design/ant-design | 56,322 | defect | b3854ca61409fc61aea55cecc6ae7b5f4b279f48 | 10ed490a0363f00fb6fb671ad88f4e172e7f49a2 | fix: add missing Select semantic names | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/select/__tests__/semantic.test.tsx b/components/select/__tests__/semantic.test.tsx
index 37dbd962b4a8..c4cfc28d9a87 100644
--- a/components/select/__tests__/semantic.test.tsx
+++ b/components/select/__tests__/semantic.test.tsx
@@ -1,7 +1,7 @@
import * as React from 'react';
import Select fro... | 2 | 1 | 1 | [{"id": "G0", "claim": "The newly added item, itemContent and itemRemove semantic names are not covered by any test, and a test case (typically a multiple select asserting these classes on the selected item tags) should be added to ensure the classNames are applied and prevent regressions.", "category": "testing", "ver... | null |
ant-design__ant-design__56463 | ant-design/ant-design | 56,463 | defect | 7e2f8ce1f0a6fd1eab1c637aadd901fe9786a39f | 7c014b3d7c00c7de3a2a5f6bb27399e6c2bb8d9e | feat: Drawer support focusable | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/drawer/__tests__/Drawer.test.tsx b/components/drawer/__tests__/Drawer.test.tsx
index 229e78a4c30c..e293de4270e0 100644
--- a/components/drawer/__tests__/Drawer.test.tsx
+++ b/components/drawer/__tests__/Drawer.test.tsx
@@ -507,6 +507,27 @@ describe('Drawer', () => {
expect(container.querySe... | 2 | 1 | 1 | [{"id": "G0", "claim": "Spreading a possibly-undefined `focusable` is fragile and can throw a TypeError where object spread is natively supported, so the code should guard it with a `...(focusable || {})` fallback.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
ant-design__ant-design__56579 | ant-design/ant-design | 56,579 | defect | 68934024698868d6b0c962d5bdc1436832283677 | fdc187dc52c807398ea016f37f01ddb74ad04e15 | feat(Splitter): Support onDraggerDoubleClick | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/splitter/SplitBar.tsx b/components/splitter/SplitBar.tsx
index 2670f0f7b28e..cb9d99ffd675 100644
--- a/components/splitter/SplitBar.tsx
+++ b/components/splitter/SplitBar.tsx
@@ -1,4 +1,4 @@
-import React, { useState } from 'react';
+import React, { useRef, useState } from 'react';
import DownO... | 4 | 3 | 2 | [{"id": "G0", "claim": "The magic number `300` should be extracted into a named constant like DOUBLE_CLICK_TIME_GAP for readability and maintainability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The double-click feature should also support ... | null |
ant-design__ant-design__56674 | ant-design/ant-design | 56,674 | defect | 10d2f753f715e4f70fba352d572f34431cccaf80 | 5fba5e0ceaf08186dc4a9b6c5c688fdf8a0b389c | feat(Input.OTP): add autoComplete prop support | ## Summary
- Add `autoComplete` prop to `Input.OTP` component to support browser/password manager OTP autofill
- This enables Safari and other password managers to autofill OTP codes when `autoComplete="one-time-code"` is set
## Usage
```tsx
<Input.OTP length={6} autoFocus autoComplete="one-time-code" />
```
... | diff --git a/components/input/OTP/index.tsx b/components/input/OTP/index.tsx
index 112dcf5a7cdc..f45d4d963f94 100644
--- a/components/input/OTP/index.tsx
+++ b/components/input/OTP/index.tsx
@@ -68,6 +68,8 @@ export interface OTPProps
type?: React.HTMLInputTypeAttribute;
+ autoComplete?: string;
+
onInput?: ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new autoComplete test only verifies that the first input element receives the prop, and should instead iterate over all inputs of the OTP component and assert the attribute is present on each of them.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
ant-design__ant-design__56752 | ant-design/ant-design | 56,752 | defect | c880c2e806539671d2c9e2b188ae43ca3cc4551b | 2d6dc9e682dfc53571d64d393d8254368820da25 | fix(ColorPicker): restrict HEX input to valid hex characters | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/color-picker/__tests__/components.test.tsx b/components/color-picker/__tests__/components.test.tsx
index e49b693fd30d..35164d566bf0 100644
--- a/components/color-picker/__tests__/components.test.tsx
+++ b/components/color-picker/__tests__/components.test.tsx
@@ -149,7 +149,7 @@ describe('ColorPi... | 2 | 1 | 1 | [{"id": "G0", "claim": "Add a separate test case covering mixed valid and invalid hex characters (e.g. input 'ff_00_gg' should result in 'ff00') to make the test suite more robust against future regressions.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
ant-design__ant-design__56886 | ant-design/ant-design | 56,886 | defect | c7b3b38cbddcaa62e904522d8c7674e220e0e15f | 038759b7ee895033e5af59cb34d05981b5600658 | chore: sync master into feature |
### 🤔 This is a ...
- [ ] ❓ Other (about what?)
### 🔗 Related Issues
> - Describe the source of related requirements, such as links to relevant issue discussions.
> - For example: close #xxxx, fix #xxxx
### 💡 Background and Solution
> - The specific problem to be addressed.
> - List the final AP... | diff --git a/.jest.image.js b/.jest.image.js
index 78191c45d46e..8038d666d877 100644
--- a/.jest.image.js
+++ b/.jest.image.js
@@ -1,13 +1,11 @@
const { moduleNameMapper, transformIgnorePatterns } = require('./.jest');
-// jest config for image snapshots
module.exports = {
setupFiles: ['./tests/setup.ts'],
mo... | 2 | 1 | 1 | [{"id": "G0", "claim": "For consistency with the other Jest configuration files updated in this PR, the TypeScript and JavaScript transformers in .jest.js should be combined into a single regular expression, since the current regex '\\.(m?)js(m)?$' is ambiguous and could match unintended file extensions.", "category": ... | null |
ant-design__ant-design__56915 | ant-design/ant-design | 56,915 | defect | e93868198bc05e99f55706bdfbf62d491753a60e | b31dbdd27e685d72c4c5b00ba9424cec8fbba1d4 | feat: Space.Addon supprot design token | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/config-provider/__tests__/theme.test.tsx b/components/config-provider/__tests__/theme.test.tsx
index 042ef37cb9ea..414331423805 100644
--- a/components/config-provider/__tests__/theme.test.tsx
+++ b/components/config-provider/__tests__/theme.test.tsx
@@ -2,7 +2,7 @@ import React, { useEffect } f... | 1 | 1 | 0 | [{"id": "G0", "claim": "The AddonToken interface exported from components/space/style/token.ts appears to be unused (genSpaceAddonStyle uses its own local AddonToken) and can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ant-design__ant-design__57028 | ant-design/ant-design | 57,028 | defect | 4131b4d08ebf92c627d807202207d652ad2ab79d | ee9a4555d2aebb3b43acae28ab52740fed73e86a | chore: revert "bump jsdom" | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/tests/setupAfterEnv.ts b/tests/setupAfterEnv.ts
index 2a3ec7d0afac..e0eb598bd989 100644
--- a/tests/setupAfterEnv.ts
+++ b/tests/setupAfterEnv.ts
@@ -1,6 +1,7 @@
import '@testing-library/jest-dom';
import { toHaveNoViolations } from 'jest-axe';
+import { JSDOM } from 'jsdom';
import format, { plugins ... | 4 | 2 | 1 | [{"id": "G0", "claim": "For readability and potential performance, pass the HTML string directly to the JSDOM constructor instead of creating an empty document and populating it via innerHTML.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Becau... | null |
ant-design__ant-design__57048 | ant-design/ant-design | 57,048 | defect | decf297691161283cca4149d06d3ba7286129b57 | 165b005abcc93a0cd748cd68df1c31d4e837d9c5 | type: add KeyboardEvent support to Modal onCancel type | ### 🤔 This is a ...
- [ ] 🆕 New feature
- [ ] 🐞 Bug fix
- [ ] 📝 Site / documentation improvement
- [ ] 📽️ Demo improvement
- [ ] 💄 Component style improvement
- [x] 🤖 TypeScript definition improvement
- [ ] 📦 Bundle size optimization
- [ ] ⚡️ Performance optimization
- [ ] ⭐️ Feature enhancement
- [ ] 🌐 Inter... | diff --git a/components/config-provider/demo/direction.tsx b/components/config-provider/demo/direction.tsx
index 4660bec69d60..b31b1e6c6c0a 100644
--- a/components/config-provider/demo/direction.tsx
+++ b/components/config-provider/demo/direction.tsx
@@ -136,13 +136,11 @@ const Page: React.FC<{ placement: Placement }> ... | 2 | 1 | 1 | [{"id": "G0", "claim": "Passing the widened onCancel (which also accepts KeyboardEvent) through context as a button's onClick handler will likely cause a TypeScript type error, so it should be wrapped in a MouseEventHandler-compatible function in the Footer component.", "category": "correctness", "verdict": "opposed", ... | null |
ant-design__ant-design__57217 | ant-design/ant-design | 57,217 | defect | ffc31bfe6e68ddfe1bb5527663b3c38003aca708 | 8b5956cf33d34dd19b6bae15c2fe78320dbae85e | refactor: reuse toList | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/_util/__tests__/util.test.tsx b/components/_util/__tests__/util.test.tsx
index 3cd64cfd9869..ee13760c1dc6 100644
--- a/components/_util/__tests__/util.test.tsx
+++ b/components/_util/__tests__/util.test.tsx
@@ -75,8 +75,10 @@ describe('Test utils function', () => {
it('toList should work', ... | 5 | 2 | 1 | [{"id": "G0", "claim": "The `return [false, false] as [T, T]` type assertion is too specific and type-unsafe for the generic `toList` (the type system would believe a wrong `T`); it should be `as T[]` for clarity and consistency, as the replaced implementation used.", "category": "correctness", "verdict": "supported", ... | null |
ant-design__ant-design__57314 | ant-design/ant-design | 57,314 | defect | 5dcef5e92c0d6227243601970da8a6dd5233bcba | 3771adcd911a0acf013f6ea5f601ce3c35101cc3 | feat(ConfigProvider): support focusable for Modal and Drawer | ### 🤔 这个变动的性质是?
- [x] 🆕 新特性提交
- [ ] 🐞 Bug 修复
- [ ] 📝 站点、文档改进
- [ ] 📽️ 演示代码改进
- [ ] 💄 组件样式/交互改进
- [ ] 🤖 TypeScript 定义更新
- [ ] 📦 包体积优化
- [ ] ⚡️ 性能优化
- [ ] ⭐️ 功能增强
- [ ] 🌐 国际化改进
- [ ] 🛠 重构
- [ ] 🎨 代码风格优化
- [ ] ✅ 测试用例
- [ ] 🔀 分支合并
- [ ] ⏩ 工作流程
- [ ] ⌨️ 无障碍改进
- [ ] ❓ 其他改动(是关于什么的改动?)
### 🔗 相关 Issue
(无则留空)
##... | diff --git a/components/config-provider/context.ts b/components/config-provider/context.ts
index 868da57e9920..50c93f3b992a 100644
--- a/components/config-provider/context.ts
+++ b/components/config-provider/context.ts
@@ -216,6 +216,7 @@ export type ModalConfig = ComponentStyleConfig &
| 'okButtonProps'
| 'c... | 1 | 1 | 1 | [{"id": "G0", "claim": "The third argument of useFocusable in components/modal/Modal.tsx needlessly adds `contextFocusable?.focusTriggerAfterClose`, which as a fallback is already covered by the merged first argument and which lets the ConfigProvider's modal.focusable.focusTriggerAfterClose override the component-level... | null |
ant-design__ant-design__57318 | ant-design/ant-design | 57,318 | defect | a852fb7dcedcdf7ff53d12c6a7d0ad771f2653b5 | 1703d22e2c503572987ca3dfb83d7fcda335417c | fix(ConfigProvider): unwrap nested default locale object caused by bu… | …ndler interop
<!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merge... | diff --git a/components/config-provider/__tests__/locale.test.tsx b/components/config-provider/__tests__/locale.test.tsx
index 981a22e2500d..2365eca64e42 100644
--- a/components/config-provider/__tests__/locale.test.tsx
+++ b/components/config-provider/__tests__/locale.test.tsx
@@ -115,6 +115,25 @@ describe('ConfigProv... | 5 | 1 | 1 | [{"id": "G0", "claim": "The locale-unwrapping logic in the useMemo could be simplified with optional chaining to make it more concise and easier to read while keeping the same behavior.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The unwrappi... | null |
ant-design__ant-design__57328 | ant-design/ant-design | 57,328 | defect | e703cb131eb208a7cd697eb5503955a5e4314e29 | d23f086cc5ad67a66f9d8452c6ff2f91dcad6612 | feat(Input.TextArea): support allowClear.disabled | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/input/TextArea.tsx b/components/input/TextArea.tsx
index 51a4f06aa1c6..5e7f338b4d4d 100644
--- a/components/input/TextArea.tsx
+++ b/components/input/TextArea.tsx
@@ -7,7 +7,7 @@ import type {
import RcTextArea from '@rc-component/textarea';
import { clsx } from 'clsx';
-import getAllowClear... | 2 | 1 | 1 | [{"id": "G0", "claim": "Although the PR description marks the test-case checkbox, no tests were added to verify the new allowClear.disabled behaviour, and corresponding tests should be added.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The demo for t... | null |
ant-design__ant-design__57430 | ant-design/ant-design | 57,430 | defect | 6dde4bb8a2b5eb1dc2a10642e03fe69d42deca37 | 51d7971420b7523a24e5a52ddd4942d914cd7e3d | feat: support itemContent semantic for Calendar | ### 🤔 这个变动的性质是?
- [x] ⭐️ 功能增强
- [x] ✅ 测试用例
### 🔗 相关 Issue
close #47273
### 💡 需求背景和解决方案
为 Calendar 组件新增 `itemDateContent` 语义类型,支持对日历单元格内的自定义内容区域(`dateCellRender` / `monthCellRender` 的容器)进行样式控制,包括 classNames 和 styles。
**新增 API:**
- `classNames.itemDateContent`: 自定义类名
- `styles.it... | diff --git a/components/calendar/__tests__/__snapshots__/demo-semantic.test.tsx.snap b/components/calendar/__tests__/__snapshots__/demo-semantic.test.tsx.snap
index db834a051347..e05c1994771e 100644
--- a/components/calendar/__tests__/__snapshots__/demo-semantic.test.tsx.snap
+++ b/components/calendar/__tests__/__snaps... | 6 | 4 | 4 | [{"id": "G0", "claim": "A similar test case should be added for mode=\"year\" (month panel) to verify that itemDateContent classNames and styles are also applied there, so the monthRender changes are covered.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"... | null |
ant-design__ant-design__57495 | ant-design/ant-design | 57,495 | defect | e433f5c83c916a52658af6b3b97c545ddc7bb15c | c1f709b9db32ac1bdf789ef6494749f73addbf85 | feat(Button,Tag): support default colors for solid variants | ### 🤔 这个变动的性质是?
- [x] 🆕 新特性提交
- [ ] 🐞 Bug 修复
- [ ] 📝 站点、文档改进
- [ ] 📽️ 演示代码改进
- [ ] 💄 组件样式/交互改进
- [ ] 🤖 TypeScript 定义更新
- [ ] 📦 包体积优化
- [ ] ⚡️ 性能优化
- [ ] ⭐️ 功能增强
- [ ] 🌐 国际化改进
- [ ] 🛠 重构
- [ ] 🎨 代码风格优化
- [ ] ✅ 测试用例
- [ ] 🔀 分支合并
- [ ] ⏩ 工作流程
- [ ] ⌨️ 无障碍改进
- [ ] ❓ 其他改动(是关于什么的改动?)
### 🔗 相关 Issue
- fix #570... | diff --git a/components/button/Button.tsx b/components/button/Button.tsx
index e7b5c4c671f6..5b61ba31aab6 100644
--- a/components/button/Button.tsx
+++ b/components/button/Button.tsx
@@ -179,6 +179,10 @@ const InternalCompoundedButton = React.forwardRef<
return [color, variant];
}
+ if (variant === 'so... | 3 | 2 | 1 | [{"id": "G0", "claim": "The `variant === 'solid'` fallback runs before the `danger` syntactic-sugar branch, so `<Button danger variant=\"solid\" />` resolves to primary/solid instead of keeping the danger color, regressing the documented danger behavior.", "category": "correctness", "verdict": "supported", "priority": ... | null |
ant-design__ant-design__57516 | ant-design/ant-design | 57,516 | defect | b63d3e1f5ae33f58f412f6fd0343ffa182a3884a | bbc3645bd5f9cd8e66ae76e8ed4a5f1621ba2792 | chore(deps): update dependency @biomejs/biome to v2.4.10 | This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|-... | diff --git a/package.json b/package.json
index 7644edeaadd8..b07f112287db 100644
--- a/package.json
+++ b/package.json
@@ -163,7 +163,7 @@
"@ant-design/x": "^2.2.0",
"@ant-design/x-sdk": "^2.2.0",
"@antfu/eslint-config": "7.7.3",
- "@biomejs/biome": "2.4.9",
+ "@biomejs/biome": "2.4.10",
"@bla... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request's CI is failing with 124 Typography copy test failures that need to be fixed before merge.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
ant-design__ant-design__57521 | ant-design/ant-design | 57,521 | defect | 2b3fa3744c457a43157f5dbfa4d3b9613d762549 | 4fbde97d26fe67815855901a515cbb5b7ec434dd | feat(Anchor): add targetOffset prop for each Anchor.Link | ### 🤔 这个变动的性质是?
- [x] 🆕 新特性提交
### 🔗 相关 Issue
> close #45634
### 💡 需求背景和解决方案
1. **问题背景**:目前 `Anchor` 组件的 `targetOffset` 属性只能全局设置,无法为每个 `Anchor.Link` 设置不同的滚动偏移量。
2. **解决方案**:为 `Anchor.Link` 添加 `targetOffset` 属性,支持为每个链接单独设置滚动偏移量。链接级别的 `targetOffset` 优先级高于全局的 `targetOffset`。
3. **API ... | diff --git a/components/anchor/Anchor.tsx b/components/anchor/Anchor.tsx
index f4babc9c8206..2ed7260a84c7 100644
--- a/components/anchor/Anchor.tsx
+++ b/components/anchor/Anchor.tsx
@@ -117,7 +117,7 @@ export interface AntAnchor {
registerLink: (link: string) => void;
unregisterLink: (link: string) => void;
a... | 2 | 2 | 2 | [{"id": "G0", "claim": "Add a debug demo for the per-link targetOffset change and check that manual scrolling, not just clicking, highlights the corresponding Link.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The active-link calculation still uses on... | null |
ant-design__ant-design__57524 | ant-design/ant-design | 57,524 | defect | dce9f138cb06cc679f889f5d20c0a0c3e5a7d268 | 4415ff14b243e07ec57b4c8a99dd8ecea9fc0082 | type(tests): improve type definitions and enhance focus test utility | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/tests/setupAfterEnv.ts b/tests/setupAfterEnv.ts
index 2a3ec7d0afac..b9c4187a0693 100644
--- a/tests/setupAfterEnv.ts
+++ b/tests/setupAfterEnv.ts
@@ -24,6 +24,8 @@ if (process.env.LIB_DIR === 'dist') {
});
}
+type SnapshotTarget = HTMLElement | DocumentFragment | HTMLCollection | NodeList | Node[];
+... | 6 | 1 | 1 | [{"id": "G0", "claim": "Dropping the `children.length > 1 ? children : children[0]` conditional in the demo snapshot serializer changes the output for demos with a single root element (pretty-format now wraps it in `Array [...]`), causing widespread snapshot churn/failures, so the conditional should be preserved.", "ca... | null |
ant-design__ant-design__57528 | ant-design/ant-design | 57,528 | defect | 2b3fa3744c457a43157f5dbfa4d3b9613d762549 | 6e3c7c3453cc0a341281f741d0d7a5310d0c7e01 | feat(Popconfirm): add icon semantic support | ### 🤔 这个变动的性质是?
- [x] 🆕 新特性提交
### 🔗 相关 Issue
N/A
### 💡 需求背景和解决方案
Popconfirm 原有的 semantic 类型直接复用了 `PopoverSemanticAllType`,缺少 `icon` 语义化插槽。
本次改动:
1. 在 `index.tsx` 中为 Popconfirm 定义独立的 `PopconfirmSemanticType`,新增 `icon` 语义键
2. 在 `PurePanel.tsx` 中为 icon 的 `<span>` 元素应用 `classNames?.icon` 和 `styles?.icon`
3. 更新 `_... | diff --git a/components/popconfirm/PurePanel.tsx b/components/popconfirm/PurePanel.tsx
index dce1a8613145..f5db12de4da7 100644
--- a/components/popconfirm/PurePanel.tsx
+++ b/components/popconfirm/PurePanel.tsx
@@ -2,7 +2,6 @@ import * as React from 'react';
import ExclamationCircleFilled from '@ant-design/icons/Excla... | 1 | 1 | 0 | [{"id": "G0", "claim": "Refactor the semantic type declarations to avoid duplicating an identical copy of Popover's semantic class/style types.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ant-design__ant-design__57545 | ant-design/ant-design | 57,545 | defect | 011bbcc07e7a6d05aae52a7ac0555f5986bf1b48 | 971826970eb2e162ee3e5dcf4769c153c6fc37ee | feat: support column for Table | ### 🤔 这个变动的性质是?
- [x] 🆕 新特性提交
- [ ] 🐞 Bug 修复
- [ ] 📝 站点、文档改进
- [x] 📽️ 演示代码改进
- [ ] 💄 组件样式/交互改进
- [x] 🤖 TypeScript 定义更新
- [ ] 📦 包体积优化
- [ ] ⚡️ 性能优化
- [ ] ⭐️ 功能增强
- [ ] 🌐 国际化改进
- [ ] 🛠 重构
- [ ] 🎨 代码风格优化
- [x] ✅ 测试用例
- [ ] 🔀 分支合并
- [ ] ⏩ 工作流程
- [ ] ⌨️ 无障碍改进
- [ ] ❓ 其他改动(是关于什么的改动?)
### 🔗 ... | diff --git a/components/table/InternalTable.tsx b/components/table/InternalTable.tsx
index acda8a64f748..f016f7172c6c 100644
--- a/components/table/InternalTable.tsx
+++ b/components/table/InternalTable.tsx
@@ -62,6 +62,7 @@ import RcTable from './RcTable';
import RcVirtualTable from './RcTable/VirtualTable';
import ... | 4 | 4 | 2 | [{"id": "G0", "claim": "The merge in fillColumnDefaults uses plain object spread, so a column property explicitly set to undefined overwrites columnDefaults and removes the default value, contradicting the documented behavior that defaults apply when a column property is not defined (e.g. with generated configs like { ... | null |
ant-design__ant-design__57590 | ant-design/ant-design | 57,590 | defect | a3aa5bc3a348df4c3091d0095e2685c140b786b8 | ff2cafde171aaa2e772854e4a985fc39a7aa5482 | fix(Notification): reserve close button spacing for description-only notices | ### 🤔 This is a ...
- [ ] 🆕 New feature
- [x] 🐞 Bug fix
- [ ] 📝 Site / documentation improvement
- [ ] 📽️ Demo improvement
- [x] 💄 Component style improvement
- [ ] 🤖 TypeScript definition improvement
- [ ] 📦 Bundle size optimization
- [ ] ⚡️ Performance optimization
- [ ] ⭐️ Feature enhancement
- [... | diff --git a/components/notification/__tests__/index.test.tsx b/components/notification/__tests__/index.test.tsx
index 7f548d231d1c..1d76bef078d0 100644
--- a/components/notification/__tests__/index.test.tsx
+++ b/components/notification/__tests__/index.test.tsx
@@ -511,6 +511,25 @@ describe('notification', () => {
... | 3 | 2 | 0 | [{"id": "G0", "claim": "The regression test should omit the title property entirely instead of passing title: null, to match the real-world 'omitted title' usage the PR description targets.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An RTL assertion... | null |
ant-design__ant-design__57598 | ant-design/ant-design | 57,598 | defect | 1d36dfec5be5174376fe54f34a7abd1a7a128e38 | 6a5ec22925d258c123a0ac328be9c3d09b769581 | fix(theme): allow string values for heading font size tokens | ### 🤔 This is a ...
- [ ] 🆕 New feature
- [x] 🐞 Bug fix
- [ ] 📝 Site / documentation improvement
- [ ] 📽️ Demo improvement
- [ ] 💄 Component style improvement
- [x] 🤖 TypeScript definition improvement
- [ ] 📦 Bundle size optimization
- [ ] ⚡️ Performance optimization
- [ ] ⭐️ Feature enhancement
- [... | diff --git a/components/theme/interface/maps/font.ts b/components/theme/interface/maps/font.ts
index 40ed00716f09..319bbd909b09 100644
--- a/components/theme/interface/maps/font.ts
+++ b/components/theme/interface/maps/font.ts
@@ -28,7 +28,7 @@ export interface FontMapToken {
* @descEN Font size of h1 tag.
* @d... | 4 | 1 | 1 | [{"id": "G0", "claim": "Result's derived iconFontSize computation must be unit-safe: multiplying the now-string-capable fontSizeHeading3 (M006: token.fontSizeHeading3 * 3; M027: Number(...) * 3) yields NaN for unit strings, and the later token.calc(...) rewrite runs in prepareComponentToken where the token is an AliasT... | null |
ant-design__ant-design__57604 | ant-design/ant-design | 57,604 | defect | c87f6a960d604b2237c24c3cd233cf9286ab11e3 | 447fb7e16b1aa2d5f78ed733a79b49f8bdb4decb | feat(theme): support colorErrorAffix design token | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/date-picker/__tests__/DatePicker.test.tsx b/components/date-picker/__tests__/DatePicker.test.tsx
index 05a04943528e..8b768e057353 100644
--- a/components/date-picker/__tests__/DatePicker.test.tsx
+++ b/components/date-picker/__tests__/DatePicker.test.tsx
@@ -12,7 +12,7 @@ import MockDate from 'm... | 8 | 2 | 0 | [{"id": "G0", "claim": "Extract a shared util and inject the error-affix style through a CSS variable instead of styling the picker prefix/suffix directly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The extracted affix CSS variable appears to be wire... | null |
ant-design__ant-design__57607 | ant-design/ant-design | 57,607 | defect | c87f6a960d604b2237c24c3cd233cf9286ab11e3 | c8dd7ab1d1bd013e1fd9969310b6594e059386f0 | feat: add semantic DOM support for Form help, helpItem and extra | ### 🤔 这个变动的性质是?
- [x] 🆕 新特性提交
- [x] 🤖 TypeScript 定义更新
- [x] ✅ 测试用例
### 🔗 相关 Issue
close #57603
### 💡 需求背景和解决方案
希望为 Form 的错误/帮助文案区域补充可定制的语义化结构,方便开发者单独调整校验信息与额外提示的样式。
本次改动:
- 为 `Form` 的 semantic DOM 新增 `help`、`helpItem` 和 `extra`
- 支持通过 `classNames` / `styles` 自定义帮助信息容器、每条提示/错误/警告文案,以及额外提示容器
- 补充对应的 semantic d... | diff --git a/components/form/ErrorList.tsx b/components/form/ErrorList.tsx
index 2f34e2dd9b34..dfc95a28f1a4 100644
--- a/components/form/ErrorList.tsx
+++ b/components/form/ErrorList.tsx
@@ -6,7 +6,7 @@ import { clsx } from 'clsx';
import isNonNullable from '../_util/isNonNullable';
import initCollapseMotion from '..... | 4 | 1 | 0 | [{"id": "G0", "claim": "meet-student asks the maintainers to check whether the naming (help/helpItem/extra) of the new semantic entries follows the project's naming convention.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "extraDom is still gated... | null |
ant-design__ant-design__57611 | ant-design/ant-design | 57,611 | defect | c87f6a960d604b2237c24c3cd233cf9286ab11e3 | aaec4a50742e8e0d307b325e81d10f2b4a33d568 | feat: support closable for Image preview mask | ### 🤔 这个变动的性质是?
- [x] 🆕 新特性提交
- [x] 📝 站点、文档改进
- [x] ✅ 测试用例
- [ ] 🐞 Bug 修复
- [ ] 📽️ 演示代码改进
- [ ] 💄 组件样式/交互改进
- [ ] 🤖 TypeScript 定义更新
- [ ] 📦 包体积优化
- [ ] ⚡️ 性能优化
- [ ] ⭐️ 功能增强
- [ ] 🌐 国际化改进
- [ ] 🛠 重构
- [ ] 🎨 代码风格优化
- [ ] 🔀 分支合并
- [ ] ⏩ 工作流程
- [ ] ⌨️ 无障碍改进
- [ ] ❓ 其他改动(是关于什么的改动?)
### 🔗 相关 Issue
close #576... | diff --git a/components/config-provider/index.en-US.md b/components/config-provider/index.en-US.md
index 87283eb0d854..f17207caa814 100644
--- a/components/config-provider/index.en-US.md
+++ b/components/config-provider/index.en-US.md
@@ -134,7 +134,7 @@ const {
| floatButton | Set FloatButton common props | { classNa... | 1 | 1 | 1 | [{"id": "G0", "claim": "The merge computes mergedMaskClosable only from mask/context mask and never passes the existing preview.maskClosable into useMergedMask, so callers using preview={{ maskClosable: false }} will silently regress to true unless they migrate to mask.closable.", "category": "correctness", "verdict": ... | null |
ant-design__ant-design__57621 | ant-design/ant-design | 57,621 | defect | 17c69d35b4e96604720e4b8fcfb68abdd451eb4f | 8807fb87688e070bcb14a495e6020273595a9a71 | fix: apply default columnWidth for rowSelection from token | ### 🤔 这个变动的性质是?
- [ ] 🆕 新特性提交
- [x] 🐞 Bug 修复
- [ ] 📝 站点、文档改进
- [ ] 📽️ 演示代码改进
- [ ] 💄 组件样式/交互改进
- [ ] 🤖 TypeScript 定义更新
- [ ] 📦 包体积优化
- [ ] ⚡️ 性能优化
- [ ] ⭐️ 功能增强
- [ ] 🌐 国际化改进
- [ ] 🛠 重构
- [ ] 🎨 代码风格优化
- [x] ✅ 测试用例
- [ ] 🔀 分支合并
- [ ] ⏩ 工作流程
- [ ] ⌨️ 无障碍改进
- [ ] ❓ 其他改动(是关于什么的改动?)
### 🔗 相关 Issue
fix #47533... | diff --git a/components/table/InternalTable.tsx b/components/table/InternalTable.tsx
index b61e83570df5..ae553bcd2f42 100644
--- a/components/table/InternalTable.tsx
+++ b/components/table/InternalTable.tsx
@@ -211,7 +211,7 @@ const InternalTable = <RecordType extends AnyObject = AnyObject>(
dropdownPrefixCls: cus... | 3 | 2 | 2 | [{"id": "G0", "claim": "The test 'should support columnWidth from token and custom columnWidth' only asserts the token default (rowSelection={}) and never covers the branch where an explicit rowSelection.columnWidth overrides the token value, so a test for that priority case should be added.", "category": "testing", "v... | null |
ant-design__ant-design__57706 | ant-design/ant-design | 57,706 | defect | 2878cec7d69ff9b2d45c321f5628f9e267ed4ee2 | 221af89f2182b15f88f0b72533fa448323b1ebdf | feat(DatePicker): support tagRender in multiple mode | ### 🤔 这个变动的性质是?
- [x] 🆕 新特性提交
- [x] 🤖 TypeScript 定义更新
- [x] ✅ 测试用例
### 🔗 相关 Issue
- close #57703
### 💡 需求背景和解决方案
- `@rc-component/picker@1.10.0` 已支持 DatePicker 在 `multiple` 模式下的 `tagRender`。
- 升级 antd 侧依赖并透出 `tagRender`,让使用方可以自定义多选标签内容和移除逻辑。
- 补充 `tagRender` 的运行时与类型测试,并在中英文文档 API 表中补充对应说明。
### 📝 更新日志
| 语言 ... | diff --git a/components/date-picker/__tests__/DatePicker.test.tsx b/components/date-picker/__tests__/DatePicker.test.tsx
index 05a04943528e..a07cf4de0998 100644
--- a/components/date-picker/__tests__/DatePicker.test.tsx
+++ b/components/date-picker/__tests__/DatePicker.test.tsx
@@ -115,6 +115,43 @@ describe('DatePicker... | 3 | 2 | 2 | [{"id": "G0", "claim": "The tagRender row is documented in the shared \"Common API\" table even though it only applies in multiple mode and RangePicker has no multiple mode, so it should be moved out of the shared table to the DatePicker-specific props documentation.", "category": "documentation", "verdict": "supported... | null |
ant-design__ant-design__57811 | ant-design/ant-design | 57,811 | defect | edfae38d8d8064d4245f555074a140ba0d67f628 | 920bb20eaf9c0a24117098c80454cdd968700404 | type: improve component typings | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is filled out.
Your pull requests will be merged after one of the... | diff --git a/components/checkbox/Checkbox.tsx b/components/checkbox/Checkbox.tsx
index e23186435c11..cbfbf728b80c 100644
--- a/components/checkbox/Checkbox.tsx
+++ b/components/checkbox/Checkbox.tsx
@@ -241,7 +241,6 @@ const InternalCheckbox: React.ForwardRefRenderFunction<CheckboxRef, CheckboxProp
onMouseLeav... | 6 | 4 | 0 | [{"id": "G0", "claim": "Casting `val` (typed `unknown`) to `string` for `Number.parseFloat` is unsafe and defeats the purpose of `unknown`; use `String(val)` or type the parameter as `string | number` instead.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
ant-design__cssinjs__22 | ant-design/cssinjs | 22 | defect | 8850d065e6ee399642d69e47922836bbde7dccc6 | 206ec015daf175fbb8308f418fa99635529c2222 | refactor: patch diff hash in dev | 让开发者在开发环境如果复写 hash 样式在生产环境不会生效以协助用户不要去尝试通过覆盖 hash 达到覆盖样式效果。 | diff --git a/src/useCacheToken.tsx b/src/useCacheToken.tsx
index e18552c4..e6ad71a2 100644
--- a/src/useCacheToken.tsx
+++ b/src/useCacheToken.tsx
@@ -7,6 +7,11 @@ import { flattenToken, token2key } from './util';
const EMPTY_OVERRIDE = {};
+// Generate different prefix to make user selector break in production en... | 1 | 1 | 0 | [{"id": "G0", "claim": "The dev-only hash prefix and its test expectation should read 'css-dev-only-do-not-override-' instead of 'css-dev-only-do-not-use-' (the reviewer's suggestion block on the second assertion).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ant-design__cssinjs__67 | ant-design/cssinjs | 67 | defect | 748b61badb400c8ddb0e24fba5a7a457c1447d97 | 419336547bf9174e30449fc86e5634c333d2ed42 | feat: StyleProvider support `transformCSS` to convert with legacy browser | close https://github.com/ant-design/cssinjs/issues/21
```tsx
import legacyLogicalProperties from '@ant-design/cssinjs/lib/transform/legacyLogicalProperties';
export default () => (
<StyleProvider transformCSS={[legacyLogicalProperties]}>
<MyApp />
</StyleProvider>
);
``` | diff --git a/README.md b/README.md
index 76c9f9b0..964cda86 100644
--- a/README.md
+++ b/README.md
@@ -53,6 +53,7 @@ npm start
| hashPriority | Use `:where` selector to reduce hashId css selector priority | `'low' \| 'high'` | `'low'` |
| container | Tell cssinjs where to inject style in. | Element \| ShadowRoot | `d... | 5 | 3 | 0 | [{"id": "G0", "claim": "The README should not direct users to the deep import `@ant-design/cssinjs/lib/transform/legacyLogicalProperties`; the transform should be put in (exported from) the package's main entry instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
ant-design__pro-components__2867 | ant-design/pro-components | 2,867 | defect | a4fe7b689ac36a6ae687a8f1a13be210db036fb8 | e624d53b54aea77b08700440ec23728c9198f580 | fix(table): dateRange render wrong with light mode | fix(table): dateRange render wrong with light mode | diff --git a/packages/utils/src/isDropdownValueType/index.ts b/packages/utils/src/isDropdownValueType/index.ts
index e4ec5b219d83..458a4c19b21a 100644
--- a/packages/utils/src/isDropdownValueType/index.ts
+++ b/packages/utils/src/isDropdownValueType/index.ts
@@ -1,6 +1,11 @@
const isDropdownValueType = (valueType: str... | 2 | 1 | 0 | [{"id": "G0", "claim": "Apply the reviewer's suggested line `valueType.indexOf('Range') < 0) ||` at line 6 of packages/utils/src/isDropdownValueType/index.ts.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The date/Range detection is written in ... | null |
ant-design__pro-components__3702 | ant-design/pro-components | 3,702 | defect | d7aac4fbfe937a013d05925931c7f1638d4379f9 | 9c81df44c5a63f3d56aa352a06f72fef17d30db1 | feat: PageContainer 的loading属性支持传输自定义元素方式自定义loading | - PageContainer的loading支持自定义loading
- 当loading中传入ReactNode时,使用自定义loading,传入false则隐藏loading,配置示例如下:
```tsx
const App = () => {
const loadingDom = useMemo(
() => (
<div id="customLoading" style={{ color: 'red', padding: '30px', textAlign: 'center' }}>
自定义加载...
</div>
),
[],
... | diff --git a/packages/layout/src/components/PageContainer/demos/loading.tsx b/packages/layout/src/components/PageContainer/demos/loading.tsx
index c00e07717649..ce916c68530f 100644
--- a/packages/layout/src/components/PageContainer/demos/loading.tsx
+++ b/packages/layout/src/components/PageContainer/demos/loading.tsx
@... | 2 | 2 | 1 | [{"id": "G0", "claim": "The tuple API design for the loading prop feels awkward and prevents performance optimization; use a plain ReactNode instead — false turns loading off and a DOM element is used as the loading UI.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
ant-design__pro-components__3822 | ant-design/pro-components | 3,822 | defect | 2e535dc2dc762ab1b670594832c60e5c8218ba69 | 6aee757c828b5d653da81a8ff4437152b429765f | 🐛 fix(form): ProSelect filter support filterOption | close #3774 | diff --git a/packages/field/src/components/Select/index.tsx b/packages/field/src/components/Select/index.tsx
index f39cb0b2d744..eeab78d3ac5b 100644
--- a/packages/field/src/components/Select/index.tsx
+++ b/packages/field/src/components/Select/index.tsx
@@ -322,37 +322,40 @@ export const useFieldFetchData = (
rev... | 2 | 2 | 1 | [{"id": "G0", "claim": "The newly added `let resOptions` in useFieldFetchData should not use `let` because it is hard to modify later; it should be turned into a method, and the reviewer adds that useMemo is also a good way to do it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i... | null |
ant-design__pro-components__4055 | ant-design/pro-components | 4,055 | defect | f81e801ad49491100402ad9b817f479baa41f941 | 9d328ae8f36f144aaf7828b58e61c7f6123b616f | feat(form): ProFormList support showItemLabel | @chenshuai2144 看下可不可,不知道这么改合不合适
close #4041 | diff --git a/packages/form/src/components/Group/demos/dependency.tsx b/packages/form/src/components/Group/demos/dependency.tsx
index cf2b9a193bc4..79846da58f17 100644
--- a/packages/form/src/components/Group/demos/dependency.tsx
+++ b/packages/form/src/components/Group/demos/dependency.tsx
@@ -1,5 +1,5 @@
import Reac... | 2 | 2 | 2 | [{"id": "G0", "claim": "Replace the three-value showItemLabel prop ('first' | 'always' | 'hidden') with a plain boolean alwaysShowItemLabel instead of making the API overly complicated.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The demo test snapsho... | null |
ant-design__pro-components__5078 | ant-design/pro-components | 5,078 | defect | f5406b23995fc8c13743f5a59319a244d4cc81ec | 4812a295ac8ff2cd64c3c7bf7a827a8b9ad0814e | feat(form): 提交表单时,禁用取消按钮和右上角关闭按钮,直到onFinish异步回调执行完成 | close: https://github.com/ant-design/pro-components/issues/5040 | diff --git a/packages/form/src/layouts/DrawerForm/index.tsx b/packages/form/src/layouts/DrawerForm/index.tsx
index 31a7e68ffe71..6bb89639a76e 100644
--- a/packages/form/src/layouts/DrawerForm/index.tsx
+++ b/packages/form/src/layouts/DrawerForm/index.tsx
@@ -68,6 +68,7 @@ function DrawerForm<T = Record<string, any>>({
... | 3 | 3 | 2 | [{"id": "G0", "claim": "The change is a breaking change and should add a switch so that the default behaviour stays the same as before.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a timeout configuration for the disabled state: the close button ca... | null |
ant-design__pro-components__7113 | ant-design/pro-components | 7,113 | defect | 7eec4b6c6b37023635b37a00cb00a73aba89f7cb | 5c37409163c40344463fe5de86449328fd48ec3c | fix(table): Edit to make defaultValue become higher priority to reset column setting | ## Background:
When user click reset button on column setting dropDown. `clearClick` function will execute and set column value.
But the reset value can not be controlled.
```
/** 重置项目 */
const clearClick = useRefFunction(() => {
clearPersistenceStorage?.();
setColumnsMap(
columnRef.current |... | diff --git a/packages/layout/src/components/TopNavHeader/index.tsx b/packages/layout/src/components/TopNavHeader/index.tsx
index 96d919f07004..7634d8349c6f 100644
--- a/packages/layout/src/components/TopNavHeader/index.tsx
+++ b/packages/layout/src/components/TopNavHeader/index.tsx
@@ -34,7 +34,7 @@ const TopNavHeader:... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test case covering the changed default (reset) behavior of the column setting, so it becomes the reference going forward.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ant-design__pro-components__8129 | ant-design/pro-components | 8,129 | defect | 01bcc27345d2f11fec8ac5a811353f0147daaa1e | ebe8fde7b85968104d9863ee888abbcba5324523 | fix(field): fieldProps.options not effective in ProFormSegmented | Fixes #8128
| diff --git a/packages/field/src/components/Segmented/index.tsx b/packages/field/src/components/Segmented/index.tsx
index 53449dd868109..e9dffeefd328c 100644
--- a/packages/field/src/components/Segmented/index.tsx
+++ b/packages/field/src/components/Segmented/index.tsx
@@ -20,12 +20,14 @@ const FieldSegmented: ProFieldF... | 1 | 1 | 0 | [{"id": "G0", "claim": "Avoid automated semicolon insertion: the destructuring statement ends without an explicit semicolon.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ant-design__pro-components__8953 | ant-design/pro-components | 8,953 | defect | e34cadcb0368d88b5460cc9c5fc277c1c6f057c7 | fa64640c57b3e469772208138dc99dbe103f67cb | feat(layout): Add drawerProps for SettingDrawer | Add drawerExtra Props makes SettingDrawer support extra | diff --git a/packages/layout/src/components/SettingDrawer/index.tsx b/packages/layout/src/components/SettingDrawer/index.tsx
index 03c2f3aa614c..11203bc35427 100644
--- a/packages/layout/src/components/SettingDrawer/index.tsx
+++ b/packages/layout/src/components/SettingDrawer/index.tsx
@@ -79,6 +79,7 @@ export type Set... | 1 | 1 | 1 | [{"id": "G0", "claim": "Replace the individually forwarded drawer props (drawerExtra, custom closable) with a single drawerProps pass-through prop so consumers can configure the Drawer without per-prop additions.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ant-design__x__1244 | ant-design/x | 1,244 | defect | 81a9665d85783651e66cca29e62f5703f641a905 | 24c5cf15763dedf5a8f1662b7a1dd629ad6e0ad8 | fix: x-sdk requestFallback error | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x-sdk/src/x-request/index.ts b/packages/x-sdk/src/x-request/index.ts
index d2640f5e3..6f530084f 100644
--- a/packages/x-sdk/src/x-request/index.ts
+++ b/packages/x-sdk/src/x-request/index.ts
@@ -1,5 +1,5 @@
import type { AnyObject } from '../_util/type';
-import type { SSEOutput, XReadableStream,... | 4 | 2 | 1 | [{"id": "G0", "claim": "The onError callback, typed to accept an Error object, is passed an object literal { name, message }, violating the type contract and depriving consumers of a real Error instance (e.g. error.stack); additionally the default message 'System is error' is grammatically awkward and should be 'System... | null |
ant-design__x__1261 | ant-design/x | 1,261 | defect | f223e53a349128752f7edf9a220dcad3568bad24 | 4d477ab0f0e3914840bf814174a1fbc76cd80939 | feat: The source reference component implements the current data functionality | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x/components/sources/Sources.tsx b/packages/x/components/sources/Sources.tsx
index 68c8f6f75..2085decfa 100644
--- a/packages/x/components/sources/Sources.tsx
+++ b/packages/x/components/sources/Sources.tsx
@@ -31,15 +31,16 @@ export interface SourcesProps
className?: string;
classNames?: Pa... | 5 | 3 | 1 | [{"id": "G0", "claim": "The `items` prop was made required while the component still renders `children` as an alternative, so `items` should be optional to avoid the breaking, inconsistent API.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The demo's `u... | null |
ant-design__x__1278 | ant-design/x | 1,278 | defect | 3dd5bcf813ca6c1d72bdd7e41627a297f854018f | 0477bda71f1d02aa944885afc5ddcfdf1b7c74a1 | feat: ThoughtChain & Think add blink | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x/components/style/motion.ts b/packages/x/components/style/motion.ts
index 0e0b8e50c..4d8373d16 100644
--- a/packages/x/components/style/motion.ts
+++ b/packages/x/components/style/motion.ts
@@ -1 +1,12 @@
export { genCollapseMotion } from 'antd/es/style/motion';
+export {
+ initMoveMotion,
+ m... | 3 | 3 | 1 | [{"id": "G0", "claim": "The blink animation CSS is implemented incorrectly: for background-clip: text to show the background gradient the text color must be set to transparent, and WebkitBackgroundClip: 'text' should be added for better browser compatibility.", "category": "correctness", "verdict": "supported", "priori... | null |
ant-design__x__1322 | ant-design/x | 1,322 | defect | 8815a871d706ea69f1c76a5b3de327a2faa48f3f | bd500959a8b70e0ef0b3ce25c6bcdf7fea922158 | feat(XMarkdown): cache incomplete table & HTML tokens in useStreaming | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x-markdown/src/XMarkdown/__test__/hooks.test.tsx b/packages/x-markdown/src/XMarkdown/__test__/hooks.test.tsx
index 3a7be58b2..d1bdf734d 100644
--- a/packages/x-markdown/src/XMarkdown/__test__/hooks.test.tsx
+++ b/packages/x-markdown/src/XMarkdown/__test__/hooks.test.tsx
@@ -232,22 +232,6 @@ const ... | 5 | 5 | 5 | [{"id": "G0", "claim": "The table separator regex list includes /^:$/, which is not a valid separator cell under the GFM spec (a separator cell must contain at least one hyphen), so a lone colon could lead to incorrect table detection; the reviewer asks to remove it.", "category": "correctness", "verdict": "supported",... | null |
ant-design__x__1344 | ant-design/x | 1,344 | defect | 637198c40d8bc1cfd54ea507396b394d53243df5 | 0fcef4cd3854f1ffe71bda9cced3c2b1168f95c2 | feat: Replace the operation icons of HighlightCode and Mermaid in XMarkdown |
### 🤔 This is a ...
- [ ] 🆕 New feature
- [ ] 🐞 Bug fix
- [ ] 📝 Site / documentation improvement
- [ ] 📽️ Demo improvement
- [X] 💄 Component style improvement
- [ ] 🤖 TypeScript definition improvement
- [ ] 📦 Bundle size optimization
- [ ] ⚡️ Performance optimization
- [ ] ⭐️ Feature enhancement
... | diff --git a/packages/x-markdown/src/plugins/HighlightCode/index.tsx b/packages/x-markdown/src/plugins/HighlightCode/index.tsx
index 9fabe4428e..0ee39e75e2 100644
--- a/packages/x-markdown/src/plugins/HighlightCode/index.tsx
+++ b/packages/x-markdown/src/plugins/HighlightCode/index.tsx
@@ -1,9 +1,9 @@
-import { CopyOut... | 2 | 2 | 0 | [{"id": "G0", "claim": "The imported default export is named `Acitons` (a typo for `Actions`) in both HighlightCode/index.tsx and Mermaid/index.tsx, and the misspelling also appears at the component usage sites, so it should be corrected to `Actions`.", "category": "maintainability", "verdict": "supported", "priority":... | null |
ant-design__x__1392 | ant-design/x | 1,392 | defect | a95a3a0ac07417c81a276c693050734840033ecc | ba0098c345567a59faee124576f2355fc4a1242f | fix: Bubble.List scroll compatible with safari | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x/components/bubble/BubbleList.tsx b/packages/x/components/bubble/BubbleList.tsx
index c639551fb..c16d051fb 100644
--- a/packages/x/components/bubble/BubbleList.tsx
+++ b/packages/x/components/bubble/BubbleList.tsx
@@ -7,6 +7,7 @@ import { useXProviderContext } from '../x-provider';
import Bubble... | 16 | 7 | 2 | [{"id": "G0", "claim": "handleScroll's useCallback dependency array lists disable instead of dom, which can leave a stale closure referencing a detached DOM node when the element changes; the dependency array should include dom.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced... | null |
ant-design__x__1393 | ant-design/x | 1,393 | defect | 9b946b1c9ab80285d966b92842221380328f582f | a80e8673b8f833087e1567ade24842d69ed3101b | test: fix the test case errors caused by version upgrades | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x/components/actions/__tests__/index.test.tsx b/packages/x/components/actions/__tests__/index.test.tsx
index 53285acf7..c3fdbb6a7 100644
--- a/packages/x/components/actions/__tests__/index.test.tsx
+++ b/packages/x/components/actions/__tests__/index.test.tsx
@@ -202,22 +202,10 @@ describe('Actions... | 5 | 2 | 1 | [{"id": "G0", "claim": "The 'should support click trigger' test was replaced with expect(true).toBe(true), which silently disables its coverage; use it.skip with a follow-up task rather than a silently passing placeholder, or ideally fix the underlying DOM interaction.", "category": "testing", "verdict": "supported", "... | null |
ant-design__x__1544 | ant-design/x | 1,544 | defect | 48d6ed70f7efaf4f124b4c561de92b032af93c17 | 4fe3ce9c8ce29ff0d8111d3e64fe66257b27221a | fix: error handling when querying for microphone permission | [中文版模板 / Chinese template](https://github.com/ant-design/x/blob/master/.github/PULL_REQUEST_TEMPLATE_CN.md?plain=1)
### 🤔 This is a ...
- [ ] 🆕 New feature
- [x] 🐞 Bug fix
- [ ] 📝 Site / documentation improvement
- [ ] 📽️ Demo improvement
- [ ] 💄 Component style improvement
- [ ] 🤖 TypeScript definiti... | diff --git a/packages/x/components/sender/hooks/use-speech.ts b/packages/x/components/sender/hooks/use-speech.ts
index 4c4fc6907..7b3a4d7b9 100644
--- a/packages/x/components/sender/hooks/use-speech.ts
+++ b/packages/x/components/sender/hooks/use-speech.ts
@@ -1,5 +1,6 @@
import { useEvent, useMergedState } from '@rc-... | 1 | 1 | 1 | [{"id": "G0", "claim": "A test should be added to packages/x/components/sender/__tests__/use-speech.test.tsx mocking navigator.permissions.query to reject and asserting that warning is called with the expected message, to cover the new error-handling path and prevent regressions.", "category": "testing", "verdict": "su... | null |
ant-design__x__1562 | ant-design/x | 1,562 | defect | 4b904f6ff306da9232652ea426f5c1cfcf7d3e96 | 9fc23ca287301936a31ec148bd8ccc9016ccb430 | docs: add an infographic demo | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x/docs/x-markdown/components-infographic.en-US.md b/packages/x/docs/x-markdown/components-infographic.en-US.md
new file mode 100644
index 000000000..71237199a
--- /dev/null
+++ b/packages/x/docs/x-markdown/components-infographic.en-US.md
@@ -0,0 +1,14 @@
+---
+group:
+ title: Components
+ order:... | 9 | 3 | 1 | [{"id": "G0", "claim": "The `props` and the `infographicInstance` ref of `ReactInfographic` are typed as `any` and should get concrete types (an interface for props, the `Infographic` instance type for the ref).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
ant-design__x__1608 | ant-design/x | 1,608 | defect | 697894855ab2c9cd5fd5f0d53720717b717b7405 | b1a87d385fc2baeb940f7cf78338c16097bd45e9 | chore: add noUndeclaredDependencies config | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/biome.json b/biome.json
index a0d123229..e7edea40d 100644
--- a/biome.json
+++ b/biome.json
@@ -55,7 +55,8 @@
"correctness": {
"useExhaustiveDependencies": "off",
"useUniqueElementIds": "off",
- "noVoidTypeReturn": "off"
+ "noVoidTypeReturn": "off",
+ "noUndecl... | 2 | 1 | 1 | [{"id": "G0", "claim": "While renaming __test__ directories to __tests__, the new biome.json override include list should also add \"**/__test__/**\" so the configuration is more robust and does not lint files that may be missed during the transition or exist on other branches.", "category": "design", "verdict": "uncer... | null |
ant-design__x__1631 | ant-design/x | 1,631 | defect | 86b380eaca29c76bc300b17f36513136955294a5 | a35a19595c4b725604e6497e1d1dea971423592c | feat(Mermaid): add mermaid.initialize config and headerActions config | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x/components/mermaid/Mermaid.tsx b/packages/x/components/mermaid/Mermaid.tsx
index c7d694b2b..9d79427e4 100644
--- a/packages/x/components/mermaid/Mermaid.tsx
+++ b/packages/x/components/mermaid/Mermaid.tsx
@@ -2,7 +2,7 @@ import { DownloadOutlined, ZoomInOutlined, ZoomOutOutlined } from '@ant-des... | 13 | 6 | 3 | [{"id": "G0", "claim": "The regular expression used to strip trailing backticks and whitespace from untrusted children may run slow (polynomial backtracking, ReDoS risk) on inputs with many repeated characters, as flagged by CodeQL.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduce... | null |
ant-design__x__1668 | ant-design/x | 1,668 | defect | c683f417eb46dee02588323057a57c018b2cac8b | f18da7ab2d0039ca82350ecf94be17ba2dad980a | feat: add support for protecting newlines in custom tags in XMarkdown | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x-markdown/src/XMarkdown/core/Parser.ts b/packages/x-markdown/src/XMarkdown/core/Parser.ts
index ceca03eac..90dac7397 100644
--- a/packages/x-markdown/src/XMarkdown/core/Parser.ts
+++ b/packages/x-markdown/src/XMarkdown/core/Parser.ts
@@ -5,6 +5,8 @@ type ParserOptions = {
markedConfig?: XMarkd... | 3 | 2 | 2 | [{"id": "G0", "claim": "The new tag-parsing logic pushes self-closing tags (e.g. <MyComponent />) onto the stack as open tags with no matching close, which can lead to incorrect parsing and failure to protect newlines in subsequent tags; it should detect self-closing tags and not push them.", "category": "correctness",... | null |
ant-design__x__1687 | ant-design/x | 1,687 | defect | a4a9c80de88c98a15aca47bacf140968a5d501ab | 9671d374c794f4dc718a70e671d19454fb63742f | fix(Sources): fix the issue of Sources Slide | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x/components/sources/components/CarouselCard.tsx b/packages/x/components/sources/components/CarouselCard.tsx
index 44e787a12..13fdb198c 100644
--- a/packages/x/components/sources/components/CarouselCard.tsx
+++ b/packages/x/components/sources/components/CarouselCard.tsx
@@ -1,7 +1,7 @@
import { L... | 2 | 2 | 2 | [{"id": "G0", "claim": "The `slide` state is initialized to 0 but `setSlide` is never called, so the pagination indicator and the disabled state of the navigation buttons will be incorrect after the user navigates the carousel; it should be updated via the Carousel's `afterChange` callback.", "category": "correctness",... | null |
ant-design__x__1714 | ant-design/x | 1,714 | defect | 2dfa7340a3e46166835c23986a76c70097c41174 | fedcd1d28eaa58129c171d152aff0b336435bd8f | feat(x-chat): add XRequestCallbacks ChatMessage | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x-sdk/src/chat-providers/AbstractChatProvider.ts b/packages/x-sdk/src/chat-providers/AbstractChatProvider.ts
index 324dd3c43..c5e064a69 100644
--- a/packages/x-sdk/src/chat-providers/AbstractChatProvider.ts
+++ b/packages/x-sdk/src/chat-providers/AbstractChatProvider.ts
@@ -1,12 +1,13 @@
-import {... | 2 | 2 | 1 | [{"id": "G0", "claim": "The onError wrapper in AbstractChatProvider should accept the responseHeaders argument that XRequestClass can pass and forward it to originalOnError instead of always passing undefined, which loses header information on failures.", "category": "correctness", "verdict": "supported", "priority": "... | null |
ant-design__x__1761 | ant-design/x | 1,761 | defect | 54dd0dab35c3dd2c5c7566f27291c6b5cb9277d9 | d0734934985cc4739f06f2a19836c5983ea88cd9 | feat(useXChat): queueRequest | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x-sdk/src/x-chat/index.ts b/packages/x-sdk/src/x-chat/index.ts
index 7d77e5dda..3c648d5e5 100644
--- a/packages/x-sdk/src/x-chat/index.ts
+++ b/packages/x-sdk/src/x-chat/index.ts
@@ -104,11 +104,14 @@ export default function useXChat<
const requestHandlerRef =
React.useRef<AbstractXRequest... | 7 | 6 | 4 | [{"id": "G0", "claim": "If an onRequest(requestParams) call throws inside the forEach in processMessageQueue, the loop aborts, the remaining queued requests are never sent, but messageQueueRef.current.delete(conversationKey) still runs and silently loses them; wrap each request in try...catch to handle single-request e... | null |
ant-design__x__1808 | ant-design/x | 1,808 | defect | c421c5d8fa1b668db5f50f77460bd29966a11b8a | bd160819e0daa2d581a7a0acd41906a4b207c23b | feat: update Code highlighter title & useMergedState to useControlledState | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/packages/x/components/_util/hooks/use-collapsible.ts b/packages/x/components/_util/hooks/use-collapsible.ts
index 32583a3ce..6a0017860 100644
--- a/packages/x/components/_util/hooks/use-collapsible.ts
+++ b/packages/x/components/_util/hooks/use-collapsible.ts
@@ -1,5 +1,5 @@
import type { CSSMotionProps }... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `useControlledState` import in `use-collapsible.ts` and `Think.tsx` uses the deep `lib/hooks/` path, inconsistent with the rest of the pull request, and should be imported directly from `@rc-component/util` for consistency and potentially better tree-shaking.", "category": "maintainability",... | null |
ant-design__x__278 | ant-design/x | 278 | defect | d6473c0cfc387ada1519f3a31c2ee513b9bb3219 | 02fa30705ef27646de617f72fe4d64bfeda6f78f | docs: add GPT-Vis demo for bubble | 
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **新特性**
- 在 Bubble 组件文档中新增示例代码,展示如何使用 GPT-Vis 渲染图表。
- 在 gpt-vis.md 文件中添加中英文描述,介绍 @antv/GPT-Vis 库的功能。
- 新增 React 组件 gpt-vis.... | diff --git a/components/bubble/demo/chart.md b/components/bubble/demo/chart.md
new file mode 100644
index 000000000..92d2a37d4
--- /dev/null
+++ b/components/bubble/demo/chart.md
@@ -0,0 +1,7 @@
+## zh-CN
+
+配合 `@antv/GPT-Vis` 实现大模型输出的图表渲染。
+
+## en-US
+
+Cooperate with `@antv/GPT-Vis` to achieve customized rendering c... | 13 | 6 | 1 | [{"id": "G0", "claim": "RenderMarkdown has no error handling, so a failing GPTVis render could affect the whole app; add error handling around it.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The @antv/gpt-vis devDependency range ^0.x is too broad... | null |
ant-design__x__298 | ant-design/x | 298 | defect | a12d76eaf2b5d1c4cab09efd7a2ff241f4834b44 | 80ec8c383f8500d1aac1b92991f6aeb1d2862f0e | fix: where the async nature of setMessages prevents updateMessage from accessing the messages in sync | fix: https://github.com/ant-design/x/issues/294
然在 useSyncState 里对 messages 做了实时同步,但 setMessages 为异步更新,极端情况,仍然会导致 getMessages 无法获取最新的 messages
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **新功能**
- 引入了 `useSyncState` 自定义 Hook,支持更灵活的状态管理和更新。
- **测试**... | diff --git a/components/useXChat/index.ts b/components/useXChat/index.ts
index b8dde25bb..692583258 100644
--- a/components/useXChat/index.ts
+++ b/components/useXChat/index.ts
@@ -163,11 +163,9 @@ export default function useXChat<
// Request
let updatingMsgId: number | string | null = null;
const update... | 4 | 1 | 1 | [{"id": "G0", "claim": "The message-creation flow may have a race condition: because setMessages is asynchronous, multiple messages could be created under high concurrency, so setting updatingMsgId before calling setMessages should be considered to avoid inconsistent state.", "category": "correctness", "verdict": "unce... | null |
ant-design__x__319 | ant-design/x | 319 | defect | 5321c19103374c879b7b89eabfdd7d1dc499b64c | 862eace2de6356e9e35fd8f2fc769cff187f9af8 | feat: XStream 返回流同时支持异步迭代 | why?
目前 XStream 返回一个 AsyncGenerator,支持 for await of 异步迭代,
但是实际开发中遇到响应很长中途中断是很常见的需求,此时通过 XStream 无法取消。
如果返回一个 stream 则可以自定义实现取消逻辑,同时通过给 stream 增加.asyncIterator 属性仍然可以支持异步迭代
(想过 polyfill, 一是编码的时候遇到类型问题不想断言,然后觉得毕竟影响比较大,现在这种方式只影响使用 XStream 的 stream)
<!-- This is an auto-generated comment: release notes by coderabbit... | diff --git a/components/x-stream/index.ts b/components/x-stream/index.ts
index 6868ae61e..e5ba424f2 100644
--- a/components/x-stream/index.ts
+++ b/components/x-stream/index.ts
@@ -137,11 +137,15 @@ export interface XStreamOptions<Output> {
transformStream?: TransformStream<string, Output>;
}
+interface XReadable... | 13 | 6 | 4 | [{"id": "G0", "claim": "The async iterator's reader cleanup is wrong: cancel() in the cleanup path can discard unread data and the reader lock is never released, so reader.releaseLock() (plus lock release on error) should be used instead.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "in... | null |
ant-design__x__362 | ant-design/x | 362 | defect | f04a8dd66ccc5f04325c1bea93a0a546d2f88747 | 05a7d6bcdc136ac6b25b8ef3d68b3317ea8a2450 | feat: extend Sender onChange parameter | feature: https://github.com/ant-design/x/issues/338
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **新特性**
- 更新了 `Sender` 组件的 `onChange` 回调,允许接收一个可选的事件参数,增强了事件处理能力。
- **文档**
- 更新了 `SenderProps` API 文档中的 `onChange` 方法签名,反映了新的参数结构。
<!-- end of auto-generated co... | diff --git a/components/sender/__tests__/index.test.tsx b/components/sender/__tests__/index.test.tsx
index 08c1200dc..b1f0d88bc 100644
--- a/components/sender/__tests__/index.test.tsx
+++ b/components/sender/__tests__/index.test.tsx
@@ -82,10 +82,10 @@ describe('Sender Component', () => {
);
fireEvent.chang... | 7 | 3 | 2 | [{"id": "G0", "claim": "The second onChange parameter should be consistently handled across scenarios, using a default value or a more descriptive placeholder than {} in the test assertion.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The e parameter ... | null |
ant-design__x__555 | ant-design/x | 555 | defect | 708568658e8cda807c7f360d5e663a4130855ad4 | cdd6a865a698aa79678edca638e28505fd8137b8 | fix(Attachments): fix Attachments onRemove no work | close https://github.com/ant-design/x/issues/554
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **新增功能**
- 附件组件现支持通过自定义回调控制文件删除。若删除操作不被允许(返回 false),文件将保留在列表中,提升了文件管理的灵活性。
- **测试**
- 添加了自动化测试,确保在禁止删除操作时,文件仍维持在附件列表中。
<!-- end of auto-generated comm... | diff --git a/components/attachments/__tests__/index.test.tsx b/components/attachments/__tests__/index.test.tsx
index dee380450..d399ffa8d 100644
--- a/components/attachments/__tests__/index.test.tsx
+++ b/components/attachments/__tests__/index.test.tsx
@@ -53,6 +53,29 @@ describe('attachments', () => {
expect(onCh... | 4 | 2 | 1 | [{"id": "G0", "claim": "Refactor onItemRemove: the declared-but-uninitialized currentFile variable may cause problems and the if (newFileList) check is redundant because filter always returns an array, so both should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introd... | null |
ant-design__x__630 | ant-design/x | 630 | defect | e3774b9055cbe0d99512ba5d766c9445688a4548 | 024923c1055db43153c4e4ce9d6d57afba0d714f | feat: add conversations's menu trigger | <!--
First of all, thank you for your contribution! 😄
For requesting to pull a new feature or bugfix, please send it from a feature/bugfix branch based on the `master` branch.
Before submitting your pull request, please make sure the checklist below is confirmed.
Your pull requests will be merged after one of the ... | diff --git a/components/conversations/Item.tsx b/components/conversations/Item.tsx
index 7a575c1cb..c86b93676 100644
--- a/components/conversations/Item.tsx
+++ b/components/conversations/Item.tsx
@@ -1,7 +1,7 @@
import { EllipsisOutlined } from '@ant-design/icons';
import { Dropdown, Tooltip, Typography } from 'antd... | 21 | 20 | 1 | [{"id": "G0", "claim": "The `disabled` attribute is applied to `EllipsisOutlined`, a non-interactive element, so it may not have the intended effect and interactivity should be controlled by other means.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
ant-design__x__654 | ant-design/x | 654 | defect | 1a37bb6ccabb20746a19da24e9e2b78a79a35cc8 | bd95e06001256eece184578c39bd29d9d111edb4 | feat: Sender footer content | ### This is a new feature
https://github.com/ant-design/x/discussions/628
> - Describe the source of related requirements, such as links to relevant issue discussions.
> - For example: close #xxxx, fix #xxxx
### Demo Snapshots
... | null |
ant-design__x__824 | ant-design/x | 824 | defect | 116d833fd211c0c8db15df6257524eee04ca0960 | c920165c1d50c4e5a17dfd7e4c79300ef1109ee9 | fix: 修复useActive 中 items 为空数组导致的异常 |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **Bug Fixes**
- 修复了在选项列表为空或无效时可能导致的错误或无效状态更新问题,提升了组件的稳定性。
<!-- end of auto-generated comment: release notes by coderabbit.ai --> | diff --git a/components/suggestion/useActive.ts b/components/suggestion/useActive.ts
index e71a6be6f..fe0f32581 100644
--- a/components/suggestion/useActive.ts
+++ b/components/suggestion/useActive.ts
@@ -117,6 +117,7 @@ export default function useActive(
});
React.useEffect(() => {
+ if(items?.length === 0)... | 2 | 2 | 2 | [{"id": "G0", "claim": "The guard should use `if (!items?.length)` instead of `if(items?.length === 0)` — it is more concise and, unlike the current condition, also returns early when `items` is `undefined`/`null`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2... | null |
ant-media__Ant-Media-Server__1970 | ant-media/Ant-Media-Server | 1,970 | defect | adba9d8023ff4ccccd1f83a6ce3e21da16ea45c4 | 432014cc94ff427a23083ecf73216bc51d7d51d7 | Remove ip address validation | When you enter a nested subdomain such as sub1.sub2.sub3.com while adding a stream source, it cannot pass the check stream url validation because there is a ip address validation. This validation assumes that when there are 4 dots, it is an ip address. However, it might be also a nested subdomain. As a solution, this i... | diff --git a/src/main/java/io/antmedia/rest/RestServiceBase.java b/src/main/java/io/antmedia/rest/RestServiceBase.java
index 2d79d210d0..6af001e67b 100644
--- a/src/main/java/io/antmedia/rest/RestServiceBase.java
+++ b/src/main/java/io/antmedia/rest/RestServiceBase.java
@@ -1022,9 +1022,6 @@ public boolean checkStreamU... | 1 | 1 | 1 | [{"id": "G0", "claim": "With the IP validity check removed, if the host is an IP address that is not valid the server will still try to get the invalid stream source.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.