Description
The Metadata dialog body is being built programmatically, using a set of functions of a mixin file called portray.js
This is against Vue conventions and makes the code difficult to understand and test.
This mixin is also fully untested.
Desired behavior/Acceptance criteria
- Replace the way this component is built and use Vue templates instead.
- Remove portray.js
- Add better unit tests for FunctionMetadataDialog.vue
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