A contributor can create a taxonomy term inline

Created on 1 December 2023, 12 months ago

Problem/Motivation

For example, when creating or editing an article node, it would be nice to be able to create a new "Article type" term without having to navigate to the taxonomy term listing for the "Article type" vocabulary. Navigating to the vocabulary page requires opening up a lot of sub-menus. It would be far easier if it could be added right from the article node edit page. The same issue applies for all of the other taxonomy term reference fields scattered around Drutopia's content types.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇺🇸United States MegaKeegMan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @MegaKeegMan
  • 🇺🇸United States mlncn Minneapolis, MN, USA

    The current experience in Drutopia is if the type or topic vocabularies do not have the term you need—or even no term at all—you need to exit content creation or editing to wend your way to the taxonomy section and add a term. Not intuitive at all.

  • 🇺🇸United States MegaKeegMan

    I experimented with inline_entity_form and ief_complex_open. Inline entity form just showed the entire taxonomy term form. Complex was a bit less crowded, but showed an "Edit" and "Remove" button:

    This is too confusing. For someone that does not understand that this is an inline form for another node, which I don't expect most users to intuit, they might assume that by clicking edit they are just changing the value in the field, when really they would be changing the entire taxonomy term.

    I also experimented with the entity reference modal module . This was a step closer even. The main problem is that the add new term button was hidden in the help div.

    At the very least, the "+" text is configurable. When clicked, it opens the term field in a modal (as the module name suggests), which is pretty nice.

Production build 0.71.5 2024