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

Antd icons from V3 to V4 complete #1702

Merged
merged 11 commits into from
Aug 20, 2023
Merged

Conversation

bupd
Copy link
Contributor

@bupd bupd commented Aug 20, 2023

Which problem is this PR solving?

Description of the changes

  • Completely upgraded the antd Icons to V4
  • Modified tests to suit the V4

How was this change tested?

  • All the changes were tested with all the required tests
  • Ran the tests locally and passed

Checklist

@codecov
Copy link

codecov bot commented Aug 20, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (34d1862) 96.01% compared to head (548a2ec) 96.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1702   +/-   ##
=======================================
  Coverage   96.01%   96.01%           
=======================================
  Files         241      241           
  Lines        7562     7562           
  Branches     1987     1987           
=======================================
  Hits         7261     7261           
  Misses        301      301           
Files Changed Coverage Δ
...i/src/components/DeepDependencies/Header/index.tsx 100.00% <ø> (ø)
...nitor/ServicesView/operationDetailsTable/index.tsx 100.00% <ø> (ø)
...nents/TracePage/TracePageHeader/AltViewOptions.tsx 100.00% <ø> (ø)
.../TraceTimelineViewer/SpanDetail/KeyValuesTable.tsx 97.82% <ø> (ø)
...lineViewer/TimelineHeaderRow/TimelineCollapser.tsx 100.00% <ø> (ø)
.../src/components/common/DetailsCard/DetailTable.tsx 100.00% <100.00%> (ø)
...s/jaeger-ui/src/components/common/NameSelector.tsx 90.24% <100.00%> (ø)
...es/jaeger-ui/src/components/common/UiFindInput.tsx 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bupd
Copy link
Contributor Author

bupd commented Aug 20, 2023

Looks good to merge @yurishkuro

Copy link
Contributor Author

@bupd bupd left a comment

Choose a reason for hiding this comment

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

  • Completely upgraded the antd Icons to v4

@bupd
Copy link
Contributor Author

bupd commented Aug 20, 2023

@anshgoyalevil Updated the icons to look like the previous one

</Tooltip>
<Tooltip title={getTitle('Collapse All')} getPopupContainer={this.getContainer}>
<Icon type="double-right" onClick={onCollapseAll} className="TimelineCollapser--btn" />
<DoubleRightOutlined onClick={onCollapseAll} className="TimelineCollapser--btn" />
Copy link
Member

Choose a reason for hiding this comment

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

These changes look odd, do we have the same icons repeated twice? Can you add before/after screenshots?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before in V3

before_double-right

After in V4

doublerightOutlined

For more Information Checkout:

Copy link
Member

Choose a reason for hiding this comment

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

This wasn't my question, but it's ok, I found the answer - despite using the same icons, every 2nd copy of it is rotated 90 degrees, which makes them look different
image

Copy link
Contributor Author

@bupd bupd left a comment

Choose a reason for hiding this comment

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

@yurishkuro Rechecked all the icons visually and inspected them both are same

@yurishkuro yurishkuro merged commit 20d60a3 into jaegertracing:main Aug 20, 2023
8 checks passed
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