-
Notifications
You must be signed in to change notification settings - Fork 448
Isolating the git user and email into a UserSettingsView #270
Conversation
…ser-settings-view # Conflicts: # src/UnityExtension/Assets/Editor/GitHub.Unity/UI/SettingsView.cs
1c3ad0d to
89569bc
Compare
ec7718e to
344beec
Compare
shana
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup this looks good! Got some minor nitpicks and a question that might require some code change.
|
|
||
| public override bool IsBusy | ||
| { | ||
| get { return ActiveView.IsBusy; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is probably a glitchy merge, the property should be at the bottom
| public override void OnDataUpdate() | ||
| { | ||
| base.OnDataUpdate(); | ||
| if (userSettingsView != null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When is this ever null?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, removing the null check
|
|
||
| public override bool IsBusy | ||
| { | ||
| get { return isBusy || userSettingsView.IsBusy; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bottom of file
# Conflicts: # src/UnityExtension/Assets/Editor/GitHub.Unity/UI/SettingsView.cs
Part of #251
#261 depends on this
Depends on:
Adding IsBusy to IView #273
Fix to update user name and email correctly in SettingsView #277
There are no visible changes to the UI as a result of this change
These changes also prevent the save of a blank name or email