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

[Docs] Discover docs updates #198423

Merged

Conversation

florent-leborgne
Copy link
Contributor

@florent-leborgne florent-leborgne commented Oct 30, 2024

This PR updates the first few pages of the Discover docs:

  • Splits most of the content of the parent page into a child page to match with the structure of the Dashboards docs
  • Refocuses some of the content so that it looks generally applicable to users and their data rather than a sample data-based tutorial
  • Adds missing content flagged in [DataDiscovery] Documentation updates #192149
  • Adds some content updates specific to 8.16 flagged in https://github.com/elastic/platform-docs-team/issues/500 (I still need to figure out what's the best way to document ES|QL stuff)

Rel: https://github.com/elastic/platform-docs-team/issues/500
Closes: #192149
Closes: #162265
Closes: #187417

Note: While there may be more missing features that we want to document, let's first get these updates in.

Note2: If you're wondering where to preview the changes, find the preview link in the Github actions comment and navigate to the "master" version of the Kibana guide.

@florent-leborgne florent-leborgne added Team:Docs release_note:skip Skip the PR/issue when compiling release notes v9.0.0 docs Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. v8.16.0 backport:version Backport to applied version labels v8.17.0 labels Oct 30, 2024
@florent-leborgne florent-leborgne requested review from a team October 30, 2024 18:20
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-docs (Team:Docs)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

Copy link
Contributor

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@kertal
Copy link
Member

kertal commented Nov 5, 2024

@elasticmachine merge upstream

@kertal
Copy link
Member

kertal commented Nov 5, 2024

Here's a direkt link to the Discover doc in the master version: https://kibana_bk_198423.docs-preview.app.elstc.co/guide/en/kibana/master/discover.html

Copy link
Member

@kertal kertal left a comment

Choose a reason for hiding this comment

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

🙏 thanks so much for updating this, gave it a first pass, added minor comments, looking good to me on the whole

docs/discover/document-explorer.asciidoc Show resolved Hide resolved
docs/discover/document-explorer.asciidoc Show resolved Hide resolved
docs/discover/document-explorer.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
Copy link
Contributor

@davismcphee davismcphee left a comment

Choose a reason for hiding this comment

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

Great work on this, and thank you for updating our long neglected docs! 🙏 It's looking good overall. I left a bunch of comments, some with important clarifications, and many with just nits and minor suggestions. I think anything that's not related to clarifying concepts can be treated as optional.

I have some other thoughts on potential improvements for the Discover docs in general, but I'll save those for now to avoid dragging this PR out 🙂

docs/discover/document-explorer.asciidoc Outdated Show resolved Hide resolved
docs/discover/document-explorer.asciidoc Outdated Show resolved Hide resolved

* To change the chart height, drag the resize handle
image:images/resize-icon.png[two-line icon for increasing or decreasing the height of the chart, width=24px]
* Adjust the width and height of each area by dragging their border
Copy link
Contributor

Choose a reason for hiding this comment

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

I see we're using "area" here so maybe we stick with that.

docs/discover/document-explorer.asciidoc Outdated Show resolved Hide resolved
docs/discover/document-explorer.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
@florent-leborgne
Copy link
Contributor Author

florent-leborgne commented Nov 6, 2024

Thank you so much for the detailed review @davismcphee, @kertal and @jughosta. The nuances you suggested make all the difference indeed, and also clarify a few things for me.
I applied most of your recommendations. Let me know if you'd like more changes

@davismcphee I'm also happy to discuss more separately from this PR to know your other thoughts about improving these docs

Copy link
Contributor

@jughosta jughosta left a comment

Choose a reason for hiding this comment

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

Thanks, @florent-leborgne, for updating the docs! Much appreciated 🙌

docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
Copy link
Contributor

@davismcphee davismcphee left a comment

Choose a reason for hiding this comment

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

Excellent work, and thanks for incorporating the feedback! This already a huge improvement to the existing docs 🙏 I'm definitely up to discuss more on my ideas for the docs too, just need to find a bit of time to scribble down some thoughts first 😁

docs/discover/get-started-discover.asciidoc Outdated Show resolved Hide resolved
Copy link
Contributor

@jughosta jughosta left a comment

Choose a reason for hiding this comment

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

Thanks!

@florent-leborgne florent-leborgne merged commit 3d76349 into elastic:main Nov 8, 2024
8 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.16, 8.x

