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

Enhance Command Bar with Overflow Option for Smaller Widths #10

Open
PowerThomas opened this issue Jun 16, 2024 · 2 comments
Open

Enhance Command Bar with Overflow Option for Smaller Widths #10

PowerThomas opened this issue Jun 16, 2024 · 2 comments
Assignees

Comments

@PowerThomas
Copy link

Overview

I would like to request an enhancement to the command bar of the PCF control to improve its usability when the control is placed in a narrower space, such as a two-column tab. The enhancement involves implementing an overflow menu similar to the model-driven apps command bar, ensuring all commands remain accessible even in constrained layouts.

Details

  • Current Issue: When the control is placed in a smaller width (e.g., a two-column tab), some commands are not visible, which hinders functionality and user experience.
  • Proposed Enhancement: Introduce an overflow option with three vertical dots ("...") that appear when commands exceed the available space. Clicking the three dots will display a submenu containing the hidden commands, ensuring all functionalities are accessible regardless of the control's width.

Benefits

  • Improved Usability: Ensures all commands are accessible, regardless of the control's width, enhancing the user experience.
  • Consistent UI: Aligns the control's behavior with the familiar model-driven apps command bar, providing a consistent user interface.
  • Flexibility: Allows the control to be effectively used in various layouts and screen sizes without losing command functionality.

Implementation Suggestions

  1. Detect when the command bar's width exceeds the available space.
  2. Implement a three vertical dots overflow menu that appears when necessary.
  3. Move any overflowing commands into the submenu accessible via the overflow menu.
@PowerThomas
Copy link
Author

image

@GorgonUK GorgonUK self-assigned this Jun 18, 2024
@GorgonUK GorgonUK added the bug Something isn't working label Jun 18, 2024
@GorgonUK
Copy link
Owner

Thank you for highlighting the above. I will make sure to resolve this by next release.

@GorgonUK GorgonUK added Design Bug and removed bug Something isn't working labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants