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

[APM] Change services sparkline condition to align with dependencies table #176293

Conversation

jennypavlova
Copy link
Member

@jennypavlova jennypavlova commented Feb 6, 2024

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:

image

Small screen size:

image

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).
Screen.Recording.2024-02-06.at.14.33.17.mov

@jennypavlova jennypavlova self-assigned this Feb 6, 2024
@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • /oblt-deploy-serverless : Deploy a serverless Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@@ -193,7 +193,6 @@ export function MobileServiceOverview() {
kuery={kueryWithMobileFilters}
environment={environment}
fixedHeight={true}
isSingleColumn={isSingleColumn}
Copy link
Member Author

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

@jennypavlova jennypavlova added release_note:fix backport:skip This commit does not require backporting Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Feb 6, 2024
…dressing-inconsistencies-on-service-overview-page-
@jennypavlova
Copy link
Member Author

/ci

@jennypavlova jennypavlova marked this pull request as ready for review February 6, 2024 13:51
@jennypavlova jennypavlova requested a review from a team as a code owner February 6, 2024 13:51
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@jennypavlova jennypavlova marked this pull request as draft February 6, 2024 13:53
…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-
Copy link
Contributor

@cauemarcondes cauemarcondes left a 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}
Copy link
Contributor

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. 😁

Suggested change
shouldShowSparkPlotsProp={!isSingleColumn}
showSparkPlots={!isSingleColumn}

Copy link
Member Author

Choose a reason for hiding this comment

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

Renamed, thanks 👍

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #12 / Observability Rules Rules Endpoints Custom Threshold rule RATE - GROUP_BY - BYTES - FIRED Rule creation should set correct action variables
  • [job] [logs] FTR Configs #35 / Serverless Common UI - Management Index Management Enrich policies tab "before all" hook for "shows enrich policies page and docs link"
  • [job] [logs] FTR Configs #88 / Serverless Common UI - Management Index Management Enrich policies tab "before all" hook for "shows enrich policies page and docs link"

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
apm 3.2MB 3.2MB +105.0B
securitySolution 11.4MB 11.4MB +6.4KB
securitySolutionServerless 177.4KB 183.7KB +6.3KB
total +12.8KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @jennypavlova

@jennypavlova jennypavlova merged commit 79dbc47 into elastic:main Feb 7, 2024
21 checks passed
@jennypavlova jennypavlova deleted the 175130-apm-enhancing-sparkline-visibility-addressing-inconsistencies-on-service-overview-page- branch February 7, 2024 16:06
fkanout pushed a commit to fkanout/kibana that referenced this pull request Feb 8, 2024
…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: 


![image](https://github.com/elastic/kibana/assets/14139027/ad4c64fe-a675-4027-9823-44bf4b40a399)


## 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
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this pull request Feb 15, 2024
…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: 


![image](https://github.com/elastic/kibana/assets/14139027/ad4c64fe-a675-4027-9823-44bf4b40a399)


## 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
fkanout pushed a commit to fkanout/kibana that referenced this pull request Mar 4, 2024
…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: 


![image](https://github.com/elastic/kibana/assets/14139027/ad4c64fe-a675-4027-9823-44bf4b40a399)


## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:fix Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] Enhancing Sparkline Visibility: Addressing Inconsistencies on Service Overview page
6 participants