US 12,327,095 B2
Systems and methods of decomposing user experience components into functioning subcomponents
Brian Truong, San Francisco, CA (US); and Billy Ma, San Francisco, CA (US)
Assigned to Salesforce, Inc., San Francisco, CA (US)
Filed by Salesforce, Inc., San Francisco, CA (US)
Filed on Apr. 20, 2023, as Appl. No. 18/136,904.
Prior Publication US 2024/0354072 A1, Oct. 24, 2024
Int. Cl. G06F 8/38 (2018.01); G06F 8/20 (2018.01); G06F 8/36 (2018.01)
CPC G06F 8/38 (2013.01) [G06F 8/20 (2013.01); G06F 8/36 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
parsing, at a server, a design file including code for a user interface, wherein the code is readable by the server into a tree representation having nodes, wherein the nodes represent design elements of the user interface and includes one or more design properties, a unique identifier, and references to child elements of the design elements;
traversing, at the server, the tree representation and comparing the design elements of the tree representation to a set of factors to determine when the design elements meet a criteria to be a subcomponent for one or more components of the code of the design file;
adding, at the server, the design elements to a list of subcomponent candidates that meet at least one of the set of factors to be a subcomponent, and removing duplicate subcomponents from the list;
generating, at the server, a tree structure for the one or more components using the list of subcomponent candidates; and
naming, at the server, the one or more components of the tree structure with unique names for reusability.