Skip to content

[kbn-grid-layout] Fix mobile styles#212312

Merged
Heenawter merged 1 commit intoelastic:mainfrom
Heenawter:kbn-grid-layout_fix-mobile-view_2025-02-24
Feb 25, 2025
Merged

[kbn-grid-layout] Fix mobile styles#212312
Heenawter merged 1 commit intoelastic:mainfrom
Heenawter:kbn-grid-layout_fix-mobile-view_2025-02-24

Conversation

@Heenawter
Copy link
Copy Markdown
Contributor

@Heenawter Heenawter commented Feb 24, 2025

Summary

This PR fixes a broken style introduced in #210285 where, when rewriting the single column styles from strings to objects, I accidentally set the property gridTemplateAreas instead of gridTemplateColumns - this resulted in the single column / mobile view being broken:

Before After
image image

Checklist

  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines

@Heenawter Heenawter added bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features release_note:fix Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// loe:small Small Level of Effort impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. backport:version Backport to applied version labels v9.1.0 v8.19.0 labels Feb 24, 2025
@Heenawter Heenawter self-assigned this Feb 24, 2025
@Heenawter Heenawter added release_note:skip Skip the PR/issue when compiling release notes impact:critical This issue should be addressed immediately due to a critical level of impact on the product. and removed release_note:fix impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. labels Feb 24, 2025
@Heenawter Heenawter requested a review from mbondyra February 24, 2025 21:32
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

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

id before after diff
dashboard 541.8KB 541.8KB +1.0B

cc @Heenawter

@Heenawter Heenawter marked this pull request as ready for review February 24, 2025 23:11
@Heenawter Heenawter requested a review from a team as a code owner February 24, 2025 23:11
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@Heenawter Heenawter merged commit 464a471 into elastic:main Feb 25, 2025
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/13526040335

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 25, 2025
## Summary

This PR fixes a broken style introduced in
elastic#210285 where, when rewriting the
single column styles from strings to objects, I accidentally set the
property `gridTemplateAreas` instead of `gridTemplateColumns` - this
resulted in the single column / mobile view being broken:

