-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Ingest pipelines] Address copy feedback #65175
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
[Ingest pipelines] Address copy feedback #65175
Conversation
|
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
5ef63d8 to
4878cde
Compare
| <FormattedMessage | ||
| id="xpack.ingestPipelines.testPipelineFlyout.outputTab.descriptionText" | ||
| defaultMessage="The output of the executed pipeline. {runLink}" | ||
| defaultMessage="View the final output data, or see how each processor affects the ingest document as it passes through the pipeline. {runLink}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gchaps Let me know what you think of this (screenshot in initial PR comment). This differs from your original suggestion, as the View verbose output is actually disabled by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great overall! I had a couple minor concerns which I think we should address before merging.
| return ( | ||
| <> | ||
| {acc}{' '} | ||
| <FormattedMessage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's worth checking with the i18n folks, but I don't think that we can depend on all languages following the English structure of using a word ("and" in the case of English) to join the last item onto a list. It might be safer to use the original pattern of simply joining on a comma.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point. I reverted the change to the original implementation. This also follows the pattern we're using in Snapshot + Restore, so it will be consistent.
| title={ | ||
| <FormattedMessage | ||
| id="xpack.ingestPipelines.list.loadErrorTitle" | ||
| defaultMessage="Unable to load pipelines. Try {reloadLink} the page." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way this text is phrased, it seems like clicking the reload link will reload the page, which I think of as a browser page refresh. But clicking this link will actually just resend the request to load the pipelines. Can we align text with action more closely by phrasing this as "Try reloading them"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! I went with Gail's suggestion: "Try again".
|
I'm going to rescind one of my earlier comments. I think the text reads better as "Provide an array of documents for the pipeline to ingest." Per @cjcenizal, how about: Unable to load pipelines. Try again. and make "Try again" the link. The text in the Output screen felt a little too long for me. How about we go back to using an intro and tooltip: Intro: View the final output data. |
RGTM!
I'm not sure the intro/tooltip option is equivalent with what we currently have. The current text offers the user two exclusive options: final output data or data per-processor. But your suggestion makes it sound like the tooltip text is an elaboration upon the intro text. |
|
Hey @alisonelizabeth I just glanced at your screenshots and have one request. Can you separate create a single empty state panel instead of putting the empty state underneath the title for the listing page? It just creates a weird hierarchy as it is and then you can explain more of what a pipeline is and duplicate the docs link inside of it. |
|
@cchaos thanks for the catch! |
|
Empty state How about using "Learn more" followed by an icon to let users know they are going to an outside doc. Output
We could keep the intro (I removed a few words) and then use a space to separate the intro from the Refresh link so it doesn't feel so crowded) View the output data, or see how each processor affects the document as it passes through the pipeline. Failure processors What about adding the word "alternate". Some choices:
|
|
@gchaps @cjcenizal I believe I addressed all of your feedback. Thanks for the review! Updated screenshots: Output tab - I'm not sure if I'm sold on the "Refresh output" link on its own line. @cchaos WDYT? |
|
Thanks @alisonelizabeth for going ahead and tackling the empty screen! Could you also add a small line break before the "Learn more" link? Just to ensure that there isn't a line break inside of the link itself. As for the refresh button. AFAICT, It refreshes the code block below? If it's crammed up with the description text above then it seems more like a link than a button. I would even go further and maybe make it a proper button (the borderd, but small kind). You could also put the refresh button and the toggle in the same line with the toggle on the far right. So then it looks like a toolbar for the code output. |
|
Text looks good. I have one small comment. For the error message, can we use "Try again"? |
@gchaps oops! The screenshot I added was outdated. The text is "Try again" now. |
|
Thanks @cchaos! I added a line break to the empty prompt and also applied your suggestion regarding the "Reload" functionality. I think this looks a lot better now - thanks! |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
|
I’m going to merge this so we make FF. |
* master: (72 commits) add tsvb tests to Firefox suite (elastic#65425) Fix flaky ServerMetricsCollector integration test (elastic#65420) [APM] Custom links section inside the Actions menu is showing outside of the menu (elastic#65428) [ML] Adds docs_per_second to transform edit form. (elastic#65365) update apm index pattern (elastic#65424) add direct build command (elastic#65431) [ML] Adding daily_model_snapshot_retention_after_days to types and schemas (elastic#65417) [chore] Improve request cancelation handling in vis embeddable (elastic#65057) [Alerting] migrates acceptance and functional test fixtures to KP (elastic#64888) [ML] Fixes reordering in view by selection when overall cell selected (elastic#65290) Additional branding updates (elastic#64712) Remove redundant formatting of percentage column (elastic#64948) [SIEM][CASE] Configuration pages UI redesign (elastic#65355) New nav (elastic#64018) [Ingest pipelines] Address copy feedback (elastic#65175) bug fixing (elastic#65387) skip whole suite blocking snapshots (elastic#65377) add related event generation to ancestor nodes (fixes a bug) (elastic#64950) [Canvas] move files from legacy/plugins to plugins (elastic#65283) [SIEM] template timeline UI (elastic#64439) ...








This PR updates copy in the Ingest Node Pipelines app.
Screenshots