Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dashboard] Center Save top nav button for small viewport #180093

Closed
cqliu1 opened this issue Apr 4, 2024 · 4 comments
Closed

[Dashboard] Center Save top nav button for small viewport #180093

cqliu1 opened this issue Apr 4, 2024 · 4 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Project:Dashboard Usability Related to the Dashboard Usability initiative Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas

Comments

@cqliu1
Copy link
Contributor

cqliu1 commented Apr 4, 2024

Kibana version:
8.11.0+

Screenshot 2024-04-04 at 2 03 14 PM

The Edit button is missing from this condensed top nav menu for viewports narrower than 768px. It should look similar to the Save primary button in

I also noticed the Save button in this menu while in edit mode has a gap on the right side. It should be full width in this popover.
Screenshot 2024-04-04 at 2 04 35 PM

@cqliu1 cqliu1 added bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas loe:small Small Level of Effort impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Project:Dashboard Usability Related to the Dashboard Usability initiative labels Apr 4, 2024
@elasticmachine
Copy link
Contributor

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

@Heenawter
Copy link
Contributor

Heenawter commented Apr 4, 2024

Just FYI - this was intentional if I recall correctly! Not saying that this was necessarily the correct decision, but I believe we were trying to discourage editing dashboards on such a small screen, since the experience isn't... great.

Not saying that is the right call necessarily, but I wouldn't personally consider this a bug.

@cqliu1 cqliu1 added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. and removed impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. labels Apr 4, 2024
@cqliu1
Copy link
Contributor Author

cqliu1 commented Apr 4, 2024

That's fair. No one should be editing dashboards on such a small device. Maybe we just leave the Edit button out, but we should fix this Save button width.

@cqliu1 cqliu1 changed the title [Dashboard] Edit button missing for narrow screens [Dashboard] Center Save top nav button for small viewport Apr 25, 2024
@paulinashakirova paulinashakirova self-assigned this Nov 4, 2024
@paulinashakirova
Copy link
Contributor

Seems that the button centering is related to the Eui component, so I opened a PR in EUI repository, and will wait for their feedback.

paulinashakirova added a commit that referenced this issue Nov 20, 2024
## Summary

This PR solves [[Dashboard] Center Save top nav button for small
viewport](#180093 (comment)) issue.

![Screenshot 2024-11-19 at 23 02
16](https://github.com/user-attachments/assets/ac643c61-62d5-4512-af35-33c396f6aba1)

![Screenshot 2024-11-19 at 23 01
31](https://github.com/user-attachments/assets/4d2021fb-a08b-4626-a203-07b52f3cbe55)

The change only affects the mobile menu.
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Nov 20, 2024
…c#200823)

## Summary

This PR solves [[Dashboard] Center Save top nav button for small
viewport](elastic#180093 (comment)) issue.

![Screenshot 2024-11-19 at 23 02
16](https://github.com/user-attachments/assets/ac643c61-62d5-4512-af35-33c396f6aba1)

![Screenshot 2024-11-19 at 23 01
31](https://github.com/user-attachments/assets/4d2021fb-a08b-4626-a203-07b52f3cbe55)

The change only affects the mobile menu.

(cherry picked from commit 971c1f3)
kibanamachine added a commit that referenced this issue Nov 20, 2024
…200823) (#200927)

# Backport

This will backport the following commits from `main` to `8.x`:
- [fix: make panel top nav menu item button full width on mobile
(#200823)](#200823)

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

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

<!--BACKPORT [{"author":{"name":"Paulina
Shakirova","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-20T13:56:41Z","message":"fix:
make panel top nav menu item button full width on mobile (#200823)\n\n##
Summary\r\n\r\nThis PR solves [[Dashboard] Center Save top nav button
for
small\r\nviewport](#180093 (comment))
issue.\r\n\r\n![Screenshot 2024-11-19 at 23
02\r\n16](https://github.com/user-attachments/assets/ac643c61-62d5-4512-af35-33c396f6aba1)\r\n\r\n![Screenshot
2024-11-19 at 23
01\r\n31](https://github.com/user-attachments/assets/4d2021fb-a08b-4626-a203-07b52f3cbe55)\r\n\r\nThe
change only affects the mobile
menu.","sha":"971c1f3c350cd36c6e21441deb5b473f839963cd","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:SharedUX","backport:prev-minor","papercut","v8.17.0"],"title":"fix:
make panel top nav menu item button full width on
mobile","number":200823,"url":"https://github.com/elastic/kibana/pull/200823","mergeCommit":{"message":"fix:
make panel top nav menu item button full width on mobile (#200823)\n\n##
Summary\r\n\r\nThis PR solves [[Dashboard] Center Save top nav button
for
small\r\nviewport](#180093 (comment))
issue.\r\n\r\n![Screenshot 2024-11-19 at 23
02\r\n16](https://github.com/user-attachments/assets/ac643c61-62d5-4512-af35-33c396f6aba1)\r\n\r\n![Screenshot
2024-11-19 at 23
01\r\n31](https://github.com/user-attachments/assets/4d2021fb-a08b-4626-a203-07b52f3cbe55)\r\n\r\nThe
change only affects the mobile
menu.","sha":"971c1f3c350cd36c6e21441deb5b473f839963cd"}},"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/200823","number":200823,"mergeCommit":{"message":"fix:
make panel top nav menu item button full width on mobile (#200823)\n\n##
Summary\r\n\r\nThis PR solves [[Dashboard] Center Save top nav button
for
small\r\nviewport](#180093 (comment))
issue.\r\n\r\n![Screenshot 2024-11-19 at 23
02\r\n16](https://github.com/user-attachments/assets/ac643c61-62d5-4512-af35-33c396f6aba1)\r\n\r\n![Screenshot
2024-11-19 at 23
01\r\n31](https://github.com/user-attachments/assets/4d2021fb-a08b-4626-a203-07b52f3cbe55)\r\n\r\nThe
change only affects the mobile
menu.","sha":"971c1f3c350cd36c6e21441deb5b473f839963cd"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Paulina Shakirova <[email protected]>
paulinashakirova added a commit to paulinashakirova/kibana that referenced this issue Nov 26, 2024
…c#200823)

## Summary

This PR solves [[Dashboard] Center Save top nav button for small
viewport](elastic#180093 (comment)) issue.

![Screenshot 2024-11-19 at 23 02
16](https://github.com/user-attachments/assets/ac643c61-62d5-4512-af35-33c396f6aba1)

![Screenshot 2024-11-19 at 23 01
31](https://github.com/user-attachments/assets/4d2021fb-a08b-4626-a203-07b52f3cbe55)

The change only affects the mobile menu.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Project:Dashboard Usability Related to the Dashboard Usability initiative Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas
Projects
None yet
Development

No branches or pull requests

4 participants