This task involves the work of creating a space within the mobile visual editor's editing toolbar where additional tools can live.
While generically useful, this work is being prioritized in this moment to offer people the ability to insert functions within Wikipedia articles (T376839).
=== Requirements
//Within the mobile visual editor's toolbar...//
- Introduce a new {nav +} menu item that, when tapped, will show the following tool(s) [for now]:
-- {nav ๐ Link}
-- //Note: Abstract Wikipedia will add the {nav Insert function} tool within this same menu//
=== Open questions
- [x] 1. Which of the existing four editing tools (see below) will be moved within the new menu this ticket will introduce?
-- To start, we'll move the {nav Add link} tool within the {nav +} menu item that will take its place
-- //~~Note: we will answer this question in T376839.~~ Rather than blocking an initial implementation on the completion of T376839, we're going to instead use this data to [potentially] adjust the proof of concept we're building before it's completed.//
- [x] 2.What icon will we use in the editing toolbar to represent this new menu?
-- We'll use the same {nav +} that is used on desktop for the same purpose://
--- {F58028745}
- [ ] 3. What โ if any โ additional tools beyond {nav Insert function} and the tool we decide to hide in "1." will we add to the menu this ticket will introduce?
=== Context
At present, four tools are available within the mobile visual editor's editing toolbar excluding the meta/navigational actions ({nav X}, {nav Switch editing mode}, and {nav โ}):
|Current state (mobile)
|---
| {F58028735} |
| Tools: {nav Undo}, {nav Text formatting}, {nav Add link}, {nav Add citation}