Skip to content

[9.1] [Dashboard][A11y] Improve usability of dashboard in 400% zoom (#228978)#230471

Merged
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-228978
Aug 4, 2025
Merged

[9.1] [Dashboard][A11y] Improve usability of dashboard in 400% zoom (#228978)#230471
kibanamachine merged 1 commit intoelastic:9.1from
kibanamachine:backport/9.1/pr-228978

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

…c#228978)

## Summary

Closes elastic#182848.

This PR improves the usability of dashboard up to 400% zoom. The unified
search bar is no longer sticky on small viewports. I also force a
min-height of the available height on a maximized panel.

#### 1280x1024 @ 400% zoom (equivalent of 320x256)

##### Scrollable unified search bar

https://github.com/user-attachments/assets/0e69d6bc-5591-423e-b213-d8bd56656218

##### Maximized panel

https://github.com/user-attachments/assets/c9775858-ce72-47b7-9875-d96c093b01ec

Notable changes:
- Allow unified search bar to scroll when the viewport width is < 768px
- Add min-width of the viewport to maximized panels when viewport width
is < 768px

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] 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/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [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
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] 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)
- [ ] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

---------

Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
(cherry picked from commit 98bfa05)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Aug 4, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) August 4, 2025 19:54
@kibanamachine kibanamachine merged commit a0b0b7c into elastic:9.1 Aug 4, 2025
16 checks passed
cqliu1 added a commit that referenced this pull request Aug 7, 2025
…228978) (#230604)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Dashboard][A11y] Improve usability of dashboard in 400% zoom
(#228978)](#228978)

<!--- Backport version: 10.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Catherine
Liu","email":"catherine.liu@elastic.co"},"sourceCommit":{"committedDate":"2025-08-04T19:40:07Z","message":"[Dashboard][A11y]
Improve usability of dashboard in 400% zoom (#228978)\n\n##
Summary\n\nCloses #182848.\n\nThis PR improves the usability of
dashboard up to 400% zoom. The unified\nsearch bar is no longer sticky
on small viewports. I also force a\nmin-height of the available height
on a maximized panel.\n\n#### 1280x1024 @ 400% zoom (equivalent of
320x256)\n\n##### Scrollable unified search
bar\n\nhttps://github.com/user-attachments/assets/0e69d6bc-5591-423e-b213-d8bd56656218\n\n#####
Maximized
panel\n\n\nhttps://github.com/user-attachments/assets/c9775858-ce72-47b7-9875-d96c093b01ec\n\nNotable
changes:\n- Allow unified search bar to scroll when the viewport width
is < 768px\n- Add min-width of the viewport to maximized panels when
viewport width\nis < 768px\n\n\n### Checklist\n\nCheck the PR satisfies
following conditions. \n\nReviewers should verify this PR satisfies this
list as well.\n\n- [ ] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] 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)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ] ...\n\n---------\n\nCo-authored-by: Marta Bondyra
<4283304+mbondyra@users.noreply.github.com>","sha":"98bfa0554550f5829ef3fc924989332b9ef77893","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Feature:Dashboard","Project:Accessibility","Team:Presentation","loe:medium","impact:medium","ci:cloud-deploy","backport:version","v9.2.0","v9.0.5","v9.1.1"],"title":"[Dashboard][A11y]
Improve usability of dashboard in 400%
zoom","number":228978,"url":"https://github.com/elastic/kibana/pull/228978","mergeCommit":{"message":"[Dashboard][A11y]
Improve usability of dashboard in 400% zoom (#228978)\n\n##
Summary\n\nCloses #182848.\n\nThis PR improves the usability of
dashboard up to 400% zoom. The unified\nsearch bar is no longer sticky
on small viewports. I also force a\nmin-height of the available height
on a maximized panel.\n\n#### 1280x1024 @ 400% zoom (equivalent of
320x256)\n\n##### Scrollable unified search
bar\n\nhttps://github.com/user-attachments/assets/0e69d6bc-5591-423e-b213-d8bd56656218\n\n#####
Maximized
panel\n\n\nhttps://github.com/user-attachments/assets/c9775858-ce72-47b7-9875-d96c093b01ec\n\nNotable
changes:\n- Allow unified search bar to scroll when the viewport width
is < 768px\n- Add min-width of the viewport to maximized panels when
viewport width\nis < 768px\n\n\n### Checklist\n\nCheck the PR satisfies
following conditions. \n\nReviewers should verify this PR satisfies this
list as well.\n\n- [ ] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] 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)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ] ...\n\n---------\n\nCo-authored-by: Marta Bondyra
<4283304+mbondyra@users.noreply.github.com>","sha":"98bfa0554550f5829ef3fc924989332b9ef77893"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/228978","number":228978,"mergeCommit":{"message":"[Dashboard][A11y]
Improve usability of dashboard in 400% zoom (#228978)\n\n##
Summary\n\nCloses #182848.\n\nThis PR improves the usability of
dashboard up to 400% zoom. The unified\nsearch bar is no longer sticky
on small viewports. I also force a\nmin-height of the available height
on a maximized panel.\n\n#### 1280x1024 @ 400% zoom (equivalent of
320x256)\n\n##### Scrollable unified search
bar\n\nhttps://github.com/user-attachments/assets/0e69d6bc-5591-423e-b213-d8bd56656218\n\n#####
Maximized
panel\n\n\nhttps://github.com/user-attachments/assets/c9775858-ce72-47b7-9875-d96c093b01ec\n\nNotable
changes:\n- Allow unified search bar to scroll when the viewport width
is < 768px\n- Add min-width of the viewport to maximized panels when
viewport width\nis < 768px\n\n\n### Checklist\n\nCheck the PR satisfies
following conditions. \n\nReviewers should verify this PR satisfies this
list as well.\n\n- [ ] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] If a plugin
configuration key changed, check if it needs to be\nallowlisted in the
cloud and added to the
[docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n-
[ ] This was checked for breaking HTTP API changes, and any
breaking\nchanges have been approved by the breaking-change committee.
The\n`release_note:breaking` label should be applied in these
situations.\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests changed\n- [ ] 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)\n-
[ ] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this
PR introduce any risks? For example, consider risks like hard\nto test
bugs, performance regression, potential of data loss.\n\nDescribe the
risk, its severity, and mitigation for each identified\nrisk. Invite
stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See
some
risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n-
[ ] ...\n\n---------\n\nCo-authored-by: Marta Bondyra
<4283304+mbondyra@users.noreply.github.com>","sha":"98bfa0554550f5829ef3fc924989332b9ef77893"}},{"branch":"9.0","label":"v9.0.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/230471","number":230471,"state":"MERGED","mergeCommit":{"sha":"a0b0b7c4c829b3aab3083f81d74c149d044255a6","message":"[9.1]
[Dashboard][A11y] Improve usability of dashboard in 400% zoom (#228978)
(#230471)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.1`:\n- [[Dashboard][A11y] Improve usability of dashboard in
400%
zoom\n(#228978)](https://github.com/elastic/kibana/pull/228978)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Catherine Liu <catherine.liu@elastic.co>\nCo-authored-by: Marta Bondyra
<4283304+mbondyra@users.noreply.github.com>"}}]}] BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants