-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[APM] Change services sparkline condition to align with dependencies table #176293
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
@@ -193,7 +193,6 @@ export function MobileServiceOverview() { | |||
kuery={kueryWithMobileFilters} | |||
environment={environment} | |||
fixedHeight={true} | |||
isSingleColumn={isSingleColumn} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isSingleColumn
in this case is equal to isLarge
so I removed the extra prop and used isLarge
directly from the hook
…dressing-inconsistencies-on-service-overview-page-
/ci |
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
…consistencies-on-service-overview-page-' of https://github.com/jennypavlova/kibana into 175130-apm-enhancing-sparkline-visibility-addressing-inconsistencies-on-service-overview-page-
…dressing-inconsistencies-on-service-overview-page-
…ons table decide when to show sparkline
…dressing-inconsistencies-on-service-overview-page-
…dressing-inconsistencies-on-service-overview-page-
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
start={start} | ||
end={end} | ||
showPerPageOptions={false} | ||
numberOfTransactionsPerPage={5} | ||
shouldShowSparkPlotsProp={!isSingleColumn} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: It's up to you if you want to rename it or not. 😁
shouldShowSparkPlotsProp={!isSingleColumn} | |
showSparkPlots={!isSingleColumn} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed, thanks 👍
x-pack/plugins/apm/public/components/shared/dependencies_table/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx
Outdated
Show resolved
Hide resolved
…dressing-inconsistencies-on-service-overview-page-
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
…table (elastic#176293) Closes elastic#175130 ## Summary This PR changes the condition to show the sparkline in the transaction table to check for `isLarge` size first to be consistent with the dependencies table. Big screen size: <img width="1919" alt="image" src="https://github.com/elastic/kibana/assets/14139027/2b232838-2f25-4319-95a9-9b962d0221ac"> Small screen size:  ## Testing - Compare the dependencies table and the transaction table on the overview tab and check other tabs for the same behavior (big and small screen sizes). https://github.com/elastic/kibana/assets/14139027/f372bd84-3414-4425-b576-29dd1bedca72
…table (elastic#176293) Closes elastic#175130 ## Summary This PR changes the condition to show the sparkline in the transaction table to check for `isLarge` size first to be consistent with the dependencies table. Big screen size: <img width="1919" alt="image" src="https://github.com/elastic/kibana/assets/14139027/2b232838-2f25-4319-95a9-9b962d0221ac"> Small screen size:  ## Testing - Compare the dependencies table and the transaction table on the overview tab and check other tabs for the same behavior (big and small screen sizes). https://github.com/elastic/kibana/assets/14139027/f372bd84-3414-4425-b576-29dd1bedca72
…table (elastic#176293) Closes elastic#175130 ## Summary This PR changes the condition to show the sparkline in the transaction table to check for `isLarge` size first to be consistent with the dependencies table. Big screen size: <img width="1919" alt="image" src="https://github.com/elastic/kibana/assets/14139027/2b232838-2f25-4319-95a9-9b962d0221ac"> Small screen size:  ## Testing - Compare the dependencies table and the transaction table on the overview tab and check other tabs for the same behavior (big and small screen sizes). https://github.com/elastic/kibana/assets/14139027/f372bd84-3414-4425-b576-29dd1bedca72
Closes #175130
Summary
This PR changes the condition to show the sparkline in the transaction table to check for
isLarge
size first to be consistent with the dependencies table.Big screen size:
Small screen size:
Testing
Screen.Recording.2024-02-06.at.14.33.17.mov