| Before | After |
|--------|--------|
|
![image](https://github.com/user-attachments/assets/e0541cc7-66dd-41a0-8e21-6931c491cea4)
|
![image](https://github.com/user-attachments/assets/12bc1453-1da4-4784-9242-b1cccdf9e24e)
|

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit 464a471)
@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 Feb 25, 2025
# Backport

This will backport the following commits from `main` to `8.x`:
- [[kbn-grid-layout] Fix mobile styles
(#212312)](#212312)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Hannah
Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-25T16:26:26Z","message":"[kbn-grid-layout]
Fix mobile styles (#212312)\n\n## Summary\n\nThis PR fixes a broken
style introduced in\nhttps://github.com//pull/210285
where, when rewriting the\nsingle column styles from strings to objects,
I accidentally set the\nproperty `gridTemplateAreas` instead of
`gridTemplateColumns` - this\nresulted in the single column / mobile
view being broken:\n\n| Before | After
|\n|--------|--------|\n|\n![image](https://github.com/user-attachments/assets/e0541cc7-66dd-41a0-8e21-6931c491cea4)\n|\n![image](https://github.com/user-attachments/assets/12bc1453-1da4-4784-9242-b1cccdf9e24e)\n|\n\n\n###
Checklist\n\n- [x] The PR description includes the appropriate Release
Notes section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"464a4714468fa70552e4b110af5fdb17a3e44161","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Feature:Dashboard","Team:Presentation","loe:small","release_note:skip","impact:critical","backport:version","v9.1.0","v8.19.0"],"title":"[kbn-grid-layout]
Fix mobile
styles","number":212312,"url":"https://github.com/elastic/kibana/pull/212312","mergeCommit":{"message":"[kbn-grid-layout]
Fix mobile styles (#212312)\n\n## Summary\n\nThis PR fixes a broken
style introduced in\nhttps://github.com//pull/210285
where, when rewriting the\nsingle column styles from strings to objects,
I accidentally set the\nproperty `gridTemplateAreas` instead of
`gridTemplateColumns` - this\nresulted in the single column / mobile
view being broken:\n\n| Before | After
|\n|--------|--------|\n|\n![image](https://github.com/user-attachments/assets/e0541cc7-66dd-41a0-8e21-6931c491cea4)\n|\n![image](https://github.com/user-attachments/assets/12bc1453-1da4-4784-9242-b1cccdf9e24e)\n|\n\n\n###
Checklist\n\n- [x] The PR description includes the appropriate Release
Notes section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"464a4714468fa70552e4b110af5fdb17a3e44161"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212312","number":212312,"mergeCommit":{"message":"[kbn-grid-layout]
Fix mobile styles (#212312)\n\n## Summary\n\nThis PR fixes a broken
style introduced in\nhttps://github.com//pull/210285
where, when rewriting the\nsingle column styles from strings to objects,
I accidentally set the\nproperty `gridTemplateAreas` instead of
`gridTemplateColumns` - this\nresulted in the single column / mobile
view being broken:\n\n| Before | After
|\n|--------|--------|\n|\n![image](https://github.com/user-attachments/assets/e0541cc7-66dd-41a0-8e21-6931c491cea4)\n|\n![image](https://github.com/user-attachments/assets/12bc1453-1da4-4784-9242-b1cccdf9e24e)\n|\n\n\n###
Checklist\n\n- [x] The PR description includes the appropriate Release
Notes section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"464a4714468fa70552e4b110af5fdb17a3e44161"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
JoseLuisGJ pushed a commit to JoseLuisGJ/kibana that referenced this pull request Feb 27, 2025
## Summary

This PR fixes a broken style introduced in
elastic#210285 where, when rewriting the
single column styles from strings to objects, I accidentally set the
property `gridTemplateAreas` instead of `gridTemplateColumns` - this
resulted in the single column / mobile view being broken:

| Before | After |
|--------|--------|
|
![image](https://github.com/user-attachments/assets/e0541cc7-66dd-41a0-8e21-6931c491cea4)
|
![image](https://github.com/user-attachments/assets/12bc1453-1da4-4784-9242-b1cccdf9e24e)
|


### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Mar 4, 2025
…12410)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[kbn-grid-layout] Fix mobile styles
(elastic#212312)](elastic#212312)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Hannah
Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-25T16:26:26Z","message":"[kbn-grid-layout]
Fix mobile styles (elastic#212312)\n\n## Summary\n\nThis PR fixes a broken
style introduced in\nhttps://github.com/elastic/pull/210285
where, when rewriting the\nsingle column styles from strings to objects,
I accidentally set the\nproperty `gridTemplateAreas` instead of
`gridTemplateColumns` - this\nresulted in the single column / mobile
view being broken:\n\n| Before | After
|\n|--------|--------|\n|\n![image](https://github.com/user-attachments/assets/e0541cc7-66dd-41a0-8e21-6931c491cea4)\n|\n![image](https://github.com/user-attachments/assets/12bc1453-1da4-4784-9242-b1cccdf9e24e)\n|\n\n\n###
Checklist\n\n- [x] The PR description includes the appropriate Release
Notes section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"464a4714468fa70552e4b110af5fdb17a3e44161","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Feature:Dashboard","Team:Presentation","loe:small","release_note:skip","impact:critical","backport:version","v9.1.0","v8.19.0"],"title":"[kbn-grid-layout]
Fix mobile
styles","number":212312,"url":"https://github.com/elastic/kibana/pull/212312","mergeCommit":{"message":"[kbn-grid-layout]
Fix mobile styles (elastic#212312)\n\n## Summary\n\nThis PR fixes a broken
style introduced in\nhttps://github.com/elastic/pull/210285
where, when rewriting the\nsingle column styles from strings to objects,
I accidentally set the\nproperty `gridTemplateAreas` instead of
`gridTemplateColumns` - this\nresulted in the single column / mobile
view being broken:\n\n| Before | After
|\n|--------|--------|\n|\n![image](https://github.com/user-attachments/assets/e0541cc7-66dd-41a0-8e21-6931c491cea4)\n|\n![image](https://github.com/user-attachments/assets/12bc1453-1da4-4784-9242-b1cccdf9e24e)\n|\n\n\n###
Checklist\n\n- [x] The PR description includes the appropriate Release
Notes section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"464a4714468fa70552e4b110af5fdb17a3e44161"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/212312","number":212312,"mergeCommit":{"message":"[kbn-grid-layout]
Fix mobile styles (elastic#212312)\n\n## Summary\n\nThis PR fixes a broken
style introduced in\nhttps://github.com/elastic/pull/210285
where, when rewriting the\nsingle column styles from strings to objects,
I accidentally set the\nproperty `gridTemplateAreas` instead of
`gridTemplateColumns` - this\nresulted in the single column / mobile
view being broken:\n\n| Before | After
|\n|--------|--------|\n|\n![image](https://github.com/user-attachments/assets/e0541cc7-66dd-41a0-8e21-6931c491cea4)\n|\n![image](https://github.com/user-attachments/assets/12bc1453-1da4-4784-9242-b1cccdf9e24e)\n|\n\n\n###
Checklist\n\n- [x] The PR description includes the appropriate Release
Notes section,\nand the correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"464a4714468fa70552e4b110af5fdb17a3e44161"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
## Summary

This PR fixes a broken style introduced in
elastic#210285 where, when rewriting the
single column styles from strings to objects, I accidentally set the
property `gridTemplateAreas` instead of `gridTemplateColumns` - this
resulted in the single column / mobile view being broken:

| Before | After |
|--------|--------|
|
![image](https://github.com/user-attachments/assets/e0541cc7-66dd-41a0-8e21-6931c491cea4)
|
![image](https://github.com/user-attachments/assets/12bc1453-1da4-4784-9242-b1cccdf9e24e)
|


### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features impact:critical This issue should be addressed immediately due to a critical level of impact on the product. loe:small Small Level of Effort release_note:skip Skip the PR/issue when compiling release notes Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas t// v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants