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

[SLOs] Hide view in app in slo alerts table in slo details page #175441

Merged
merged 5 commits into from
Jan 25, 2024

Conversation

shahzad31
Copy link
Contributor

@shahzad31 shahzad31 commented Jan 24, 2024

Summary

Fixes #155731

Since we are already on SLO details page, it doesn't make sense to show view in app button in flyout or in columns actions.

image

@shahzad31 shahzad31 added the release_note:skip Skip the PR/issue when compiling release notes label Jan 24, 2024
@shahzad31 shahzad31 requested a review from a team as a code owner January 24, 2024 14:40
@botelastic botelastic bot added the Team:obs-ux-management Observability Management User Experience Team label Jan 24, 2024
@elasticmachine
Copy link
Contributor

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

@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!)

@@ -19,6 +22,7 @@ export { AlertsFlyout } from './alerts_flyout';
export const useGetAlertFlyoutComponents = (
observabilityRuleTypeRegistry: ObservabilityRuleTypeRegistry
) => {
const isSLODetailsPage = useRouteMatch(SLO_DETAIL_PATH);
Copy link
Contributor

Choose a reason for hiding this comment

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

This component alerts_flyout is not specific to SLO, yet we add a very specific SLO condition here. It does not seem to be the right place.
But in the other hand, I don't have a better approach because of the way AlertTable / AlertTableRegistry and all this works together...

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #35 / Actions and Triggers app Rule Details Execution log renders the event log list and can filter/sort

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
observability 638.5KB 645.0KB +6.5KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
observability 101.9KB 101.9KB +29.0B
Unknown metric groups

async chunk count

id before after diff
observability 22 23 +1

History

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

@shahzad31 shahzad31 merged commit c5d4ffd into elastic:main Jan 25, 2024
18 checks passed
@shahzad31 shahzad31 deleted the view-in-app branch January 25, 2024 08:30
@kibanamachine kibanamachine added v8.13.0 backport:skip This commit does not require backporting labels Jan 25, 2024
jloleysens added a commit that referenced this pull request Jan 25, 2024
* main: (520 commits)
  Update Kibana code editor dependencies (#171720)
  [SLOs] Hide view in app in slo alerts table in slo details page (#175441)
  [api-docs] 2024-01-25 Daily api_docs build (#175502)
  [DOCS] Add buildkite links to doc preview comments (#175463)
  skip flaky suite (#175443)
  [Security Solution][Timeline] refactor timeline modal save timeline button (#175343)
  [RAM] Stack Management::Rules loses user selections when navigating back (#174954)
  [Security Solution][Timeline] refactor timeline modal attach to case button (#175163)
  Upgrade EUI to v92.1.1 (#174955)
  [Fleet]: Beta label is shown inconsistently while selecting proxy under Fleet settings. (#170634)
  [Cloud Security] Rules Combo Box filters Custom component (#175175)
  skip flaky suite (#175407)
  [Security Solution][Timeline] refactor timeline modal open timeline button (#175335)
  [Embedded Console] Introduce kbnSolutionNavOffset CSS variable (#175348)
  [Console] disable access to embedded console without dev tools capability (#175321)
  fix(x-pack/reporting): use FIPS-compliant ID generator `uuidv4` in Reporting plugin (#174809)
  [Security Solution] Data quality dashboard persistence (#173185)
  [RAM][Observability] Add alert fields table to Observability flyout (#174685)
  test: add missing await for connector table disappearance (#175430)
  [RAM][Maintenance Window] Fix maintenance window FE types and transforms  (#173888)
  ...
lcawl pushed a commit to lcawl/kibana that referenced this pull request Jan 26, 2024
…tic#175441)

## Summary

Fixes elastic#155731

Since we are already on SLO details page, it doesn't make sense to show
view in app button in flyout or in columns actions.

<img width="1727" alt="image"
src="https://github.com/elastic/kibana/assets/3505601/ddcdf83d-00e0-4579-834b-db4f26e52a2e">
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this pull request Feb 15, 2024
…tic#175441)

## Summary

Fixes elastic#155731

Since we are already on SLO details page, it doesn't make sense to show
view in app button in flyout or in columns actions.

<img width="1727" alt="image"
src="https://github.com/elastic/kibana/assets/3505601/ddcdf83d-00e0-4579-834b-db4f26e52a2e">
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this pull request Feb 15, 2024
…tic#175441)

## Summary

Fixes elastic#155731

Since we are already on SLO details page, it doesn't make sense to show
view in app button in flyout or in columns actions.

<img width="1727" alt="image"
src="https://github.com/elastic/kibana/assets/3505601/ddcdf83d-00e0-4579-834b-db4f26e52a2e">
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:skip Skip the PR/issue when compiling release notes Team:obs-ux-management Observability Management User Experience Team v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SLO][SLO Detail] The "View In App" button in the Alert Flyout doesn't do anything
6 participants