Description
Complete this component as per the designs specified in the Figma file.
Desired behavior/Acceptance criteria
- The TypedList component is the only one that will not fallback to ZObjectKeyValueSet as its expert-mode strategy
- Should provide a limited and user-friendly preview
- Should be able to view all the items if/when I choose to extend this preview
- In edit mode:
- Should be able to configure the type of the list items, and (if editable) select its type or leave the list untyped (Z1)
- Should be able to add new items
- If the list is typed (a type is specified), adding an item should create an item of that type
- If the list is untyped (Z1 as type), adding an item should add an untyped object (should allow to choose type)
- Should be able to remove individual items
- Each element can be a simple (atomic) or more complex object, which should fall back into the general ZObjectKeyValue behavior (so that they can individually explored and expanded into expert mode, etc.)
- Styles according to the attached designs
Devices and Design (URLs or screenshots)
Building on top of the previous work on strings, references, and monolingual text, here's a design proposal for reading, exploring, and editing typed, and untyped lists. I'm going to post down here a selection of screenshots for additional visibility. For any doubt and/or question feel free to leave a comment on Figma https://www.figma.com/file/uNBSv1e4ceA8tGNr29R9vp/Default-View?node-id=3472%3A58326&t=cmqNDyv7jCd5VejB-1.
Read and explore a typed list
Add or delete a list item in a typed list
Add a list item in an untyped list
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist













