We had earlier talked about how Carousell tackled the complexity of listing variety with our UI system. Siaw Young, one of the engineers behind the project, introduced the concept of fieldsets, documents written in Carousell specific markup to communicate a screen’s layout to clients.
Fieldsets are made up of fields, each represented by a component type on client. A listing’s description and price can both be represented by a paragraph component, albeit with different content. When writing a fieldset, you decide which components to use, what data they correspond to and how to order the fields.
Currently, Carousell’s fieldsets are managed as JSON documents, it’s simple for a new team member to pick up and the written document can be production ready without the need for further conversion. …