Rewrite templates for different widgets to make them composable
As of now different fields templates do not use composition which increases template complexity and limits widgets functionality. A simple-example: there is a template for dictionary widget https:/
To enable autocompletion functionality for separate fields of dictionary (given that it's already supported on the model-level) it's necessary to modify the dictionary template, while in case the dictionary template was composed of other <typed-field> directives it could delegate rendering autocompletion hints to the string widget (that's the argument for 'limited functionality').
A strong argument for 'increased complexity' is the contents of https:/
Most likely this refactoring should start from the top-level, leaving there only iteration over panels and hiding all other 'ng-repeat's into <typed-field type='panel'> innards
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Timur Sufiev
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
WIP Refactor templates
Addressed by: https:/
WIP Refactor templates pt2
Gerrit topic: https:/
Addressed by: https:/
[WIP] Started truly composable templates
Addressed by: https:/
Rewrite <labeled> directive to render editable labels
Gerrit topic: https:/