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

[RegPreview] Init with header and add NEW button #37626

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

Conversation

htcfreek
Copy link
Collaborator

@htcfreek htcfreek commented Feb 25, 2025

Summary of the Pull Request

This PR improves Registry preview to allow pasting registry keys and values without writing the file header manually.

This is done by adding the following changes:

  1. Init the editor with only the registry file header if no file is opened.
  2. Adding a new button that resets the app to the "init without file" state.

image

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Run local build and validate the behavior.

@htcfreek htcfreek changed the title [RegPreview] Init with header and add new button [RegPreview] Init with header and add NEW button Feb 25, 2025

This comment has been minimized.

@htcfreek htcfreek marked this pull request as draft February 25, 2025 16:04
@htcfreek htcfreek marked this pull request as ready for review February 25, 2025 16:04
@htcfreek htcfreek self-assigned this Feb 25, 2025
@htcfreek htcfreek added the Needs-Review This Pull Request awaits the review of a maintainer. label Feb 25, 2025
x:Name="newButton"
x:Uid="NewButton"
Click="NewButton_Click"
Icon="{ui:FontIcon Glyph=}">
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
Icon="{ui:FontIcon Glyph=}">
Icon="{ui:FontIcon Glyph=}">

page icon instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Review This Pull Request awaits the review of a maintainer.
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant