Skip to content

Updated pane context menu#18126

Merged
carlos-zamora merged 31 commits intomicrosoft:mainfrom
dm17ryk:main
May 15, 2025
Merged

Updated pane context menu#18126
carlos-zamora merged 31 commits intomicrosoft:mainfrom
dm17ryk:main

Conversation

@dm17ryk
Copy link
Contributor

@dm17ryk dm17ryk 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

@dm17ryk
Copy link
Contributor Author

dm17ryk commented Oct 30, 2024

@microsoft-github-policy-service agree

@github-actions

This comment has been minimized.

remove added values that fail ckecks
@github-actions

This comment has been minimized.

@github-actions

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
@dm17ryk dm17ryk requested a review from zadjii-msft October 30, 2024 14:29
@dm17ryk
Copy link
Contributor Author

dm17ryk commented Nov 1, 2024

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
@dm17ryk
Copy link
Contributor Author

dm17ryk commented Nov 2, 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?

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
@dm17ryk dm17ryk requested a review from zadjii-msft December 11, 2024 18:15
@dm17ryk
Copy link
Contributor Author

dm17ryk commented Dec 11, 2024

@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
@dm17ryk
Copy link
Contributor Author

dm17ryk commented Dec 11, 2024

Hi @zadjii-msft, all nits fixed 😉.

@dm17ryk
Copy link
Contributor Author

dm17ryk 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
@dm17ryk
Copy link
Contributor Author

dm17ryk 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

@dm17ryk dm17ryk 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

@azure-pipelines
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

@azure-pipelines
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