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

More fixes for keepListStructure #9275

Merged
merged 1 commit into from
Nov 29, 2018
Merged

More fixes for keepListStructure #9275

merged 1 commit into from
Nov 29, 2018

Conversation

mjkkirschner
Copy link
Member

Purpose

https://jira.autodesk.com/browse/QNTM-4759
I missed some other behaviors which were broken in 2.0 release. I've fixed two of them and added a test.

  • The property KeepListStructure needs to raise a change notification with the same string or the UI bindings will not fire.

Declarations

Check these if you believe they are true

  • The code base is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • All tests pass using the self-service CI.
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning, and are documented in the API Changes document.

Reviewers

@alfarok
@ColinDayOrg

FYIs

@smangarole

rename converter (spelling error)
rename private fields for consistencey
add tests for color and text
@ColinDayOrg
Copy link
Contributor

LGTM :shipit:

@@ -109,7 +109,7 @@
</Rectangle.Margin>
</Rectangle>
<Rectangle Name="highlightOverlay"
Fill="{Binding Path=ShouldKeepListStructure, Converter={StaticResource KeepListStructureHighlighColorConverter}}"
Fill="{Binding Path=ShouldKeepListStructure, Converter={StaticResource KeepListStructureHighlightColorConverter}}"
Copy link
Contributor

Choose a reason for hiding this comment

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

@mjkkirschner Is the Binding Path still ShouldKeepListStructure?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, as this is on the portViewModel and not the model

@mjkkirschner mjkkirschner merged commit 90cd788 into master Nov 29, 2018
@mjkkirschner
Copy link
Member Author

@smangarole merged for testing.

@QilongTang QilongTang mentioned this pull request Dec 4, 2018
@QilongTang QilongTang deleted the keepListStructureFix branch December 20, 2018 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants