Skip to content

Refactoring Inference Management UI#193380

Merged
Samiul-TheSoccerFan merged 9 commits intoelastic:mainfrom
Samiul-TheSoccerFan:update-inference-management-ui-page
Sep 19, 2024
Merged

Refactoring Inference Management UI#193380
Samiul-TheSoccerFan merged 9 commits intoelastic:mainfrom
Samiul-TheSoccerFan:update-inference-management-ui-page

Conversation

@Samiul-TheSoccerFan
Copy link
Copy Markdown
Contributor

@Samiul-TheSoccerFan Samiul-TheSoccerFan commented Sep 19, 2024

Summary

This PR includes:

  • Adding header links and text
  • Restructure of columns
  • Increased pagination limit

Screenshot 2024-09-18 at 11 51 25 PM

Checklist

Delete any items that are not applicable to this PR.

@Samiul-TheSoccerFan Samiul-TheSoccerFan marked this pull request as ready for review September 19, 2024 03:59
@Samiul-TheSoccerFan Samiul-TheSoccerFan requested a review from a team as a code owner September 19, 2024 03:59
@Samiul-TheSoccerFan Samiul-TheSoccerFan added the backport This PR is a backport of another PR label Sep 19, 2024
Copy link
Copy Markdown
Member

@efegurkan efegurkan left a comment

Choose a reason for hiding this comment

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

LGTM, I have a question for me to understand otherwise
Code review only

},
sortable: true,
truncateText: true,
width: '400px',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nitpick(non-blocking): if possible can we calculate them as euiTheme base size * quotient.

};
});
}, [inferenceEndpoints, searchKey, filterOptions, deploymentStatus]);
.map((endpoint) => ({
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Doing a code only review, looks good, but I have to ask something to understand.
Did the data changed or are you using different fields only?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The API calls will still get the same data however with these changes, we are updating how the data got presented
in the Table View.

@Samiul-TheSoccerFan
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #67 / Serverless Index Management APIs Inference endpoints create inference endpoint

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
searchInferenceEndpoints 95 91 -4

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
searchInferenceEndpoints 64.7KB 61.6KB -3.1KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
searchInferenceEndpoints 5.4KB 5.3KB -56.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@Samiul-TheSoccerFan Samiul-TheSoccerFan merged commit fd149a5 into elastic:main Sep 19, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 19, 2024
## Summary

This PR includes:
- Adding header links and text
- Restructure of columns
- Increased pagination limit

![Screenshot 2024-09-18 at 11 51
25 PM](https://github.com/user-attachments/assets/a4fc1324-4365-4f1c-a33e-3d247227bcfa)

### Checklist

Delete any items that are not applicable to this PR.

- [X] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [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: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit fd149a5)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
8.x

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Sep 19, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [Refactoring Inference Management UI
(#193380)](#193380)

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

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

<!--BACKPORT [{"author":{"name":"Samiul
Monir","email":"150824886+Samiul-TheSoccerFan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-09-19T21:33:28Z","message":"Refactoring
Inference Management UI (#193380)\n\n## Summary\r\n\r\nThis PR
includes:\r\n- Adding header links and text\r\n- Restructure of
columns\r\n- Increased pagination limit\r\n\r\n![Screenshot 2024-09-18
at 11
51\r\n25 PM](https://github.com/user-attachments/assets/a4fc1324-4365-4f1c-a33e-3d247227bcfa)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [X] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[X] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"fd149a5ab2c935d9f8f2dfe17c7f35c8a1c1f353","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:fix","v9.0.0","Team:Search","v8.16.0"],"title":"Refactoring
Inference Management
UI","number":193380,"url":"https://github.com/elastic/kibana/pull/193380","mergeCommit":{"message":"Refactoring
Inference Management UI (#193380)\n\n## Summary\r\n\r\nThis PR
includes:\r\n- Adding header links and text\r\n- Restructure of
columns\r\n- Increased pagination limit\r\n\r\n![Screenshot 2024-09-18
at 11
51\r\n25 PM](https://github.com/user-attachments/assets/a4fc1324-4365-4f1c-a33e-3d247227bcfa)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [X] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[X] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"fd149a5ab2c935d9f8f2dfe17c7f35c8a1c1f353"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193380","number":193380,"mergeCommit":{"message":"Refactoring
Inference Management UI (#193380)\n\n## Summary\r\n\r\nThis PR
includes:\r\n- Adding header links and text\r\n- Restructure of
columns\r\n- Increased pagination limit\r\n\r\n![Screenshot 2024-09-18
at 11
51\r\n25 PM](https://github.com/user-attachments/assets/a4fc1324-4365-4f1c-a33e-3d247227bcfa)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [X] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[X] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"fd149a5ab2c935d9f8f2dfe17c7f35c8a1c1f353"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Samiul Monir <150824886+Samiul-TheSoccerFan@users.noreply.github.com>
@Samiul-TheSoccerFan Samiul-TheSoccerFan deleted the update-inference-management-ui-page branch September 19, 2024 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants