Skip to content

Update NavigateFocus function to use new visual-based navigation#10756

Merged
1 commit merged intomicrosoft:mainfrom
Rosefield:feature/GH2398-visual-move-focus
Jul 23, 2021
Merged

Update NavigateFocus function to use new visual-based navigation#10756
1 commit merged intomicrosoft:mainfrom
Rosefield:feature/GH2398-visual-move-focus

Conversation

@Rosefield
Copy link
Contributor

@Rosefield Rosefield commented Jul 22, 2021

Summary of the Pull Request

Uses the new logic to find visual neighbors of a pane to find which pane is the target when the move-focus commands are used.

References

It sounds like this logic will be refined later to meet #4692

PR Checklist

  • Closes Use visual layout for moveFocusX target #2398
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated.
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Validation Steps Performed

Created a grid of panes and confirmed that focus movement went to the right quadrant instead of just the first child of the sibling.

@ghost ghost added Area-UserInterface Issues pertaining to the user interface of the Console or Terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. labels Jul 22, 2021
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.

Holy crap this feels so much better. Bless you 🙌

@zadjii-msft zadjii-msft added the AutoMerge Marked for automatic merge by the bot when requirements are met label Jul 22, 2021
@ghost
Copy link

ghost commented Jul 22, 2021

Hello @zadjii-msft!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 8 hours, a condition that will be fulfilled in about 7 hours 10 minutes. No worries though, I will be back when the time is right! 😉

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

Copy link
Member

@DHowett DHowett left a comment

Choose a reason for hiding this comment

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

Love it! Thanks so much.

@ghost ghost merged commit 3ffaa17 into microsoft:main Jul 23, 2021
@Rosefield Rosefield deleted the feature/GH2398-visual-move-focus branch August 4, 2021 23:17
@ghost
Copy link

ghost commented Aug 31, 2021

🎉Windows Terminal Preview v1.11.2421.0 has been released which incorporates this pull request.:tada:

Handy links:

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-UserInterface Issues pertaining to the user interface of the Console or Terminal AutoMerge Marked for automatic merge by the bot when requirements are met Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use visual layout for moveFocusX target

3 participants