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

Updated react-icons and antd version #2595

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

coderboy-yash
Copy link

Which problem is this PR solving?

Description of the changes

  • updated dependency of react-icons to v5.4.0
  • updated dependency of antd to v5.23.1

How was this change tested?

  • npm run test
  • npm run start

Checklist

@coderboy-yash coderboy-yash requested a review from a team as a code owner January 18, 2025 15:33
@coderboy-yash coderboy-yash requested review from albertteoh and removed request for a team January 18, 2025 15:33
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

for any icons changes include before & after screenshots

@@ -22,7 +22,7 @@
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "7.37.1",
"husky": "9.1.0",
"jsdom": "25.0.1",
"jsdom": "^26.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

how is this related to ant/icons upgrade?

Copy link
Author

Choose a reason for hiding this comment

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

how is this related to ant/icons upgrade?

no this is not related to ant/icons update , actually I made a pr to the issue #2584 previous to this issue and after that I made this pr so those changes also get included to this pr .
My mistake:- I made changes in the same code for every pr.
I am removing this mistake and will correct this pr soon.

@@ -65,5 +65,10 @@
"hooks": {
"pre-commit": "npm-run-all -ln --parallel lint test"
}
},
"dependencies": {
Copy link
Member

Choose a reason for hiding this comment

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

what is the reason for adding these as top level dependencies?

Copy link
Author

Choose a reason for hiding this comment

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

these are added by miskake at the top level , these had to be added in the jaeger UI of packages folder.

@@ -13,7 +13,7 @@
// limitations under the License.

import React from 'react';
import { LuLoader2 } from 'react-icons/lu';
import { LuLoader } from 'react-icons/lu';
Copy link
Member

Choose a reason for hiding this comment

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

this is icons change, why is it bundled with antd upgrade?

Copy link
Author

Choose a reason for hiding this comment

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

Previously I merged the changes of antd and react-icons together but after reading your comment I thought you want to do it separately now I have made another pr for this, which handles only react-icons version update.
#2603 you can check this I have resolved all the errors that you mentioned here.
Please let me know if you want to make any other changes to this.

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

Successfully merging this pull request may close these issues.

3 participants