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

[Synthetics UI] Update copy for test now functionality on private locations #137912

Conversation

justinkambic
Copy link
Contributor

@justinkambic justinkambic commented Aug 2, 2022

Summary

Resolves #137898.

Modifies the copy displayed on a tooltip in the application.

@justinkambic justinkambic added bug Fixes for quality problems that affect the customer experience Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability release_note:skip Skip the PR/issue when compiling release notes v8.4.0 v8.5.0 labels Aug 2, 2022
@justinkambic justinkambic requested a review from a team as a code owner August 2, 2022 19:54
@justinkambic justinkambic self-assigned this Aug 2, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@@ -82,7 +82,8 @@ export const TEST_NOW_AVAILABLE_LABEL = i18n.translate(
export const PRIVATE_AVAILABLE_LABEL = i18n.translate(
'xpack.synthetics.monitorList.testNow.available.private',
{
defaultMessage: 'For now, Test now is disabled for private locations monitors.',
defaultMessage:
'Test now is currently not available for monitors running on Private Locations.',
Copy link
Contributor

Choose a reason for hiding this comment

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

@justinkambic do you have a screenshot of how this is being used? My initial reaction is that Test now ... is confusing, but if this tooltip is targeting a button that says "Test now" it might be ok (or we could just say "This is not currently available for...").

Copy link
Contributor Author

@justinkambic justinkambic Aug 4, 2022

Choose a reason for hiding this comment

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

@colleenmcginnis if the monitor in the list is not fleet-managed and has a valid config ID, we render a play button which will kick off the one-off test.

We render the tooltip that uses this label in the case that the monitor is fleet-managed. So if the user created the monitor with the synthetics integration, and it's being handled with elastic agent/fleet rather than the synthetics service, we're not able to test it on demand.

I don't have a screenshot of this and my env isn't configured in a way that I can easily get one, but does that explanation make sense? If a screenshot is still necessary I can see about getting one for you today.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks @justinkambic. What to you think about something like this instead?

You can't currently test monitors running on private locations on demand.

Copy link
Contributor

Choose a reason for hiding this comment

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

@colleenmcginnis I am attaching screenshots of the three states this play (Test now) button can have. Please see if

You can't currently test monitors running on private locations on demand.

is till valid observing the context in screenshots. Also, we may need to change the copy for the other disabled state similar to this one.

When Test now is available.
Screenshot 2022-08-10 at 17 16 53

When Test now is not available due to monitor running on Private Loations.
Screenshot 2022-08-10 at 17 16 56

When Test now is not available due to a legacy monitor.
Screenshot 2022-08-10 at 17 17 02

@awahab07
Copy link
Contributor

awahab07 commented Aug 9, 2022

@elasticmachine merge upstream

@justinkambic justinkambic force-pushed the 137898/update-copy-for-private-locations-test-now-message branch from 368dd2c to 91a64ba Compare August 11, 2022 15:28
@@ -82,7 +82,7 @@ export const TEST_NOW_AVAILABLE_LABEL = i18n.translate(
export const PRIVATE_AVAILABLE_LABEL = i18n.translate(
'xpack.synthetics.monitorList.testNow.available.private',
{
defaultMessage: 'For now, Test now is disabled for private locations monitors.',
defaultMessage: `You can't currently test monitors running on private locations on demand.`,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@colleenmcginnis LMK if you'd like to see anything else changed here.

Copy link
Contributor

Choose a reason for hiding this comment

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

This looks good to me if it looks good to you! 👍

@justinkambic
Copy link
Contributor Author

@awahab07 @colleenmcginnis can one/both of you approve if there are no further changes needed?

@awahab07
Copy link
Contributor

@elasticmachine merge upstream

@justinkambic justinkambic force-pushed the 137898/update-copy-for-private-locations-test-now-message branch from 7f596c1 to f6b0c1c Compare August 15, 2022 13:59
@kibana-ci
Copy link
Collaborator

kibana-ci commented Aug 15, 2022

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Integration Tests #2 / Fleet preconfiguration reset Reset all policy Works and reset all preconfigured policies
  • [job] [logs] Jest Integration Tests #2 / Fleet preconfiguration reset Reset one preconfigured policy Works and reset one preconfigured policies if the policy is already deleted (with a ghost package policy)
  • [job] [logs] Jest Integration Tests #2 / Fleet preconfiguration reset Reset one preconfigured policy Works and reset one preconfigured policies if the policy was deleted with a preconfiguration deletion record
  • [job] [logs] Jest Integration Tests #2 / Fleet preconfiguration reset Reset one preconfigured policy Works if the preconfigured policies already exists with a missing package policy

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
synthetics 912.4KB 912.4KB +12.0B

History

  • 💔 Build #64979 failed 7f596c1a02fa164ff282453d9c7e9e67a2437004
  • 💛 Build #64581 was flaky 91a64ba42ab9bb659d633ec9d4110dc71da69f02
  • 💚 Build #63959 succeeded 368dd2ca4fb096d99d6e960c86c9e817d940af84
  • 💚 Build #62583 succeeded 0283f48b543211dc3753e1acd6d9db59f48bec23

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

cc @justinkambic

Copy link
Contributor

@awahab07 awahab07 left a comment

Choose a reason for hiding this comment

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

LGTM

@justinkambic justinkambic merged commit e7772b1 into elastic:main Aug 15, 2022
@justinkambic justinkambic deleted the 137898/update-copy-for-private-locations-test-now-message branch August 15, 2022 16:11
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Aug 15, 2022
…ations (elastic#137912)

* Update copy for test now functionality on private locations.

* Update copy based on PR feedback.

(cherry picked from commit e7772b1)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.4

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit to dimaanj/kibana that referenced this pull request Aug 15, 2022
…ations (elastic#137912) (elastic#138835)

* Update copy for test now functionality on private locations.

* Update copy based on PR feedback.

(cherry picked from commit e7772b1)

Co-authored-by: Justin Kambic <[email protected]>
Mpdreamz pushed a commit to Mpdreamz/kibana that referenced this pull request Sep 6, 2022
…ations (elastic#137912)

* Update copy for test now functionality on private locations.

* Update copy based on PR feedback.
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 v8.4.0 v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Uptime] nit wording change on Test now
6 participants