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

Allow user to create floating view panels #4521

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cmdcolin
Copy link
Collaborator

This PR adds the ability to make view panels "float" in a draggable dialog. This idea was sketched out a little while ago but trying it out again because it could solve real problems allowing more stuff to be accomodated on a screen (solve the "screen is too tall" effect)

There could potentially be situations where there is z-index fighting due to assumptions in this PR but we could try to standardize the z-index "numering" more to try to help with this

This PR proposes the floating view at 100, which allows menu bars and tooltips to go over it. It goes under the track selector currently

The alternative to this floating system is like a tiling window manager, or a masonry layout https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Masonry_layout but these are hard (and, not mutually exclusive with this approach here)

@cmdcolin
Copy link
Collaborator Author

example screenshot

image

without the floating, the vertical stack is large

image

@cmdcolin
Copy link
Collaborator Author

note that it is entirely optional to float a panel, and can be done one view at a time

@cmdcolin cmdcolin force-pushed the floating_view_panel branch from 78b0a5c to 65ed1eb Compare August 19, 2024 20:15
@cmdcolin cmdcolin changed the title Allow making floating view panels Allow user to create floating view panels Aug 20, 2024
@cmdcolin cmdcolin force-pushed the floating_view_panel branch 3 times, most recently from e33530e to 812f548 Compare August 23, 2024 18:20
@cmdcolin cmdcolin force-pushed the floating_view_panel branch 2 times, most recently from 5c24e1d to a2e5b66 Compare August 31, 2024 17:13
@cmdcolin cmdcolin force-pushed the floating_view_panel branch from a2e5b66 to 4ee443f Compare November 4, 2024 13:27
@cmdcolin cmdcolin force-pushed the floating_view_panel branch 2 times, most recently from fd41e5d to 73dd391 Compare November 19, 2024 14:09
@cmdcolin cmdcolin force-pushed the floating_view_panel branch from 73dd391 to 3a4c2dc Compare December 19, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant