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

[Index details page] Implement the "mappings" tab #164572

Closed
yuliacech opened this issue Aug 23, 2023 · 1 comment · Fixed by #165038
Closed

[Index details page] Implement the "mappings" tab #164572

yuliacech opened this issue Aug 23, 2023 · 1 comment · Fixed by #165038
Assignees
Labels
enhancement New value added to drive a business result Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@yuliacech
Copy link
Contributor

A new index details page in Index Management is currently being developed behind a dev feature flag. We need to build the "mappings" tab.

Design

Screenshot 2023-08-23 at 13 52 34

How to

  1. Add xpack.index_management.dev.enableIndexDetailsPage: true to the file ./config/kibana.dev.yml
  2. Start ES and Kibana yarn es snapshot and yarn start
  3. Add at least one sample data set
  4. Navigate to index management and click any index name in the indices list
@yuliacech yuliacech added enhancement New value added to drive a business result Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Aug 23, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

@yuliacech yuliacech self-assigned this Aug 29, 2023
yuliacech added a commit that referenced this issue Aug 29, 2023
## Summary
Addresses #164572

This PR implements the mappings displayed in the Mappings tab of the
index details page. The mappings are loaded from the existing route
`api/index_management/mapping/:indexName`. There is a loading indicator
and an error prompt for the API request. There is a link to the mappings
docs on the right side of the tab. We need to add an Ent Search specific
docs link to the right side of the tab which will be addressed as a
separate PR ([issue](#165107)).
Also any potential performance issues with displaying the mappings
object in the code block will be addressed in a separate PR
([issue](#165112)).

### Screenshots
#### Small mappings object
<img width="1590" alt="Screenshot 2023-08-29 at 15 54 33"
src="https://github.com/elastic/kibana/assets/6585477/1b2b950c-446c-4534-8606-94df548ef2ab">

#### Large mappings object 
<img width="1576" alt="Screenshot 2023-08-29 at 15 54 20"
src="https://github.com/elastic/kibana/assets/6585477/35933fec-eb8d-439c-9cec-e03a3b7dd938">

#### Loading 
<img width="1336" alt="Screenshot 2023-08-29 at 17 07 17"
src="https://github.com/elastic/kibana/assets/6585477/4e723b72-2437-45c3-8e0e-54028bd3944b">

#### Error loading mappings
<img width="1337" alt="Screenshot 2023-08-29 at 17 07 44"
src="https://github.com/elastic/kibana/assets/6585477/2f611081-f11f-41b1-b66e-3086927b1bf0">


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
bryce-b pushed a commit to bryce-b/kibana that referenced this issue Sep 19, 2023
## Summary
Addresses elastic#164572

This PR implements the mappings displayed in the Mappings tab of the
index details page. The mappings are loaded from the existing route
`api/index_management/mapping/:indexName`. There is a loading indicator
and an error prompt for the API request. There is a link to the mappings
docs on the right side of the tab. We need to add an Ent Search specific
docs link to the right side of the tab which will be addressed as a
separate PR ([issue](elastic#165107)).
Also any potential performance issues with displaying the mappings
object in the code block will be addressed in a separate PR
([issue](elastic#165112)).

### Screenshots
#### Small mappings object
<img width="1590" alt="Screenshot 2023-08-29 at 15 54 33"
src="https://github.com/elastic/kibana/assets/6585477/1b2b950c-446c-4534-8606-94df548ef2ab">

#### Large mappings object 
<img width="1576" alt="Screenshot 2023-08-29 at 15 54 20"
src="https://github.com/elastic/kibana/assets/6585477/35933fec-eb8d-439c-9cec-e03a3b7dd938">

#### Loading 
<img width="1336" alt="Screenshot 2023-08-29 at 17 07 17"
src="https://github.com/elastic/kibana/assets/6585477/4e723b72-2437-45c3-8e0e-54028bd3944b">

#### Error loading mappings
<img width="1337" alt="Screenshot 2023-08-29 at 17 07 44"
src="https://github.com/elastic/kibana/assets/6585477/2f611081-f11f-41b1-b66e-3086927b1bf0">


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Index Management Index and index templates UI Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants