Skip to content

Conversation

@jesusalvino
Copy link
Contributor

Purpose

Set the null color in the Preview and Watch Nodes
https://jira.autodesk.com/browse/DYN-5085

Declarations

Check these if you believe they are true

  • The codebase 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.
  • This PR modifies some build requirements and the readme is updated

Reviewers

@QilongTang

FYIs

@RobertGlobant20 @filipeotero

@jesusalvino
Copy link
Contributor Author

nullcolor

@QilongTang QilongTang requested a review from reddyashish July 21, 2022 20:54
@QilongTang QilongTang added this to the 2.16.0 milestone Jul 21, 2022
@Amoursol
Copy link
Contributor

Amoursol commented Jul 21, 2022

nullcolor

Hi @jesusalvino - Is there any reason why the singletons are not showing color in the Watch Node? Can we please ensure that the color also propagates there too?

@jesusalvino
Copy link
Contributor Author

imagen

imagen

@Amoursol poor gif resolution :/

@Amoursol
Copy link
Contributor

@Amoursol poor gif resolution :/

Ah - all good! Then this looks awesome, thanks @jesusalvino!

return resourceDictionary["boolLabelBackground"] as SolidColorBrush;
default:
return resourceDictionary["PrimaryCharcoal200Brush"] as SolidColorBrush;
if (values[1].ToString() == "List")
Copy link
Contributor

Choose a reason for hiding this comment

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

Use str.equals() instead of '=='

Copy link
Contributor

@reddyashish reddyashish left a comment

Choose a reason for hiding this comment

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

looks good to me with one comment.

@reddyashish
Copy link
Contributor

reddyashish commented Jul 22, 2022

The test WorkspaceContextMenu_TestIfOpenOnRightClick is failing randomly on some CI jobs for some unknown reason. Can you run it locally to make sure it is passing.

@jesusalvino
Copy link
Contributor Author

imagen
it pass locally

@reddyashish reddyashish merged commit ab06d83 into DynamoDS:master Jul 22, 2022
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.

4 participants