Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from ant-design:master #228

Closed
wants to merge 127 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Nov 15, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

zombieJ and others added 30 commits October 10, 2023 16:22
* docs: init

* chore: update example

* test: update test

* docs: update doc

* chore: fix lint

* chore: update limit
* feat: add ref

* feat: table support reference

* chore: rename

* chore: proxy

* test: add test case

* chore: fix lint

* docs: update desc

* docs: update desc

* docs: update desc

* chore: clean up

* chore: fix lint
chore: feature merge master
* feat: App support component

* test: update test case

* chore: update ts
* docs: init

* feat: support inherit

* test: update snapshot
* chore: bump rc-input-number

* test: update test case
* chore: bump rc-tabs

* chore: update limit

* chore: fix lint
chore: feature merge master
* fix: dropdown not trigger onOpenChange when click menu item

* chore: add source

* docs: update

* test: update test
* feat: start the implementation of the fullscreen prop in Spin

* docs: change main spin demo

* docs: enhance demo

* test: update snapshot

* fix: address pr comments

* fix: use logical property on fullscreen class

* fix: address pr review

* feat: Added background color token

* fix: remove onClick and change demo

* feat: change spin to white when fullcreen

also use the bgmask as background, removing the bgColor token

* fix: unused import

* test: update snapshot

* Update components/spin/style/index.tsx

Signed-off-by: lijianan <[email protected]>

* fix: use white color from token

* fix: not needed interpolation and version

* fix: address pr review

* fix: tip prop was not working

* test: cover tip & fullscreen case

* fix: addrress pr coments

---------

Signed-off-by: lijianan <[email protected]>
Co-authored-by: lijianan <[email protected]>
Co-authored-by: MadCcc <[email protected]>
* feat: z-index manager

* feat: z-index manager

* feat: update snap

* chore: update site-limit

* feat: optimize code

* feat: optimize code

* feat: add test case

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
chore: merge master into feature
* feat: Popconfirm support z-index manager

* Update components/popconfirm/__tests__/index.test.tsx

Signed-off-by: kiner-tang(文辉) <[email protected]>

---------

Signed-off-by: kiner-tang(文辉) <[email protected]>
* feat: Popover support z-index manager

* feat: update snap

* Update components/popover/__tests__/index.test.tsx

Signed-off-by: kiner-tang(文辉) <[email protected]>

---------

Signed-off-by: kiner-tang(文辉) <[email protected]>
* feat: Tooltip support z-index manager

* feat: optimize code
afc163 and others added 16 commits November 10, 2023 15:03
(cherry picked from commit b21741d)
Bumps [tsx](https:/privatenumber/tsx) from 3.14.0 to 4.1.0.
- [Release notes](https:/privatenumber/tsx/releases)
- [Changelog](https:/privatenumber/tsx/blob/develop/release.config.cjs)
- [Commits](privatenumber/tsx@v3.14.0...v4.1.0)

---
updated-dependencies:
- dependency-name: tsx
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs: update Next.js docs

* Update use-with-next.en-US.md

Signed-off-by: lijianan <[email protected]>

* Update use-with-next.zh-CN.md

Signed-off-by: lijianan <[email protected]>

---------

Signed-off-by: lijianan <[email protected]>
* feat: support popupBg and darkPopupBg

* fix test
* fix: QRCode style.padding should work

* refactor qrcode padding and size

* chore: fix test cases

* refactor: revert qrcode size

* refactor: remove !important

