Description
A ZKey/Z3 component is generally used inside a ZType/Z4 as items of a Typed List under the key Z4K2.
However, a ZKey can perfectly appear independently to ZType (although never as root).
Desired behavior/Acceptance criteria
- It shows minimum necessary information to identify the key of a given type: This is mostly useful when a contributor writes a code implementation for a given function and needs to access properties/keys of a given type.
- Type of the key value
- A human-readable label that identifies the key
- The key ID (ZnKm) must be visible but not editable
- It provides additional useful features for a user that's writing a function:
- The key ID (ZnKm) can be copied to the clipboard when clicking on it
- The UI should let the contributor know that it's been copied to the clickboard
- Similarly to function call, the key in its collapsed mode can be simply view-mode, and allow editing only when expanding and falling back into ZObjectKeyValueSet
Devices and Design (URLs or screenshots)
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