Skip to content

[Uptime] Issue/48845 Disable filter and Add link to location docs when no location exists - #49175

Merged
shahzad31 merged 4 commits into
elastic:masterfrom
shahzad31:issue/48845--disable-empty-location-filter
Oct 28, 2019
Merged

shahzad31 merged 4 commits into
elastic:masterfrom
shahzad31:issue/48845--disable-empty-location-filter

Conversation

@shahzad31

@shahzad31 shahzad31 commented Oct 24, 2019 •

Copy link
Copy Markdown
Contributor

Summary

Fix #48845

Disable Search Location filter and others if no searchable filter exists on them.
Also add link to location docs to guide user on how to add location for a heartbeat.

Checklist

For maintainers

@shahzad31 shahzad31 self-assigned this Oct 24, 2019
@shahzad31 shahzad31 added the Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability label Oct 24, 2019
@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/uptime (Team:uptime)

@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@justinkambic justinkambic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

These changes look good - assuming I understand the purpose of the patch. Is the goal to make it so that when there are no locations we supply the user with a link to the docs? The title of the PR is much different than that; I was initially confused as to why the popover's button was enabled.

If that's the case, can we rename the patch to something more like Link to Location docs when no location exists?

Aside from that I think the added code is ok, and I agree with disabling the field search when there're no items.

@shahzad31 shahzad31 changed the title [Uptime] Issue/48845 disable empty location filter [Uptime] Issue/48845 disable location filter if no locations are present and add docs link to add location Oct 25, 2019
@shahzad31 shahzad31 changed the title [Uptime] Issue/48845 disable location filter if no locations are present and add docs link to add location [Uptime] Issue/48845 Disable filter and Add link to location docs when no location exists Oct 25, 2019
@shahzad31

Copy link
Copy Markdown
Contributor Author

These changes look good - assuming I understand the purpose of the patch. Is the goal to make it so that when there are no locations we supply the user with a link to the docs? The title of the PR is much different than that; I was initially confused as to why the popover's button was enabled.

If that's the case, can we rename the patch to something more like Link to Location docs when no location exists?

Aside from that I think the added code is ok, and I agree with disabling the field search when there're no items.

@justinkambic i have updated the title and description a bit.

@justinkambic justinkambic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@shahzad31

Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@shahzad31
shahzad31 merged commit d9d8398 into elastic:master Oct 28, 2019
@shahzad31
shahzad31 deleted the issue/48845--disable-empty-location-filter branch October 28, 2019 11:52
@shahzad31

Copy link
Copy Markdown
Contributor Author

@andrewvc @justinkambic should i backport this to 7.5 as well?

@justinkambic

Copy link
Copy Markdown
Contributor

@shahzad31 yes this is a fix we should backport to the release branch as well.

shahzad31 added a commit to shahzad31/kibana that referenced this pull request Oct 31, 2019
…n no location exists (elastic#49175)

* disable search text if no item exists

* update snaps
shahzad31 added a commit to shahzad31/kibana that referenced this pull request Oct 31, 2019
…n no location exists (elastic#49175)

* disable search text if no item exists

* update snaps
shahzad31 added a commit that referenced this pull request Oct 31, 2019
…n no location exists (#49175) (#49903)

* disable search text if no item exists

* update snaps
shahzad31 added a commit that referenced this pull request Oct 31, 2019
…n no location exists (#49175) (#49902)

* disable search text if no item exists

* update snaps
@shahzad31

Copy link
Copy Markdown
Contributor Author

Back Ported to 7.x/7.6 and 7.5.

patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
…n no location exists (elastic#49175)

* disable search text if no item exists

* update snaps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:fix Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.5.0 v7.6.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Uptime] disable the filter location etc if value is 0

3 participants