Skip to content

Hook up the Settings UI JSON button#8059

Merged
5 commits merged intofeature/settings-uifrom
dev/lelian/sui-open-json
Oct 28, 2020
Merged

Hook up the Settings UI JSON button#8059
5 commits merged intofeature/settings-uifrom
dev/lelian/sui-open-json

Conversation

@leonMSFT
Copy link
Contributor

This PR will make the "Open JSON file" navigation view item in the Settings UI will open the user's settings file. Normally, NavigationViewItems raise their parent's ItemInvoked handler, but when a NavViewItem is in the NavigationView.PaneFooter, it doesn't do that. So, we have to hook up OpenJson's Tapped and KeyDown handler to detect both a tap event and the enter keydown events.

References #1564

@miniksa
Copy link
Member

miniksa commented Oct 27, 2020

Approved presuming you're gonna rev it once more with the Alt trick per Dustin's comment and be done there.

carlos-zamora
carlos-zamora approved these changes Oct 28, 2020
@carlos-zamora
Copy link
Member

@msftbot merge this in 5 minutes

@ghost ghost added the AutoMerge Marked for automatic merge by the bot when requirements are met label Oct 28, 2020
@ghost
Copy link

ghost commented Oct 28, 2020

Hello @carlos-zamora!

Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:

  • I won't merge this pull request until after the UTC date Wed, 28 Oct 2020 21:04:41 GMT, which is in 5 minutes

If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you".

@ghost ghost merged commit 9fc79d5 into feature/settings-ui Oct 28, 2020
@ghost ghost deleted the dev/lelian/sui-open-json branch October 28, 2020 21:05
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutoMerge Marked for automatic merge by the bot when requirements are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants