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

Updated pane context menu #18126

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

Updated pane context menu #18126

wants to merge 25 commits into from

Conversation

dmitrykok
Copy link

@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

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

@dmitrykok
Copy link
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

src/cascadia/TerminalApp/Resources/de-DE/Resources.resw Outdated Show resolved Hide resolved
src/cascadia/TerminalApp/TerminalPage.cpp Outdated Show resolved Hide resolved
@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
Copy link
Author

quick feedback before I review the rest of this

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

@htcfreek
Copy link

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

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>'
@dmitrykok
Copy link
Author

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

@htcfreek yes, it looks better, also changed from "Duplicate pane" to "Duplicate <profile_name>".

image

image

@htcfreek
Copy link

htcfreek commented Nov 7, 2024

@dmitrykok
Looks good. But why is the last menu item cut off?

@dmitrykok
Copy link
Author

dmitrykok commented Nov 7, 2024

@dmitrykok Looks good. But why is the last menu item cut off?
@htcfreek
It's not cut off, there is a scroll bar, it is disappearing after a couple of seconds if you're not scrolling and shown back if you begin to scroll.

image

@dmitrykok
Copy link
Author

Updated swap menu.
Show only available options:
image
image

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.

3 participants