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

Major refactor of PersonView with new sample page #133

Merged
merged 4 commits into from
Jul 26, 2021

Conversation

shweaver-MSFT
Copy link
Member

@shweaver-MSFT shweaver-MSFT commented Jul 23, 2021

Fixes #10, #6, #26, #28

PR Type

What kind of change does this PR introduce?

  • Feature
  • Refactoring (no functional changes, no api changes)

What is the current behavior?

The PersonView has a few bugs, and after looking through the code I decided a bit of refactoring would make it easier to read and maintain, as well as naturally fixing some bugs inherent in the previous model.

What is the new behavior?

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Sample in sample app has been added / updated (for bug fixes / features)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Header has been added to all new source files (run build/UpdateHeaders.bat)
  • Contains NO breaking changes

Other information

  • Needs Docs

@ghost
Copy link

ghost commented Jul 23, 2021

Thanks shweaver-MSFT for opening a Pull Request! The reviewers will test the PR and highlight if there is any merge conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌

@shweaver-MSFT shweaver-MSFT added this to the 7.1.0 milestone Jul 23, 2021
@shweaver-MSFT shweaver-MSFT self-assigned this Jul 23, 2021
@shweaver-MSFT shweaver-MSFT marked this pull request as ready for review July 26, 2021 23:54
@shweaver-MSFT shweaver-MSFT merged commit f999c2b into dev/7.1.0 Jul 26, 2021
@shweaver-MSFT shweaver-MSFT deleted the shweaver/person-refactor branch July 26, 2021 23:55
FontWeight="SemiBold"
Text="{Binding PersonDetails.DisplayName, RelativeSource={RelativeSource TemplatedParent}}" />
</controls:Case>
<Grid Grid.Column="1">
Copy link
Member

Choose a reason for hiding this comment

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

Can't we just set the Column on both the children rather than introducing another Grid layer?

Copy link
Member Author

Choose a reason for hiding this comment

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

Definitely. I found another bug in that file as well. I'll fix them at the same time :)

@shweaver-MSFT shweaver-MSFT removed this from the 7.1.0 milestone Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants