Repository navigation
Consolidate Display nodes for re-categorization - #7759
Conversation
7139f5e to
d03aebb
Compare
d03aebb to
2354b70
Compare
2354b70 to
12c67c0
Compare
| </additionalAttributes> | ||
| </priorNameHint> | ||
| <priorNameHint> | ||
| <oldName>Display.Display.ByGeometryColor</oldName> |
There was a problem hiding this comment.
Since this node is being renamed for the second time, will two migration entries for the same node work?
|
@Randy-Ma thanks for the changes and tests. I have just a few comments:
|
|
Does this require changes in Reach / Flood? |
|
@ramramps to support old graphs I believe it will, for new ones I dont think so. |
|
but if the migration is in place, the old graphs should work as expected. or is it because changing the name in Flood will cause the old graph to break? |
|
@mjkkirschner as discussed, let's create a task for Reach to fetch the migration strategy for a specific node. @Tanga I am thinking it should fall under the epic - Library Recategorization. |
|
@aparajit-pratap
|
|
@aparajit-pratap |
|
Right |
| <priorNameHint> | ||
| <oldName>DSCore.Display.ByGeometryColor</oldName> | ||
| <newName>Display.Display.ByGeometryColor</newName> | ||
| <newName>Modifiers.GeometryColor.ByGeometryColor</newName> |
There was a problem hiding this comment.
@Randy-Ma I would reconsider renaming namespaces and suggest changing only class names. We need to keep in mind that renaming namespaces also affects namespace mapping in Thunderstorm @gregmarr. Please refer to @ikeough's comments on the #dynamo-design-script slack channel: https://autodesk.slack.com/archives/C187950LA/p1491917642623367
Purpose
This pull request is to rename and recategorize the two nodes: ByGeometryColor and BySurfaceColor.
For this, the class name where the functions for these nodes stay is changed from "Display" to "GeometryColor". The namespace of the class is changed from "Display" to "Modifiers".
Because the class name has been changed, correspondingly the project name is also changed. Furthermore, migration from old nodes to new nodes is implemented through DSCoreNodes.Migrations.xml.
Two test cases have been added to ensure old nodes can be migrated to new nodes successfully.
Declarations
Check these if you believe they are true
*.resxfilesReviewers
@aparajit-pratap
FYIs
@benglin @riteshchandawar @monikaprabhu