[ML] Remove "Are you sure" from data frame analytics jobs#76214
[ML] Remove "Are you sure" from data frame analytics jobs#76214lcawl merged 4 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/ml-ui (:ml) |
|
@elasticmachine merge upstream |
There was a problem hiding this comment.
I'm wondering if you can shorten the radio buttons and maybe include the word "job" in the title:
Delete job outliers1?
Delete destination index
Delete index patternCancel | Delete
Does the name of an analytics job ever get very long? If so, you might want to use a more generic title like "Delete this analytics job?"
...ta_frame_analytics/pages/analytics_management/components/action_start/start_action_modal.tsx
Outdated
Show resolved
Hide resolved
I think that even if we remove the job name from the title, we'd want to keep the names for the destination index and index pattern, since I think those might differ from the job name. I used quick default values, so that's why they're the same in this case. |
peteharverson
left a comment
There was a problem hiding this comment.
Tested and LGTM.
I think it's worth keeping the index / index pattern names in the modal to clarify exactly what will be deleted, because as @lcawl commented, they might not have the same name as the job, e.g.
💚 Build SucceededBuild metricsasync chunks size
History
To update your PR or re-run it, just comment with: |
* master: (223 commits) skip flaky suite (elastic#75724) [Reporting] Add functional test for Reports in non-default spaces (elastic#76053) [Enterprise Search] Fix various icons in dark mode (elastic#76430) skip flaky suite (elastic#76245) Add `auto` interval to histogram AggConfig (elastic#76001) [Resolver] generator uses setup_node_env (elastic#76422) [Ingest Manager] Support both zip & tar archives from Registry (elastic#76197) [Ingest Manager] Improve agent vs kibana version checks (elastic#76238) Manually building `KueryNode` for Fleet's routes (elastic#75693) remove dupe tinymath section (elastic#76093) Create APM issue template (elastic#76362) Delete unused file. (elastic#76386) [SECURITY_SOLUTION][ENDPOINT] Trusted Apps Create API (elastic#76178) [Detections Engine] Add Alert actions to the Timeline (elastic#73228) [Dashboard First] Library Notification (elastic#76122) [Maps] Add mvt support for ES doc sources (elastic#75698) Add setHeaderActionMenu API to AppMountParameters (elastic#75422) [ML] Remove "Are you sure" from data frame analytics jobs (elastic#76214) [yarn] remove typings-tester, use @ts-expect-error (elastic#76341) [Reporting/CSV] Do not fail the job if scroll ID can not be cleared (elastic#76014) ...

Summary
Per https://elastic.github.io/eui/#/guidelines/writing, we should avoid using "Are you sure" in our UI messages. This PR cleans up some data frame analytic-related occurrences of that text.
Checklist
Delete any items that are not applicable to this PR.
Screenshots (Before)
Delete a data frame analytics job:
Start a data frame analytics job:
Screenshots (After)
Delete a data frame analytics job:
Start a job: