Skip to content

Updated pane context menu #18126

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

Merged
merged 31 commits into from
May 15, 2025
Merged

Updated pane context menu #18126

merged 31 commits into from
May 15, 2025

Conversation

dmitrykok
Copy link
Contributor

@dmitrykok dmitrykok commented Oct 30, 2024

Motivation

The motivation is that Windows users are more accustomed to working with GUI Menus using a mouse, unlike Linux users.

Summary of the Pull Request

added split pane with profile or duplicate up/down/left/right context menus as submenu
added swap panes up/down/left/right context menus as submenu
added toggle pane zoom context menu
added close other panes context menu

References :

Type of change :

  • New feature

@dmitrykok
Copy link
Contributor Author

@microsoft-github-policy-service agree

This comment has been minimized.

remove added values that fail ckecks

This comment has been minimized.

This comment has been minimized.

Copy link
Member

@zadjii-msft zadjii-msft left a comment

Choose a reason for hiding this comment

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

quick feedback before I review the rest of this

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Oct 30, 2024
…changes to all the Resources.resw files that aren't in the en-us dir
@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Oct 30, 2024
@dmitrykok dmitrykok requested a review from zadjii-msft October 30, 2024 14:29
@dmitrykok
Copy link
Contributor Author

quick feedback before I review the rest of this

Hi @zadjii-msft, All requested changes are addressed and fixed.

@htcfreek
Copy link
Contributor

htcfreek commented Nov 1, 2024

It feels odd that the split pane entries exists twice on the second level. Can you add a "same profile"/"duplicate" entry at the first position of the third level instead?

…cate pane' entry at the first position of the third level
@dmitrykok
Copy link
Contributor Author

It feels odd that the split pane entries exists twice on the second level. Can you add a "same profile"/"duplicate" entry at the first position of the third level instead?

You're right, it looks better.
Done.

@htcfreek
Copy link
Contributor

htcfreek commented Nov 7, 2024

@dmitrykok
Maybe it is better visible with a separation line between the "duplicate" entry and the other ones. I think that would promote the duplicate entry more. What do you think?

…the other ones, changed from 'Duplicate pane' to 'Duplicate <profile_name>'
@zadjii-msft zadjii-msft added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Dec 11, 2024
@dmitrykok
Copy link
Contributor Author

@zadjii-msft don't see what changes are requested, and how to get there

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Dec 11, 2024
Co-authored-by: Mike Griese <migrie@microsoft.com>
@zadjii-msft
Copy link
Member

Yea I marked "needs feedback" because you said "All requested changes done" but forgot to push the commit 😉

…ache the value of profile.Name() and profile.Icon(), control always show Find by itself
@dmitrykok
Copy link
Contributor Author

dmitrykok commented Dec 11, 2024

Hi @zadjii-msft, all nits fixed 😉.

@dmitrykok
Copy link
Contributor Author

dmitrykok commented Dec 25, 2024

@lhecker

We've discussed the UX of the PR today, as seen in your PR description. We felt like we should not have the directions submenu and instead go directly to the profile list. Like this basically:

image

The split mode in this case would be "automatic". This is something we can do before merging the PR or after, but it's something we'd like to do before shipping this PR.

I think partly the purpose was, to split wanted direction and not automatic direction. Because many times auto decision is wrong.
Maybe I can add "Split pane auto" that will go directly to profile list.
But if I want something like this and not "random" panes placement, it will be not possible:
image

…u with all profiles, normal/left click with open profile with auto split and right click will open context menu wuth solit directions - right/down/up/left
@dmitrykok
Copy link
Contributor Author

dmitrykok commented Jan 26, 2025

Hi, @lhecker , looks like I did find acceptable solution:

Pane split with profiles reworked, pane split context menu has one submenu with all profiles, normal/left click with open profile with auto split and right click will open context menu with split directions - right/down/up/left:

image

image

Copy link
Member

@carlos-zamora carlos-zamora left a comment

Choose a reason for hiding this comment

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

Just the one comment. Looks and feels great! Thanks for doing this :)

I'll circle back and approve it once Find gets added back in

@dmitrykok dmitrykok requested a review from carlos-zamora March 11, 2025 13:22
Copy link
Member

@carlos-zamora carlos-zamora left a comment

Choose a reason for hiding this comment

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

Oh wow. Sorry I didn't get to this sooner! I disappeared on medical leave right after submitting the review.

Thanks for being patient with us and I'm excited to see this in the upcoming release! 😊

@carlos-zamora carlos-zamora dismissed zadjii-msft’s stale review May 12, 2025 23:21

Looks like most of his concerns were nits and they've all been addressed.

@carlos-zamora
Copy link
Member

Demo from PR Body

Split right to Ubuntu profile from main pane:

image

Split down duplicate:

image

Split down to CMD profile from Ubuntu pane:

image

Split right to Fedora profile from Ubuntu pane:

image

Result window, with swap menus, you also can see "toggle pane zoom" and "close other panes" menus:

image

@carlos-zamora
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@carlos-zamora carlos-zamora enabled auto-merge (squash) May 12, 2025 23:23
@carlos-zamora
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@carlos-zamora carlos-zamora merged commit a093ca3 into microsoft:main May 15, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Attention The core contributors need to come back around and look at this ASAP.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants