Skip to content

Conversation

@cjcenizal
Copy link
Contributor

@cjcenizal cjcenizal commented Aug 6, 2019

Other changes:

  • Reduce tabs from 4 to 2.
  • Increase flyout width to 480px and remove overlay.
  • Show line numbers.

Note that the endpoint is rendered only if the user has defined a policy name.

Release note

This is a minor enhancement to display the underlying Elasticsearch endpoint in the Index Lifecycle editor. Users can copy and paste this endpoint and payload to execute the request manually or use it within a script or other automated system.

image

image

- Reduce tabs from 4 to 2.
- Increase flyout width to 480px and remove overlay.
- Show line numbers.
@cjcenizal cjcenizal added release_note:enhancement Feature:ILM v8.0.0 Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v7.4.0 labels Aug 6, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@alisonelizabeth alisonelizabeth left a comment

Choose a reason for hiding this comment

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

@cjcenizal thanks for adding this!

I think the copyToClipboard method will need to be updated as well to include the endpoint. I noticed when I click the copy button it only copies the json. Can you take a look?

@cjcenizal
Copy link
Contributor Author

Great catch about the clipboard behavior, will fix! Thanks.

…tle and endpoint when there is no name specified.
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@cjcenizal
Copy link
Contributor Author

@alisonelizabeth Ready for another review!

Copy link
Contributor

@alisonelizabeth alisonelizabeth left a comment

Choose a reason for hiding this comment

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

@cjcenizal tested locally and works great now. Thanks!

@cjcenizal cjcenizal merged commit 565ab5e into elastic:master Aug 7, 2019
@cjcenizal cjcenizal deleted the ilm/show-endpoint-json branch August 7, 2019 21:52
cjcenizal added a commit to cjcenizal/kibana that referenced this pull request Aug 7, 2019
…tic#42791)

* Reduce tabs from 4 to 2.
* Increase flyout width to 480px and remove overlay.
* Show line numbers.
* Use EuiCopy component.
* Add description text.
* Update title and endpoint when there is no name specified.
cjcenizal added a commit that referenced this pull request Aug 8, 2019
…) (#42896)

* Reduce tabs from 4 to 2.
* Increase flyout width to 480px and remove overlay.
* Show line numbers.
* Use EuiCopy component.
* Add description text.
* Update title and endpoint when there is no name specified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:ILM release_note:enhancement Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more t// v7.4.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants