Page MenuHomePhabricator

AboutWidget: Create a Metadata javascript class/type to use it in all About widget methods
Open, Needs TriagePublic

Description

Description

In the About widget we generalize the concept of Metadata which are Name/Labels, Descriptions and Aliases of a given ZPersistentObject.
Each of those metadata items are associated to a language, which we use for searching, filtering and rendering the About widget.

A bunch of methods return either single Metadata objects or arrays of Metadata. Each Metadata object contains the following properties:

* langIsoCode
* langZid
* rowId

Follow the same ideas as with store/classes/LabelData or store/classes/Row and create a Metadata type to use in all these methods.


Completion checklist