Description
Function Explorer is a component that provides additional information about a selected function to help the contributor through the experience of creating or editing a function implementation (code or composition)
Desired behavior/Acceptance criteria
- The function explorer can take an input Function ZID
- The function zid should be checked for validity (does it exist? is it a function?) as it can be set from the url parameters (E.g. "Special:CreateZObject&zid=Z14&Z14K1=Z99999"
- If the provided function zid is not found or not a function, initialize the widget empty
- The function explorer should also have an empty state (no selected function)
- The function explorer has a static mode (only info) and a searchable mode
- Function explorer static mode:
- shown on implementation view page ?? (need @AAlhazwani-WMF input)
- the function shown is the zid on Z14K1 (Implementation function id)
- Function searchable mode:
- shown on implementation edit page ?? (need @AAlhazwani-WMF input)
- initialized with the function zid on Z14K1 (Implementation function id)
- lookup field can search and select other functions to aid during implementation creation/edit
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