* chore: fix test case
… was abnormal in the pop-up container (#45864)

* fix: Fixed an issue where the z-index setting of the pop-up component was abnormal in the pop-up container

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* Update components/popconfirm/index.tsx

Signed-off-by: kiner-tang(文辉) <[email protected]>

---------

Signed-off-by: kiner-tang(文辉) <[email protected]>
* 📖docs: update tabs component docs

* Update components/tabs/index.zh-CN.md

Co-authored-by: afc163 <[email protected]>
Signed-off-by: yufamg <[email protected]>

* Update components/tabs/index.en-US.md

Co-authored-by: afc163 <[email protected]>
Signed-off-by: yufamg <[email protected]>

---------

Signed-off-by: yufamg <[email protected]>
Co-authored-by: afc163 <[email protected]>
* chore(deps-dev): bump size-limit from 10.0.3 to 11.0.0

Bumps [size-limit](https:/ai/size-limit) from 10.0.3 to 11.0.0.
- [Changelog](https:/ai/size-limit/blob/main/CHANGELOG.md)
- [Commits](ai/size-limit@10.0.3...11.0.0)

---
updated-dependencies:
- dependency-name: size-limit
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update package.json

Signed-off-by: afc163 <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: afc163 <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <[email protected]>
Copy link

Review changes with SemanticDiff

Copy link

restack-app bot commented Nov 15, 2023

No applications have been configured for previews targeting branch: master. To do so go to restack console and configure your applications for previews.

Copy link

coderabbitai bot commented Nov 15, 2023

Important

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

Copy link

commit-lint bot commented Nov 15, 2023

Features

Bug Fixes

Chore

Contributors

zombieJ, li-jia-nan, kiner-tang, Rafael-Martins, github-actions[bot]

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

Copy link

instapr bot commented Nov 15, 2023

Please remove the unnecessary sponsor link in the PR body. It's not relevant to the changes made.

Copy link

pr-code-reviewer bot commented Nov 15, 2023

👋 Hi there!

Everything looks good!


Automatically generated with the help of gpt-3.5-turbo.
Feedback? Please don't hesitate to drop me an email at [email protected].

Copy link

Hi @pull[bot]。

请注意,当前 PR 是分支间的互相合并,请使用 BranchAutoMerge 标签来进行自动合并。切记不要、不要、不要使用 Squash

Copy link

Prepare preview

Copy link

Hi @pull[bot]. Thanks for your contribution. But, we don't have plan to add README of more languages. This current PR will be closed and team members will help on this.

Copy link

Hi @pull[bot]. Thanks for your contribution. The path .github/ or scripts/ and CHANGELOG is only maintained by team members. This current PR will be closed and team members will help on this.

@github-actions github-actions bot closed this Nov 15, 2023
@pull pull bot added the ⤵️ pull label Nov 15, 2023
Copy link

sweep-ai bot commented Nov 15, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

Copy link

Pull Request Review Markdown

Hey there! 👋 Here's a summary of the previous tasks and their results, along with some additional information. Let's get started!

Changes

  1. Major changes in .codesandbox/ci.json:

    • Changed sandboxes value from antd-reproduction-template-y9vgcf to antd-reproduction-template-forked-jyh2k9
    • Changed node value from 14 to 18
  2. Fix Dropdown use wrong zIndex when nest items.

  3. Fix Upload should show remove icon when showRemoveIcon is specified to true explicitly.

  4. Fix Descriptions use children structure missing the Descriptions.Item key prop.

  5. Fix Message that token specified in component scope not work.

  6. Fix Popconfirm not compatible with visible prop.

  7. Fix Tag default background color not correct.

  8. Fix Notification that style.width not work.

  9. Fix App console unexpected attr warning when set component=false.

  10. TypeScript: App support generic type definition.

Suggestions

  1. In the file components/_util/hooks/useMultipleSelect.ts, consider renaming the getKey parameter to getItemKey for better clarity.
  2. In the file components/app/context.ts, consider renaming the AppConfig type to AppConfigOptions for better consistency with other types.
  3. In the file components/app/context.ts, consider using the export interface syntax instead of export type for better readability.

Bugs

  1. Potential bugs in .dumi/theme/slots/Header/index.tsx:

    • Line 29: The link property is missing in the locales object. It should be added with the value 'https://d2.alibabatech.com/'.
  2. The file components/_util/hooks/useMultipleSelect.ts may have a potential bug. The updatePrevSelectedIndex function is not used anywhere in the code. It might be worth reviewing if it is necessary or can be removed.

Improvements

  1. Places in the code that could be refactored for better readability in .dumi/theme/slots/Header/index.tsx:

    • Line 36: Instead of using an inline SVG image, consider using an <img> tag with a separate source file for better maintainability and performance.
  2. Refactor the pr-open-check.yml file to improve readability and maintainability.

    • Add reviewers MadCcc and zombieJ to the refuse-issue-label job in the pr-open-check.yml file.

Rating

Code rating: 7.5 out of 10
Criteria: readability, performance, security

That's it for the summary! If you have any further questions or need assistance, feel free to ask. Good luck with your pull request! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.