https://github.com/elastic/kibana/actions/runs/11741051370

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 8, 2024
This PR updates the first few pages of the Discover docs:
- Splits most of the content of the parent page into a child page to
match with the structure of the Dashboards docs
- Refocuses some of the content so that it looks generally applicable to
users and their data rather than a sample data-based tutorial
- Adds missing content flagged in
elastic#192149
- Adds some content updates specific to 8.16 flagged in
elastic/platform-docs-team#500 (I still need
to figure out what's the best way to document ES|QL stuff)

Rel: elastic/platform-docs-team#500
Closes: elastic#192149
Closes: elastic#162265
Closes: elastic#187417

Note: While there may be more missing features that we want to document,
let's first get these updates in.

Note2: If you're wondering where to preview the changes, find the
preview link in the Github actions comment and navigate to the "master"
version of the Kibana guide.

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Matthias Wilhelm <[email protected]>
Co-authored-by: Julia Rechkunova <[email protected]>
Co-authored-by: Davis McPhee <[email protected]>
(cherry picked from commit 3d76349)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 8, 2024
This PR updates the first few pages of the Discover docs:
- Splits most of the content of the parent page into a child page to
match with the structure of the Dashboards docs
- Refocuses some of the content so that it looks generally applicable to
users and their data rather than a sample data-based tutorial
- Adds missing content flagged in
elastic#192149
- Adds some content updates specific to 8.16 flagged in
elastic/platform-docs-team#500 (I still need
to figure out what's the best way to document ES|QL stuff)

Rel: elastic/platform-docs-team#500
Closes: elastic#192149
Closes: elastic#162265
Closes: elastic#187417

Note: While there may be more missing features that we want to document,
let's first get these updates in.

Note2: If you're wondering where to preview the changes, find the
preview link in the Github actions comment and navigate to the "master"
version of the Kibana guide.

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Matthias Wilhelm <[email protected]>
Co-authored-by: Julia Rechkunova <[email protected]>
Co-authored-by: Davis McPhee <[email protected]>
(cherry picked from commit 3d76349)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.16
8.x

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

Questions ?

Please refer to the Backport tool documentation

@kertal
Copy link
Member

kertal commented Nov 8, 2024

thank yor so much @florent-leborgne 🥳

