Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Hide Sidebar on Simple Window (Popup) #182

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

PressJump
Copy link
Member

In general, the use case for displaying a sidebar in a small window, such as a login authentication window or debugging tool, is rare. These types of windows are typically designed to perform a specific task and do not require the additional screen real estate or functionality that a sidebar would provide. Additionally, the limited size of these windows may make it difficult to effectively utilize a sidebar without compromising the usability of the primary content.

For these reasons, it may be more appropriate to omit the sidebar in small windows that utilize the Window API or do not have an omnibox. This allows for a streamlined user experience that is focused on the primary task at hand, rather than being cluttered with unnecessary features.

@PressJump PressJump linked an issue Jan 2, 2023 that may be closed by this pull request
@PressJump
Copy link
Member Author

It is generally a good practice to provide users with options to customize their experience and enable or disable certain features as they see fit. However, in the case of the sidebar in question, it may not be appropriate to offer an option to enable or disable it due to the potential impact on the functionality and responsiveness of the feature in which it may lead to a poor user experience.

What is your thoughts @trickypr

@PressJump PressJump marked this pull request as draft January 2, 2023 10:48
@trickypr
Copy link
Member

trickypr commented Jan 3, 2023

I am fine not including a toggle for this

@PressJump PressJump marked this pull request as ready for review January 3, 2023 08:44
@PressJump PressJump requested a review from trickypr January 3, 2023 08:44
Copy link
Member

@trickypr trickypr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works when tested on this test case: https://jsfiddle.net/8g12v73n/

@PressJump PressJump merged commit bcbcdbb into alpha Jan 5, 2023
@PressJump PressJump deleted the hide-sidebar-in-simple-windows branch January 5, 2023 19:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hide sidebar in simple windows (no omnibox)
2 participants