Process Bloks Bound tree
Summary: 1. Need to unminify the names from something call the minification map 2. Bloks attributes themselves are already minified. However the uidebugger also has a similar concept in its own metadata so the data we get off the device has been minified twice. To fix this we remap the metadata off the device using the minification map. In order to find the correct entry we need to get the style id of the bloks model parent. this is sent as a metadata custom attribute Reviewed By: lblasa Differential Revision: D45079136 fbshipit-source-id: bb448d81918c0b8c9e8ac87c4390b46a8a374d78
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c96535e15f
commit
e34f3f4883
@@ -392,6 +392,8 @@ function nodeIcon(node: UINode) {
|
|||||||
return <DecorationImage src="icons/ck-mounted-logo.png" />;
|
return <DecorationImage src="icons/ck-mounted-logo.png" />;
|
||||||
}
|
}
|
||||||
return <DecorationImage src="icons/ck-logo.png" />;
|
return <DecorationImage src="icons/ck-logo.png" />;
|
||||||
|
} else if (node.tags.includes('BloksBoundTree')) {
|
||||||
|
return <DecorationImage src="facebook/bloks-logo-orange.png" />;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user