forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Inference Connector] Changed UI/UX due to the new RFC for the …
…_inference/_service (elastic#203363) (elastic#204690) # Backport This will backport the following commits from `main` to `8.x`: - [[Inference Connector] Changed UI/UX due to the new RFC for the _inference/_service (elastic#203363)](elastic#203363) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Yuliia Naumenko","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-13T16:00:59Z","message":"[Inference Connector] Changed UI/UX due to the new RFC for the _inference/_service (elastic#203363)\n\nRelated RFC\r\nhttps://docs.google.com/document/d/1DbWpqEKM-MJR2cSJNKLC7RcCNXXQ-_iUShsXKRFKXfk/edit?tab=t.0\r\n\r\n## Summary\r\n\r\n- removed Task Settings from the UI and schema definition, due to the\r\ndiscussion on Inference sync Dec 5th.\r\n- renamed provider to service\r\n- added name and description, use name for the service selector user\r\nfriendly way\r\n- dropped options and display type dropdown select, use freeform text\r\ninput instead\r\n- dropped `display` field type, renamed `tooltip` to the `description`.\r\nProperly updated `ConnectorConfigurationFormItems` in\r\n`x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx`\r\n\r\nUI with the updates:\r\n<img width=\"1281\" alt=\"Screenshot 2024-12-08 at 10 09 52 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/fdb17dd4-c8e4-496b-85e7-03c363546b8e\">\r\n\r\n---------\r\n\r\nCo-authored-by: Ying <[email protected]>","sha":"5b108453ffe823b5d559952f37da1030a79d3352","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","v9.0.0","backport:version","v8.18.0"],"number":203363,"url":"https://github.com/elastic/kibana/pull/203363","mergeCommit":{"message":"[Inference Connector] Changed UI/UX due to the new RFC for the _inference/_service (elastic#203363)\n\nRelated RFC\r\nhttps://docs.google.com/document/d/1DbWpqEKM-MJR2cSJNKLC7RcCNXXQ-_iUShsXKRFKXfk/edit?tab=t.0\r\n\r\n## Summary\r\n\r\n- removed Task Settings from the UI and schema definition, due to the\r\ndiscussion on Inference sync Dec 5th.\r\n- renamed provider to service\r\n- added name and description, use name for the service selector user\r\nfriendly way\r\n- dropped options and display type dropdown select, use freeform text\r\ninput instead\r\n- dropped `display` field type, renamed `tooltip` to the `description`.\r\nProperly updated `ConnectorConfigurationFormItems` in\r\n`x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx`\r\n\r\nUI with the updates:\r\n<img width=\"1281\" alt=\"Screenshot 2024-12-08 at 10 09 52 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/fdb17dd4-c8e4-496b-85e7-03c363546b8e\">\r\n\r\n---------\r\n\r\nCo-authored-by: Ying <[email protected]>","sha":"5b108453ffe823b5d559952f37da1030a79d3352"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203363","number":203363,"mergeCommit":{"message":"[Inference Connector] Changed UI/UX due to the new RFC for the _inference/_service (elastic#203363)\n\nRelated RFC\r\nhttps://docs.google.com/document/d/1DbWpqEKM-MJR2cSJNKLC7RcCNXXQ-_iUShsXKRFKXfk/edit?tab=t.0\r\n\r\n## Summary\r\n\r\n- removed Task Settings from the UI and schema definition, due to the\r\ndiscussion on Inference sync Dec 5th.\r\n- renamed provider to service\r\n- added name and description, use name for the service selector user\r\nfriendly way\r\n- dropped options and display type dropdown select, use freeform text\r\ninput instead\r\n- dropped `display` field type, renamed `tooltip` to the `description`.\r\nProperly updated `ConnectorConfigurationFormItems` in\r\n`x-pack/plugins/stack_connectors/public/connector_types/lib/dynamic_config/connector_configuration_form_items.tsx`\r\n\r\nUI with the updates:\r\n<img width=\"1281\" alt=\"Screenshot 2024-12-08 at 10 09 52 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/fdb17dd4-c8e4-496b-85e7-03c363546b8e\">\r\n\r\n---------\r\n\r\nCo-authored-by: Ying <[email protected]>","sha":"5b108453ffe823b5d559952f37da1030a79d3352"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Yuliia Naumenko <[email protected]>
1 parent
f535325
commit 246ef2a
Showing
15 changed files
with
1,915 additions
and
548 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
676 changes: 593 additions & 83 deletions
676
x-pack/plugins/stack_connectors/public/connector_types/inference/connector.test.tsx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
670 changes: 607 additions & 63 deletions
670
x-pack/plugins/stack_connectors/server/routes/get_inference_services.test.ts
Large diffs are not rendered by default.
Oops, something went wrong.
662 changes: 655 additions & 7 deletions
662
x-pack/plugins/stack_connectors/server/routes/get_inference_services.ts
Large diffs are not rendered by default.
Oops, something went wrong.