diff --git a/packages/jaeger-ui/package.json b/packages/jaeger-ui/package.json index 8bf47def9d..a3d7a48ee4 100644 --- a/packages/jaeger-ui/package.json +++ b/packages/jaeger-ui/package.json @@ -62,7 +62,7 @@ "@types/react-virtualized-select": "^3.0.7", "@types/recompose": "^0.30.5", "@types/redux-actions": "2.2.1", - "antd": "3.9.0", + "antd": "3.26.20", "chance": "^1.0.10", "classnames": "^2.2.5", "combokeys": "^3.0.0", diff --git a/packages/jaeger-ui/src/components/App/Page.test.js b/packages/jaeger-ui/src/components/App/Page.test.js index 8fa4e5d4d0..8c9d396c2d 100644 --- a/packages/jaeger-ui/src/components/App/Page.test.js +++ b/packages/jaeger-ui/src/components/App/Page.test.js @@ -67,9 +67,9 @@ describe('', () => { trackPageView.mockReset(); props = { pathname: String(Math.random()), - search: 'embed=v0&hideGraph', + search: 'hideGraph', }; - wrapper = mount(); + wrapper = mount(); }); it('does not explode', () => { diff --git a/packages/jaeger-ui/src/components/App/TopNav.test.js b/packages/jaeger-ui/src/components/App/TopNav.test.js index cfe770afd0..a0533246be 100644 --- a/packages/jaeger-ui/src/components/App/TopNav.test.js +++ b/packages/jaeger-ui/src/components/App/TopNav.test.js @@ -130,7 +130,7 @@ describe('', () => { it('renders sub-menu links', () => { dropdownItems.slice(1, 2).forEach(itemConfig => { - const item = subMenu.find(`[href="${itemConfig.url}"]`); + const item = subMenu.dive().find(`[href="${itemConfig.url}"]`); expect(item.length).toBe(1); expect(item.prop('target')).toBe(itemConfig.anchorTarget || '_blank'); expect(item.text()).toBe(itemConfig.label); diff --git a/packages/jaeger-ui/src/components/App/__snapshots__/TraceIDSearchInput.test.js.snap b/packages/jaeger-ui/src/components/App/__snapshots__/TraceIDSearchInput.test.js.snap index 4bafa32de6..f9ddb8d428 100644 --- a/packages/jaeger-ui/src/components/App/__snapshots__/TraceIDSearchInput.test.js.snap +++ b/packages/jaeger-ui/src/components/App/__snapshots__/TraceIDSearchInput.test.js.snap @@ -12,6 +12,7 @@ exports[` renders as expected 1`] = ` className="ant-input-prefix" > renders as expected 1`] = ` className="" data-icon="search" fill="currentColor" + focusable="false" height="1em" key="svg-search" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -34,12 +35,13 @@ exports[` renders as expected 1`] = ` diff --git a/packages/jaeger-ui/src/components/DeepDependencies/Graph/DdgNodeContent/__snapshots__/index.test.js.snap b/packages/jaeger-ui/src/components/DeepDependencies/Graph/DdgNodeContent/__snapshots__/index.test.js.snap index e10774ac84..4de8299027 100644 --- a/packages/jaeger-ui/src/components/DeepDependencies/Graph/DdgNodeContent/__snapshots__/index.test.js.snap +++ b/packages/jaeger-ui/src/components/DeepDependencies/Graph/DdgNodeContent/__snapshots__/index.test.js.snap @@ -1388,7 +1388,6 @@ exports[` renders the number of operations if there are multiple mouseLeaveDelay={0.1} overlayStyle={Object {}} placement="bottom" - prefixCls="ant-popover" title="Select Operation to Filter Graph" transitionName="zoom-big" trigger="hover" diff --git a/packages/jaeger-ui/src/components/DeepDependencies/Header/HopsSelector/__snapshots__/Selector.test.js.snap b/packages/jaeger-ui/src/components/DeepDependencies/Header/HopsSelector/__snapshots__/Selector.test.js.snap index 112b804bdd..4bde23966a 100644 --- a/packages/jaeger-ui/src/components/DeepDependencies/Header/HopsSelector/__snapshots__/Selector.test.js.snap +++ b/packages/jaeger-ui/src/components/DeepDependencies/Header/HopsSelector/__snapshots__/Selector.test.js.snap @@ -84,7 +84,6 @@ exports[`Selector renders buttons with expected text and classNames 1`] = ` mouseLeaveDelay={0.1} overlayStyle={Object {}} placement="bottom" - prefixCls="ant-popover" title="Visible downstream hops" transitionName="zoom-big" trigger="hover" @@ -215,7 +214,6 @@ exports[`Selector renders upstream hops with negative distance correctly 1`] = ` mouseLeaveDelay={0.1} overlayStyle={Object {}} placement="bottom" - prefixCls="ant-popover" title="Visible upstream hops" transitionName="zoom-big" trigger="hover" diff --git a/packages/jaeger-ui/src/components/DeepDependencies/SidePanel/__snapshots__/DetailsPanel.test.js.snap b/packages/jaeger-ui/src/components/DeepDependencies/SidePanel/__snapshots__/DetailsPanel.test.js.snap index f14a7e6833..830fdb6e2e 100644 --- a/packages/jaeger-ui/src/components/DeepDependencies/SidePanel/__snapshots__/DetailsPanel.test.js.snap +++ b/packages/jaeger-ui/src/components/DeepDependencies/SidePanel/__snapshots__/DetailsPanel.test.js.snap @@ -70,7 +70,6 @@ exports[` render renders detailLink 1`] = ` mouseEnterDelay={0.1} mouseLeaveDelay={0.1} placement="top" - prefixCls="ant-tooltip" title="More Info" transitionName="zoom-big-fast" > diff --git a/packages/jaeger-ui/src/components/DeepDependencies/SidePanel/__snapshots__/index.test.js.snap b/packages/jaeger-ui/src/components/DeepDependencies/SidePanel/__snapshots__/index.test.js.snap index 64999374e4..9d1b30ce34 100644 --- a/packages/jaeger-ui/src/components/DeepDependencies/SidePanel/__snapshots__/index.test.js.snap +++ b/packages/jaeger-ui/src/components/DeepDependencies/SidePanel/__snapshots__/index.test.js.snap @@ -2,9 +2,7 @@ exports[` info button opens info modal 1`] = ` Object { - "content": , "maskClosable": true, "title": "Decoration Options", diff --git a/packages/jaeger-ui/src/components/Monitor/EmptyState/__snapshots__/index.test.js.snap b/packages/jaeger-ui/src/components/Monitor/EmptyState/__snapshots__/index.test.js.snap index 58c753e925..54a212f583 100644 --- a/packages/jaeger-ui/src/components/Monitor/EmptyState/__snapshots__/index.test.js.snap +++ b/packages/jaeger-ui/src/components/Monitor/EmptyState/__snapshots__/index.test.js.snap @@ -45,9 +45,9 @@ exports[` ATM snapshot test 1`] = ` block={false} className="button-empty-state" ghost={false} + htmlType="button" loading={false} onClick={[Function]} - prefixCls="ant-btn" > Read the Documentation diff --git a/packages/jaeger-ui/src/components/Monitor/ServicesView/__snapshots__/index.test.js.snap b/packages/jaeger-ui/src/components/Monitor/ServicesView/__snapshots__/index.test.js.snap index 0f3ab5c305..cb52313790 100644 --- a/packages/jaeger-ui/src/components/Monitor/ServicesView/__snapshots__/index.test.js.snap +++ b/packages/jaeger-ui/src/components/Monitor/ServicesView/__snapshots__/index.test.js.snap @@ -314,10 +314,8 @@ exports[` ATM snapshot test 1`] = ` className="select-operation-input" disabled={false} enterButton={false} - inputPrefixCls="ant-input" onChange={[Function]} placeholder="Search operation" - prefixCls="ant-input-search" value="" /> @@ -638,10 +636,8 @@ exports[` ATM snapshot test with no metrics 1`] = ` className="select-operation-input" disabled={false} enterButton={false} - inputPrefixCls="ant-input" onChange={[Function]} placeholder="Search operation" - prefixCls="ant-input-search" value="" /> @@ -963,10 +959,8 @@ exports[` render one service latency 1`] = ` className="select-operation-input" disabled={false} enterButton={false} - inputPrefixCls="ant-input" onChange={[Function]} placeholder="Search operation" - prefixCls="ant-input-search" value="" /> diff --git a/packages/jaeger-ui/src/components/Monitor/ServicesView/operationDetailsTable/__snapshots__/index.test.js.snap b/packages/jaeger-ui/src/components/Monitor/ServicesView/operationDetailsTable/__snapshots__/index.test.js.snap index 0fc079673b..95f09c3793 100644 --- a/packages/jaeger-ui/src/components/Monitor/ServicesView/operationDetailsTable/__snapshots__/index.test.js.snap +++ b/packages/jaeger-ui/src/components/Monitor/ServicesView/operationDetailsTable/__snapshots__/index.test.js.snap @@ -19,9 +19,7 @@ exports[` Table rendered successfully 1`] = ` -
Table rendered successfully 1`] = ` mouseLeaveDelay={0.1} overlayClassName="impact-tooltip" placement="top" - prefixCls="ant-tooltip" title="The result of multiplying avg. duration and requests per minute, showing the most used and slowest endpoints" transitionName="zoom-big-fast" > @@ -99,10 +96,6 @@ exports[` Table rendered successfully 1`] = ` }, ] } - dataSource={Array []} - indentSize={20} - loading={false} - locale={Object {}} onChange={[Function]} onRow={[Function]} pagination={ @@ -116,12 +109,7 @@ exports[` Table rendered successfully 1`] = ` "showSizeChanger": true, } } - prefixCls="ant-table" rowClassName={[Function]} - rowKey="key" - showHeader={true} - size="default" - useFixedHeader={false} /> `; @@ -129,13 +117,13 @@ exports[` Table rendered successfully 1`] = ` exports[` render No data table 1`] = `
render No data table 1`] = ` } >
+ />
- Name
- - - + Name - - - + + + + + +
- P95 Latency
- - - + P95 Latency - - - + + + + + +
- Request rate
- - - + Request rate - - - + + + + + +
- Error rate
- - - + Error rate - - - + + + + + +
- Impact -   - - - + Impact +   + + + + +
- -
- - - - - - - + + - - - + + +
@@ -600,7 +621,51 @@ exports[` render No data table 1`] = ` className="ant-table-placeholder" key="emptyText" > - No data +
+
+ + + + + + + + + +
+

+ No Data +

+
@@ -613,13 +678,13 @@ exports[` render No data table 1`] = ` exports[` render P95 latency with more than 2 decimal places value 1`] = `
render P95 latency with more than 2 decimal pla } >
- Name
- - - + Name - - - + + + + + +
- P95 Latency
- - - + P95 Latency - - - + + + + + +
- Request rate
- - - + Request rate - - - + + + + + +
- Error rate
- - - + Error rate - - - + + + + + +
- Impact -   - - - + Impact +   + + + + +
- -
- - - - - - - + + - - - + + +
@@ -1093,21 +1191,13 @@ exports[` render P95 latency with more than 2 decimal pla } >
- /PlaceOrder
render P95 latency with more than 2 decimal pla
render P95 latency with more than 2 decimal pla
render P95 latency with more than 2 decimal pla
render P95 latency with more than 2 decimal pla className="ant-pagination-item-link" > render P95 latency with more than 2 decimal pla className="" data-icon="left" fill="currentColor" + focusable="false" height="1em" key="svg-left" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -1447,6 +1538,7 @@ exports[` render P95 latency with more than 2 decimal pla className="ant-pagination-item-link" > render P95 latency with more than 2 decimal pla className="" data-icon="right" fill="currentColor" + focusable="false" height="1em" key="svg-right" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -1478,10 +1570,13 @@ exports[` render P95 latency with more than 2 decimal pla onClick={[Function]} onFocus={[Function]} onMouseDown={[Function]} + onMouseOut={[Function]} + onMouseUp={[Function]} onTouchStart={[Function]} >
render P95 latency with more than 2 decimal pla className="" data-icon="down" fill="currentColor" + focusable="false" height="1em" key="svg-down" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > render P95 latency with more than 2 decimal pla exports[` render error rate with more than 2 decimal places value 1`] = `
render error rate with more than 2 decimal plac } >
- Name
- - - + Name - - - + + + + + +
- P95 Latency
- - - + P95 Latency - - - + + + + + +
- Request rate
- - - + Request rate - - - + + + + + +
- Error rate
- - - + Error rate - - - + + + + + +
- Impact -   - - - + Impact +   + + + + +
- -
- - - - - - - + + - - - + + +
@@ -2034,21 +2163,13 @@ exports[` render error rate with more than 2 decimal plac } >
- /PlaceOrder
render error rate with more than 2 decimal plac
render error rate with more than 2 decimal plac
render error rate with more than 2 decimal plac
render error rate with more than 2 decimal plac className="ant-pagination-item-link" > render error rate with more than 2 decimal plac className="" data-icon="left" fill="currentColor" + focusable="false" height="1em" key="svg-left" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -2388,6 +2510,7 @@ exports[` render error rate with more than 2 decimal plac className="ant-pagination-item-link" > render error rate with more than 2 decimal plac className="" data-icon="right" fill="currentColor" + focusable="false" height="1em" key="svg-right" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -2419,10 +2542,13 @@ exports[` render error rate with more than 2 decimal plac onClick={[Function]} onFocus={[Function]} onMouseDown={[Function]} + onMouseOut={[Function]} + onMouseUp={[Function]} onTouchStart={[Function]} >
render error rate with more than 2 decimal plac className="" data-icon="down" fill="currentColor" + focusable="false" height="1em" key="svg-down" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > render error rate with more than 2 decimal plac exports[` render lower than 0.1 P95 latency 1`] = `
render lower than 0.1 P95 latency 1`] = ` } >
- Name
- - - + Name - - - + + + + + +
- P95 Latency
- - - + P95 Latency - - - + + + + + +
- Request rate
- - - + Request rate - - - + + + + + +
- Error rate
- - - + Error rate - - - + + + + + +
- Impact -   - - - + Impact +   + + + + +
- -
- - - - - - - + + - - - + + +
@@ -2975,21 +3135,13 @@ exports[` render lower than 0.1 P95 latency 1`] = ` } >
- /PlaceOrder
render lower than 0.1 P95 latency 1`] = `
render lower than 0.1 P95 latency 1`] = `
render lower than 0.1 P95 latency 1`] = `
render lower than 0.1 P95 latency 1`] = ` className="ant-pagination-item-link" > render lower than 0.1 P95 latency 1`] = ` className="" data-icon="left" fill="currentColor" + focusable="false" height="1em" key="svg-left" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -3329,6 +3482,7 @@ exports[` render lower than 0.1 P95 latency 1`] = ` className="ant-pagination-item-link" > render lower than 0.1 P95 latency 1`] = ` className="" data-icon="right" fill="currentColor" + focusable="false" height="1em" key="svg-right" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -3360,10 +3514,13 @@ exports[` render lower than 0.1 P95 latency 1`] = ` onClick={[Function]} onFocus={[Function]} onMouseDown={[Function]} + onMouseOut={[Function]} + onMouseUp={[Function]} onTouchStart={[Function]} >
render lower than 0.1 P95 latency 1`] = ` className="" data-icon="down" fill="currentColor" + focusable="false" height="1em" key="svg-down" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > render lower than 0.1 P95 latency 1`] = ` exports[` render lower than 0.1 error rate 1`] = `
render lower than 0.1 error rate 1`] = ` } >
- Name
- - - + Name - - - + + + + + +
- P95 Latency
- - - + P95 Latency - - - + + + + + +
- Request rate
- - - + Request rate - - - + + + + + +
- Error rate
- - - + Error rate - - - + + + + + +
- - Impact -   - - - - -
-
- - - + Impact +   + + + + +
- - - + + + + + + @@ -3916,21 +4107,13 @@ exports[` render lower than 0.1 error rate 1`] = ` } >
- /PlaceOrder
render lower than 0.1 error rate 1`] = `
render lower than 0.1 error rate 1`] = `
render lower than 0.1 error rate 1`] = `
render lower than 0.1 error rate 1`] = ` className="ant-pagination-item-link" > render lower than 0.1 error rate 1`] = ` className="" data-icon="left" fill="currentColor" + focusable="false" height="1em" key="svg-left" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -4270,6 +4454,7 @@ exports[` render lower than 0.1 error rate 1`] = ` className="ant-pagination-item-link" > render lower than 0.1 error rate 1`] = ` className="" data-icon="right" fill="currentColor" + focusable="false" height="1em" key="svg-right" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -4301,10 +4486,13 @@ exports[` render lower than 0.1 error rate 1`] = ` onClick={[Function]} onFocus={[Function]} onMouseDown={[Function]} + onMouseOut={[Function]} + onMouseUp={[Function]} onTouchStart={[Function]} >
render lower than 0.1 error rate 1`] = ` className="" data-icon="down" fill="currentColor" + focusable="false" height="1em" key="svg-down" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > render lower than 0.1 error rate 1`] = ` exports[` render lower than 0.1 request rate value 1`] = `
render lower than 0.1 request rate value 1`] = } >
- Name
- - - + Name - - - + + + + + +
- P95 Latency
- - - + P95 Latency - - - + + + + + +
- Request rate
- - - + Request rate - - - + + + + + +
- Error rate
- - - + Error rate - - - + + + + + +
- Impact -   - - - + Impact +   + + + + +
- -
- - - - - - - + + - - - + + +
@@ -4857,21 +5079,13 @@ exports[` render lower than 0.1 request rate value 1`] = } >
- /PlaceOrder
render lower than 0.1 request rate value 1`] =
render lower than 0.1 request rate value 1`] =
render lower than 0.1 request rate value 1`] =
render lower than 0.1 request rate value 1`] = className="ant-pagination-item-link" > render lower than 0.1 request rate value 1`] = className="" data-icon="left" fill="currentColor" + focusable="false" height="1em" key="svg-left" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -5211,6 +5426,7 @@ exports[` render lower than 0.1 request rate value 1`] = className="ant-pagination-item-link" > render lower than 0.1 request rate value 1`] = className="" data-icon="right" fill="currentColor" + focusable="false" height="1em" key="svg-right" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -5242,10 +5458,13 @@ exports[` render lower than 0.1 request rate value 1`] = onClick={[Function]} onFocus={[Function]} onMouseDown={[Function]} + onMouseOut={[Function]} + onMouseUp={[Function]} onTouchStart={[Function]} >
render lower than 0.1 request rate value 1`] = className="" data-icon="down" fill="currentColor" + focusable="false" height="1em" key="svg-down" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > render lower than 0.1 request rate value 1`] = exports[` render request rate number with more than 2 decimal places value 1`] = `
render request rate number with more than 2 dec } >
- Name
- - - + Name - - - + + + + + +
- P95 Latency
- - - + P95 Latency - - - + + + + + +
- Request rate
- - - + Request rate - - - + + + + + +
- Error rate
- - - + Error rate - - - + + + + + +
- Impact -   - - - + Impact +   + + + + +
- -
- - - - - - - + + - - - + + +
@@ -5798,21 +6051,13 @@ exports[` render request rate number with more than 2 dec } >
- /PlaceOrder
render request rate number with more than 2 dec
render request rate number with more than 2 dec
render request rate number with more than 2 dec
render request rate number with more than 2 dec className="ant-pagination-item-link" > render request rate number with more than 2 dec className="" data-icon="left" fill="currentColor" + focusable="false" height="1em" key="svg-left" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -6152,6 +6398,7 @@ exports[` render request rate number with more than 2 dec className="ant-pagination-item-link" > render request rate number with more than 2 dec className="" data-icon="right" fill="currentColor" + focusable="false" height="1em" key="svg-right" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -6183,10 +6430,13 @@ exports[` render request rate number with more than 2 dec onClick={[Function]} onFocus={[Function]} onMouseDown={[Function]} + onMouseOut={[Function]} + onMouseUp={[Function]} onTouchStart={[Function]} >
render request rate number with more than 2 dec className="" data-icon="down" fill="currentColor" + focusable="false" height="1em" key="svg-down" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > render request rate number with more than 2 dec exports[` render some values in the table 1`] = `
render some values in the table 1`] = ` } >
- Name
- - - + Name - - - + + + + + +
- P95 Latency
- - - + P95 Latency - - - + + + + + +
- Request rate
- - - + Request rate - - - + + + + + +
- Error rate
- - - + Error rate - - - + + + + + +
- Impact -   - - - + Impact +   + + + + +
- -
- - - - - - - + + - - - + + +
@@ -6739,21 +7023,13 @@ exports[` render some values in the table 1`] = ` } >
- /PlaceOrder
render some values in the table 1`] = `
render some values in the table 1`] = `
render some values in the table 1`] = `
render some values in the table 1`] = ` className="ant-pagination-item-link" > render some values in the table 1`] = ` className="" data-icon="left" fill="currentColor" + focusable="false" height="1em" key="svg-left" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -7093,6 +7370,7 @@ exports[` render some values in the table 1`] = ` className="ant-pagination-item-link" > render some values in the table 1`] = ` className="" data-icon="right" fill="currentColor" + focusable="false" height="1em" key="svg-right" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -7124,10 +7402,13 @@ exports[` render some values in the table 1`] = ` onClick={[Function]} onFocus={[Function]} onMouseDown={[Function]} + onMouseOut={[Function]} + onMouseUp={[Function]} onTouchStart={[Function]} >
render some values in the table 1`] = ` className="" data-icon="down" fill="currentColor" + focusable="false" height="1em" key="svg-down" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > render some values in the table 1`] = ` exports[` test column render function 1`] = `
test column render function 1`] = ` } >
- Name
- - - + Name - - - + + + + + +
- P95 Latency
- - - + P95 Latency - - - + + + + + +
- Request rate
- - - + Request rate - - - + + + + + +
- Error rate
- - - + Error rate - - - + + + + + +
- Impact -   - - - + Impact +   + + + + +
- -
- - - - - - - + + - - - + + +
@@ -7680,20 +7995,11 @@ exports[` test column render function 1`] = ` } >
- -
test column render function 1`] = `
test column render function 1`] = `
test column render function 1`] = `
test column render function 1`] = ` className="ant-pagination-item-link" > test column render function 1`] = ` className="" data-icon="left" fill="currentColor" + focusable="false" height="1em" key="svg-left" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -7847,6 +8154,7 @@ exports[` test column render function 1`] = ` className="ant-pagination-item-link" > test column render function 1`] = ` className="" data-icon="right" fill="currentColor" + focusable="false" height="1em" key="svg-right" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -7878,10 +8186,13 @@ exports[` test column render function 1`] = ` onClick={[Function]} onFocus={[Function]} onMouseDown={[Function]} + onMouseOut={[Function]} + onMouseUp={[Function]} onTouchStart={[Function]} >
test column render function 1`] = ` className="" data-icon="down" fill="currentColor" + focusable="false" height="1em" key="svg-down" - viewBox="0 0 1024 1024" + viewBox="64 64 896 896" width="1em" - xmlns="http://www.w3.org/2000/svg" > @@ -62,7 +61,6 @@ exports[`Header rendering renders as expected with minimum props 1`] = ` id="inputNumber" min={1} onChange={[Function]} - prefixCls="ant-input-number" step={1} value={4} /> diff --git a/packages/jaeger-ui/src/components/QualityMetrics/__snapshots__/MetricCard.test.js.snap b/packages/jaeger-ui/src/components/QualityMetrics/__snapshots__/MetricCard.test.js.snap index 0e2ec16626..6dffb43bf7 100644 --- a/packages/jaeger-ui/src/components/QualityMetrics/__snapshots__/MetricCard.test.js.snap +++ b/packages/jaeger-ui/src/components/QualityMetrics/__snapshots__/MetricCard.test.js.snap @@ -29,7 +29,6 @@ exports[`MetricCard renders as expected when passCount is zero 1`] = ` mouseEnterDelay={0.1} mouseLeaveDelay={0.1} placement="top" - prefixCls="ant-tooltip" title="Metric Documentation" transitionName="zoom-big-fast" > @@ -112,7 +111,6 @@ exports[`MetricCard renders as expected with details 1`] = ` mouseEnterDelay={0.1} mouseLeaveDelay={0.1} placement="top" - prefixCls="ant-tooltip" title="Metric Documentation" transitionName="zoom-big-fast" > @@ -237,7 +235,6 @@ exports[`MetricCard renders as expected without details 1`] = ` mouseEnterDelay={0.1} mouseLeaveDelay={0.1} placement="top" - prefixCls="ant-tooltip" title="Metric Documentation" transitionName="zoom-big-fast" > @@ -320,7 +317,6 @@ exports[`MetricCard renders as expected without details 2`] = ` mouseEnterDelay={0.1} mouseLeaveDelay={0.1} placement="top" - prefixCls="ant-tooltip" title="Metric Documentation" transitionName="zoom-big-fast" > diff --git a/packages/jaeger-ui/src/components/SearchTracePage/FileLoader.tsx b/packages/jaeger-ui/src/components/SearchTracePage/FileLoader.tsx index 171118df79..073339853e 100644 --- a/packages/jaeger-ui/src/components/SearchTracePage/FileLoader.tsx +++ b/packages/jaeger-ui/src/components/SearchTracePage/FileLoader.tsx @@ -18,7 +18,7 @@ import { Upload, Icon } from 'antd'; const Dragger = Upload.Dragger; type FileLoaderProps = { - loadJsonTraces: (fileList: FileList) => void; + loadJsonTraces: (fileList: { file: File }) => void; }; export default function FileLoader(props: FileLoaderProps) { diff --git a/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/__snapshots__/DiffSelection.test.js.snap b/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/__snapshots__/DiffSelection.test.js.snap index 166db898e7..0fa87b5d8f 100644 --- a/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/__snapshots__/DiffSelection.test.js.snap +++ b/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/__snapshots__/DiffSelection.test.js.snap @@ -32,7 +32,6 @@ exports[`DiffSelection renders a trace as expected 1`] = ` ghost={false} htmlType="button" loading={false} - prefixCls="ant-btn" type="primary" > Compare Traces @@ -107,7 +106,6 @@ exports[`DiffSelection renders multiple traces as expected 1`] = ` ghost={false} htmlType="button" loading={false} - prefixCls="ant-btn" type="primary" > Compare Traces diff --git a/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/__snapshots__/ResultItemTitle.test.js.snap b/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/__snapshots__/ResultItemTitle.test.js.snap index e66277341a..a2a5ecdf40 100644 --- a/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/__snapshots__/ResultItemTitle.test.js.snap +++ b/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/__snapshots__/ResultItemTitle.test.js.snap @@ -11,7 +11,6 @@ exports[`ResultItemTitle renders as expected 1`] = ` indeterminate={false} onChange={[Function]} onClick={[Function]} - prefixCls="ant-checkbox" /> @@ -156,7 +155,6 @@ exports[`drawNode diffNode renders as expected when props.a is 0 1`] = ` overlayClassName="DiffNode--popover is-changed is-added" overlayStyle={Object {}} placement="top" - prefixCls="ant-popover" transitionName="zoom-big" trigger="hover" > @@ -286,7 +284,6 @@ exports[`drawNode diffNode renders as expected when props.a is less than props.b overlayClassName="DiffNode--popover is-changed is-more" overlayStyle={Object {}} placement="top" - prefixCls="ant-popover" transitionName="zoom-big" trigger="hover" > @@ -416,7 +413,6 @@ exports[`drawNode diffNode renders as expected when props.a is more than props.b overlayClassName="DiffNode--popover is-changed is-less" overlayStyle={Object {}} placement="top" - prefixCls="ant-popover" transitionName="zoom-big" trigger="hover" > @@ -546,7 +542,6 @@ exports[`drawNode diffNode renders as expected when props.b is 0 1`] = ` overlayClassName="DiffNode--popover is-changed is-removed" overlayStyle={Object {}} placement="top" - prefixCls="ant-popover" transitionName="zoom-big" trigger="hover" > @@ -656,7 +651,6 @@ exports[`drawNode diffNode renders as expected when props.isUiFindMatch is true overlayClassName="DiffNode--popover is-same" overlayStyle={Object {}} placement="top" - prefixCls="ant-popover" transitionName="zoom-big" trigger="hover" > diff --git a/packages/jaeger-ui/src/components/TraceDiff/TraceDiffHeader/__snapshots__/CohortTable.test.js.snap b/packages/jaeger-ui/src/components/TraceDiff/TraceDiffHeader/__snapshots__/CohortTable.test.js.snap index 93bbf93060..16e2715fc0 100644 --- a/packages/jaeger-ui/src/components/TraceDiff/TraceDiffHeader/__snapshots__/CohortTable.test.js.snap +++ b/packages/jaeger-ui/src/components/TraceDiff/TraceDiffHeader/__snapshots__/CohortTable.test.js.snap @@ -2,9 +2,7 @@ exports[`CohortTable renders as expected 1`] = ` Array [ - -
, + , "", ] `; diff --git a/packages/jaeger-ui/src/components/TraceDiff/TraceDiffHeader/__snapshots__/TraceDiffHeader.test.js.snap b/packages/jaeger-ui/src/components/TraceDiff/TraceDiffHeader/__snapshots__/TraceDiffHeader.test.js.snap index b45466970c..3394c8e7b3 100644 --- a/packages/jaeger-ui/src/components/TraceDiff/TraceDiffHeader/__snapshots__/TraceDiffHeader.test.js.snap +++ b/packages/jaeger-ui/src/components/TraceDiff/TraceDiffHeader/__snapshots__/TraceDiffHeader.test.js.snap @@ -94,7 +94,6 @@ exports[`TraceDiffHeader handles absent a & b 1`] = ` overlayClassName="TraceDiffHeader--popover" overlayStyle={Object {}} placement="bottomLeft" - prefixCls="ant-popover" title={ `; diff --git a/packages/jaeger-ui/src/components/TracePage/TracePageHeader/AltViewOptions.test.js b/packages/jaeger-ui/src/components/TracePage/TracePageHeader/AltViewOptions.test.js index a0d44670b3..35c6d7b7e6 100644 --- a/packages/jaeger-ui/src/components/TracePage/TracePageHeader/AltViewOptions.test.js +++ b/packages/jaeger-ui/src/components/TracePage/TracePageHeader/AltViewOptions.test.js @@ -30,7 +30,7 @@ describe('AltViewOptions', () => { let wrapper; const getLink = text => { - const menu = shallow(wrapper.find(Dropdown).prop('overlay')); + const menu = shallow(wrapper.find(Dropdown).prop('overlay')).dive(); const links = menu.find(Link); for (let i = 0; i < links.length; i++) { const link = links.at(i); diff --git a/packages/jaeger-ui/src/components/TracePage/TracePageHeader/KeyboardShortcutsHelp.tsx b/packages/jaeger-ui/src/components/TracePage/TracePageHeader/KeyboardShortcutsHelp.tsx index c46532562a..d21b56e902 100644 --- a/packages/jaeger-ui/src/components/TracePage/TracePageHeader/KeyboardShortcutsHelp.tsx +++ b/packages/jaeger-ui/src/components/TracePage/TracePageHeader/KeyboardShortcutsHelp.tsx @@ -104,7 +104,6 @@ export default class KeyboardShortcutsHelp extends React.PureComponent + } placement="bottomLeft" - prefixCls="ant-dropdown" >