Skip to content

[Uptime] only render ping status code badge when status code is available#87096

Merged
dominiqueclarke merged 5 commits intoelastic:masterfrom
dominiqueclarke:fix/79192-uptime-remove-empty-status-code-badges
Jan 5, 2021
Merged

[Uptime] only render ping status code badge when status code is available#87096
dominiqueclarke merged 5 commits intoelastic:masterfrom
dominiqueclarke:fix/79192-uptime-remove-empty-status-code-badges

Conversation

@dominiqueclarke
Copy link
Copy Markdown
Contributor

@dominiqueclarke dominiqueclarke commented Dec 31, 2020

Summary

Fixes #79192

Prevents status column badges for displaying without content.

Before
image

After
Screen Shot 2021-01-04 at 3 01 19 PM

Checklist

Delete any items that are not applicable to this PR.

@dominiqueclarke dominiqueclarke added bug Fixes for quality problems that affect the customer experience v8.0.0 Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.11.0 labels Dec 31, 2020
@dominiqueclarke dominiqueclarke requested a review from a team as a code owner December 31, 2020 18:32
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/uptime (Team:uptime)

@dominiqueclarke dominiqueclarke added the release_note:skip Skip the PR/issue when compiling release notes label Dec 31, 2020
@dominiqueclarke
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@shahzad31 shahzad31 left a comment

Choose a reason for hiding this comment

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

LGTM, one optional suggestion is to use - instead of empty column.

like error type column.

@dominiqueclarke
Copy link
Copy Markdown
Contributor Author

LGTM, one optional suggestion is to use - instead of empty column.

like error type column.

Is that able to be done on a per row basis? In this issue, it appeared as if there were a mix of successful and failed rows in the same column.

@dominiqueclarke
Copy link
Copy Markdown
Contributor Author

dominiqueclarke commented Jan 4, 2021

LGTM, one optional suggestion is to use - instead of empty column.

like error type column.

I misunderstood you at first, but now I think I understand. You mean with the badge container, or without?
Screen Shot 2021-01-04 at 2 58 35 PM
Screen Shot 2021-01-04 at 3 01 19 PM

@shahzad31
Copy link
Copy Markdown
Contributor

LGTM, one optional suggestion is to use - instead of empty column.
like error type column.

I misunderstood you at first, but now I think I understand. You mean with the badge container, or without?
Screen Shot 2021-01-04 at 2 58 35 PM
Screen Shot 2021-01-04 at 3 01 19 PM

@dominiqueclarke i think without badge container.

@dominiqueclarke
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

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
uptime 1.0MB 1.0MB +49.0B

Distributable file count

id before after diff
default 47252 48012 +760

History

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

@dominiqueclarke dominiqueclarke merged commit 16ad4d6 into elastic:master Jan 5, 2021
@dominiqueclarke dominiqueclarke deleted the fix/79192-uptime-remove-empty-status-code-badges branch January 5, 2021 17:46
dominiqueclarke added a commit to dominiqueclarke/kibana that referenced this pull request Jan 5, 2021
…able (elastic#87096)

* uptime only render ping status code badge when status code is available

* uptime update ResponseCodeColumn error state

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
dominiqueclarke added a commit to dominiqueclarke/kibana that referenced this pull request Jan 5, 2021
…able (elastic#87096)

* uptime only render ping status code badge when status code is available

* uptime update ResponseCodeColumn error state

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
dominiqueclarke added a commit that referenced this pull request Jan 5, 2021
…able (#87096) (#87359)

* uptime only render ping status code badge when status code is available

* uptime update ResponseCodeColumn error state

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
dominiqueclarke added a commit that referenced this pull request Jan 5, 2021
…able (#87096) (#87360)

* uptime only render ping status code badge when status code is available

* uptime update ResponseCodeColumn error state

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.11.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Uptime] Empty badge displayed for response code on detail page

4 participants