Skip to content

Commit

Permalink
[8.x] style(ux-dashboards): fixed width from saved object type column (
Browse files Browse the repository at this point in the history
…elastic#194388) (elastic#196952)

# Backport

This will backport the following commits from `main` to `8.x`:
- [style(ux-dashboards): fixed width from saved object type column
(elastic#194388)](elastic#194388)

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

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

<!--BACKPORT
[{"author":{"name":"ruby","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-18T19:54:35Z","message":"style(ux-dashboards):
fixed width from saved object type column (elastic#194388)\n\n##
Summary\r\nFixes
https://github.com/elastic/kibana/issues/193750\r\n\r\nRemoved the fixed
width of 50px from the type column in the saved object\r\nfinder UI to
allow for more flexible and responsive table
formatting.\r\n\r\nBefore:\r\n\r\n![image](https://github.com/user-attachments/assets/df4d312c-8956-482e-a91e-643831e7364e)\r\n\r\nNow:\r\n\r\n![image](https://github.com/user-attachments/assets/987f37e6-b14e-41c5-a435-ce2539936c7c)\r\n\r\n\r\nBut
I'm not sure if changing the width to 70px is more
appropriate\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/f6a52146-bc7a-4d65-b86c-a7c1393c88f5)\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<[email protected]>\r\nCo-authored-by: Davis
McPhee
<[email protected]>","sha":"febb198a8ab7b4407d72d881b319c84ed73ee5d3","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","💝community","v9.0.0","Team:DataDiscovery","backport:prev-major"],"title":"style(ux-dashboards):
fixed width from saved object type
column","number":194388,"url":"https://github.com/elastic/kibana/pull/194388","mergeCommit":{"message":"style(ux-dashboards):
fixed width from saved object type column (elastic#194388)\n\n##
Summary\r\nFixes
https://github.com/elastic/kibana/issues/193750\r\n\r\nRemoved the fixed
width of 50px from the type column in the saved object\r\nfinder UI to
allow for more flexible and responsive table
formatting.\r\n\r\nBefore:\r\n\r\n![image](https://github.com/user-attachments/assets/df4d312c-8956-482e-a91e-643831e7364e)\r\n\r\nNow:\r\n\r\n![image](https://github.com/user-attachments/assets/987f37e6-b14e-41c5-a435-ce2539936c7c)\r\n\r\n\r\nBut
I'm not sure if changing the width to 70px is more
appropriate\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/f6a52146-bc7a-4d65-b86c-a7c1393c88f5)\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<[email protected]>\r\nCo-authored-by: Davis
McPhee
<[email protected]>","sha":"febb198a8ab7b4407d72d881b319c84ed73ee5d3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194388","number":194388,"mergeCommit":{"message":"style(ux-dashboards):
fixed width from saved object type column (elastic#194388)\n\n##
Summary\r\nFixes
https://github.com/elastic/kibana/issues/193750\r\n\r\nRemoved the fixed
width of 50px from the type column in the saved object\r\nfinder UI to
allow for more flexible and responsive table
formatting.\r\n\r\nBefore:\r\n\r\n![image](https://github.com/user-attachments/assets/df4d312c-8956-482e-a91e-643831e7364e)\r\n\r\nNow:\r\n\r\n![image](https://github.com/user-attachments/assets/987f37e6-b14e-41c5-a435-ce2539936c7c)\r\n\r\n\r\nBut
I'm not sure if changing the width to 70px is more
appropriate\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/f6a52146-bc7a-4d65-b86c-a7c1393c88f5)\r\n\r\n---------\r\n\r\nCo-authored-by:
Elastic Machine
<[email protected]>\r\nCo-authored-by: Davis
McPhee
<[email protected]>","sha":"febb198a8ab7b4407d72d881b319c84ed73ee5d3"}}]}]
BACKPORT-->

Co-authored-by: ruby <[email protected]>
  • Loading branch information
kibanamachine and Ruby-rc authored Oct 18, 2024
1 parent 2e05118 commit c6fedca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export class SavedObjectFinderUi extends React.Component<
name: i18n.translate('savedObjectsFinder.typeName', {
defaultMessage: 'Type',
}),
width: '50px',
width: '70px',
align: 'center',
description: i18n.translate('savedObjectsFinder.typeDescription', {
defaultMessage: 'Type of the saved object',
Expand Down

0 comments on commit c6fedca

Please sign in to comment.