kibanamachine added a commit that referenced this pull request Nov 8, 2024
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Docs] Discover docs updates
(#198423)](#198423)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"florent-leborgne","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-08T11:12:05Z","message":"[Docs]
Discover docs updates (#198423)\n\nThis PR updates the first few pages
of the Discover docs:\r\n- Splits most of the content of the parent page
into a child page to\r\nmatch with the structure of the Dashboards
docs\r\n- Refocuses some of the content so that it looks generally
applicable to\r\nusers and their data rather than a sample data-based
tutorial\r\n- Adds missing content flagged
in\r\nhttps://github.com//issues/192149\r\n- Adds some
content updates specific to 8.16 flagged
in\r\nhttps://github.com/elastic/platform-docs-team/issues/500 (I still
need\r\nto figure out what's the best way to document ES|QL
stuff)\r\n\r\nRel:
https://github.com/elastic/platform-docs-team/issues/500\r\nCloses:
#192149 \r\nCloses:
https://github.com/elastic/kibana/issues/162265\r\nCloses:
https://github.com/elastic/kibana/issues/187417\r\n\r\nNote: While there
may be more missing features that we want to document,\r\nlet's first
get these updates in.\r\n\r\nNote2: If you're wondering where to preview
the changes, find the\r\npreview link in the Github actions comment and
navigate to the \"master\"\r\nversion of the Kibana
guide.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>\r\nCo-authored-by: Matthias
Wilhelm <[email protected]>\r\nCo-authored-by: Julia Rechkunova
<[email protected]>\r\nCo-authored-by: Davis McPhee
<[email protected]>","sha":"3d763498b86b4bbd2d3b684c2153f9ac1c0eaeba","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","docs","Team:DataDiscovery","v8.16.0","backport:version","v8.17.0"],"title":"[Docs]
Discover docs
updates","number":198423,"url":"https://github.com/elastic/kibana/pull/198423","mergeCommit":{"message":"[Docs]
Discover docs updates (#198423)\n\nThis PR updates the first few pages
of the Discover docs:\r\n- Splits most of the content of the parent page
into a child page to\r\nmatch with the structure of the Dashboards
docs\r\n- Refocuses some of the content so that it looks generally
applicable to\r\nusers and their data rather than a sample data-based
tutorial\r\n- Adds missing content flagged
in\r\nhttps://github.com//issues/192149\r\n- Adds some
content updates specific to 8.16 flagged
in\r\nhttps://github.com/elastic/platform-docs-team/issues/500 (I still
need\r\nto figure out what's the best way to document ES|QL
stuff)\r\n\r\nRel:
https://github.com/elastic/platform-docs-team/issues/500\r\nCloses:
#192149 \r\nCloses:
https://github.com/elastic/kibana/issues/162265\r\nCloses:
https://github.com/elastic/kibana/issues/187417\r\n\r\nNote: While there
may be more missing features that we want to document,\r\nlet's first
get these updates in.\r\n\r\nNote2: If you're wondering where to preview
the changes, find the\r\npreview link in the Github actions comment and
navigate to the \"master\"\r\nversion of the Kibana
guide.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>\r\nCo-authored-by: Matthias
Wilhelm <[email protected]>\r\nCo-authored-by: Julia Rechkunova
<[email protected]>\r\nCo-authored-by: Davis McPhee
<[email protected]>","sha":"3d763498b86b4bbd2d3b684c2153f9ac1c0eaeba"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198423","number":198423,"mergeCommit":{"message":"[Docs]
Discover docs updates (#198423)\n\nThis PR updates the first few pages
of the Discover docs:\r\n- Splits most of the content of the parent page
into a child page to\r\nmatch with the structure of the Dashboards
docs\r\n- Refocuses some of the content so that it looks generally
applicable to\r\nusers and their data rather than a sample data-based
tutorial\r\n- Adds missing content flagged
in\r\nhttps://github.com//issues/192149\r\n- Adds some
content updates specific to 8.16 flagged
in\r\nhttps://github.com/elastic/platform-docs-team/issues/500 (I still
need\r\nto figure out what's the best way to document ES|QL
stuff)\r\n\r\nRel:
https://github.com/elastic/platform-docs-team/issues/500\r\nCloses:
#192149 \r\nCloses:
https://github.com/elastic/kibana/issues/162265\r\nCloses:
https://github.com/elastic/kibana/issues/187417\r\n\r\nNote: While there
may be more missing features that we want to document,\r\nlet's first
get these updates in.\r\n\r\nNote2: If you're wondering where to preview
the changes, find the\r\npreview link in the Github actions comment and
navigate to the \"master\"\r\nversion of the Kibana
guide.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>\r\nCo-authored-by: Matthias
Wilhelm <[email protected]>\r\nCo-authored-by: Julia Rechkunova
<[email protected]>\r\nCo-authored-by: Davis McPhee
<[email protected]>","sha":"3d763498b86b4bbd2d3b684c2153f9ac1c0eaeba"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: florent-leborgne <[email protected]>
kibanamachine added a commit that referenced this pull request Nov 8, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Docs] Discover docs updates
(#198423)](#198423)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"florent-leborgne","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-08T11:12:05Z","message":"[Docs]
Discover docs updates (#198423)\n\nThis PR updates the first few pages
of the Discover docs:\r\n- Splits most of the content of the parent page
into a child page to\r\nmatch with the structure of the Dashboards
docs\r\n- Refocuses some of the content so that it looks generally
applicable to\r\nusers and their data rather than a sample data-based
tutorial\r\n- Adds missing content flagged
in\r\nhttps://github.com//issues/192149\r\n- Adds some
content updates specific to 8.16 flagged
in\r\nhttps://github.com/elastic/platform-docs-team/issues/500 (I still
need\r\nto figure out what's the best way to document ES|QL
stuff)\r\n\r\nRel:
https://github.com/elastic/platform-docs-team/issues/500\r\nCloses:
#192149 \r\nCloses:
https://github.com/elastic/kibana/issues/162265\r\nCloses:
https://github.com/elastic/kibana/issues/187417\r\n\r\nNote: While there
may be more missing features that we want to document,\r\nlet's first
get these updates in.\r\n\r\nNote2: If you're wondering where to preview
the changes, find the\r\npreview link in the Github actions comment and
navigate to the \"master\"\r\nversion of the Kibana
guide.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>\r\nCo-authored-by: Matthias
Wilhelm <[email protected]>\r\nCo-authored-by: Julia Rechkunova
<[email protected]>\r\nCo-authored-by: Davis McPhee
<[email protected]>","sha":"3d763498b86b4bbd2d3b684c2153f9ac1c0eaeba","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","docs","Team:DataDiscovery","v8.16.0","backport:version","v8.17.0"],"title":"[Docs]
Discover docs
updates","number":198423,"url":"https://github.com/elastic/kibana/pull/198423","mergeCommit":{"message":"[Docs]
Discover docs updates (#198423)\n\nThis PR updates the first few pages
of the Discover docs:\r\n- Splits most of the content of the parent page
into a child page to\r\nmatch with the structure of the Dashboards
docs\r\n- Refocuses some of the content so that it looks generally
applicable to\r\nusers and their data rather than a sample data-based
tutorial\r\n- Adds missing content flagged
in\r\nhttps://github.com//issues/192149\r\n- Adds some
content updates specific to 8.16 flagged
in\r\nhttps://github.com/elastic/platform-docs-team/issues/500 (I still
need\r\nto figure out what's the best way to document ES|QL
stuff)\r\n\r\nRel:
https://github.com/elastic/platform-docs-team/issues/500\r\nCloses:
#192149 \r\nCloses:
https://github.com/elastic/kibana/issues/162265\r\nCloses:
https://github.com/elastic/kibana/issues/187417\r\n\r\nNote: While there
may be more missing features that we want to document,\r\nlet's first
get these updates in.\r\n\r\nNote2: If you're wondering where to preview
the changes, find the\r\npreview link in the Github actions comment and
navigate to the \"master\"\r\nversion of the Kibana
guide.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>\r\nCo-authored-by: Matthias
Wilhelm <[email protected]>\r\nCo-authored-by: Julia Rechkunova
<[email protected]>\r\nCo-authored-by: Davis McPhee
<[email protected]>","sha":"3d763498b86b4bbd2d3b684c2153f9ac1c0eaeba"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198423","number":198423,"mergeCommit":{"message":"[Docs]
Discover docs updates (#198423)\n\nThis PR updates the first few pages
of the Discover docs:\r\n- Splits most of the content of the parent page
into a child page to\r\nmatch with the structure of the Dashboards
docs\r\n- Refocuses some of the content so that it looks generally
applicable to\r\nusers and their data rather than a sample data-based
tutorial\r\n- Adds missing content flagged
in\r\nhttps://github.com//issues/192149\r\n- Adds some
content updates specific to 8.16 flagged
in\r\nhttps://github.com/elastic/platform-docs-team/issues/500 (I still
need\r\nto figure out what's the best way to document ES|QL
stuff)\r\n\r\nRel:
https://github.com/elastic/platform-docs-team/issues/500\r\nCloses:
#192149 \r\nCloses:
https://github.com/elastic/kibana/issues/162265\r\nCloses:
https://github.com/elastic/kibana/issues/187417\r\n\r\nNote: While there
may be more missing features that we want to document,\r\nlet's first
get these updates in.\r\n\r\nNote2: If you're wondering where to preview
the changes, find the\r\npreview link in the Github actions comment and
navigate to the \"master\"\r\nversion of the Kibana
guide.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<[email protected]>\r\nCo-authored-by: Matthias
Wilhelm <[email protected]>\r\nCo-authored-by: Julia Rechkunova
<[email protected]>\r\nCo-authored-by: Davis McPhee
<[email protected]>","sha":"3d763498b86b4bbd2d3b684c2153f9ac1c0eaeba"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: florent-leborgne <[email protected]>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Nov 8, 2024
This PR updates the first few pages of the Discover docs:
- Splits most of the content of the parent page into a child page to
match with the structure of the Dashboards docs
- Refocuses some of the content so that it looks generally applicable to
users and their data rather than a sample data-based tutorial
- Adds missing content flagged in
elastic#192149
- Adds some content updates specific to 8.16 flagged in
elastic/platform-docs-team#500 (I still need
to figure out what's the best way to document ES|QL stuff)

Rel: elastic/platform-docs-team#500
Closes: elastic#192149 
Closes: elastic#162265
Closes: elastic#187417

Note: While there may be more missing features that we want to document,
let's first get these updates in.

Note2: If you're wondering where to preview the changes, find the
preview link in the Github actions comment and navigate to the "master"
version of the Kibana guide.

---------

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Matthias Wilhelm <[email protected]>
Co-authored-by: Julia Rechkunova <[email protected]>
Co-authored-by: Davis McPhee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:version Backport to applied version labels docs release_note:skip Skip the PR/issue when compiling release notes Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. Team:Docs v8.16.0 v8.17.0 v9.0.0
Projects
None yet
6 participants