This task is about developing an approach for how we will consider adding additional tools to the New Discussion and Reply Tools' visual mode editing toolbar.
Requirements
- The Editing Team can:
- Specify "default sets" of tools that are shown by default to all volunteers using the Reply and/or New Discussion Tools
- These "default set" of tools, for now, ought to include the following: Bold, Italic, Style text, Link, and Mention a user
- Specify different default sets of tools depending on the interface (read: the Reply and New Discussion Tool can have different tools in their default set)
- Specify that the "default set" of tools be shown more "prominently" than other tools projects or individuals have added to the Reply and New Discussion Tools
- Specify how the toolbar behaves at varying widths
- Specify "default sets" of tools that are shown by default to all volunteers using the Reply and/or New Discussion Tools
- Projects can:
- Specify what tools, beyond those in the default set, are available to all volunteers using the Reply and/or New Discussion Tools at their project, by default
- Individuals seeking to customize their experience with DiscussionTools can:
- Specify what tools, beyond those in the default set, are available to them when they are using the Reply and/or New Discussion Tools
- Individuals using DiscussionTools can, regardless of the number of tools enabled:
- Understand the range of tools available to them
- Intuitively and efficiently access and use the specific tool they are seeking out
Approaches
- Approach #1: create and maintain centralized configuration system
- This approach would require the Editing Team create and maintain a centralized system that would dictate what tools are available within the Reply and New Discussion Tools at various projects
- Approach #2: reuse VE's existing gadget system
- This approach would require the editing expose a hook projects and individuals can leverage to add tools.
- Approach #3: TBD
Open questions
- How do we ensure that as new tools are added, people can continue to: A) understand the range of tools available to them and B) intuitively and efficiently access and use the specific tool they are seeking out?
- How – if at all – should the current design of the editing toolbar change to accommodate additional tools?
Done
- The questions listed in the "Open questions" section above have been resolved
Historical context
Links to past discussions on this topic...
Additional tools
"Additional tools" could mean support for the following:
- T249072: Add support in toolbar for special characters within DiscussionTools
- T257713: Add image upload to Reply tool's visual mode
- T277241: Add syntax highlighting to DiscussionTools' source mode
- Inserting media, formula, code blocks, or other extension based content,
- Lists
- Quoting content from a previous comment.
- Indenting and outdenting items in a list. See T284580: Can't create sub-lists inside a bulleted list.
- See more at T93243: Flow's VE toolbar v2