Description
The Codex component Menu currently only provides dropdown capability for text and select inputs.
Per wireframes, we need to build a button with a dropdown component that will provide an action menu for each instrument in the Catalog view.
Developer Notes
The Abstract Wikipedia team implemented this feature - see https://www.wikifunctions.org/view/en/Z10012 and click on 3 dots in the Try this function section:
I think this is where the code lives for this component:
https://github.com/wikimedia/mediawiki-extensions-WikiLambda/blob/b04677247beacbf95387225a1c37c8ca60ebb4bc/resources/ext.wikilambda.edit/components/base/ModeSelector.vue#L2
Acceptance Criteria
- An action menu with custom links is made available when hovering over the 3 dot menu icon
-
Each link in the action menu navigates correctly.Separate ticket T364179 - If possible, contribute back the component to Codex.
Required
- Unit/Integration tests?
- Documentation?
- Passed QA?