Issue Bug Closed

#104855Group "Default" should come first in the new Content element wizard

Lina Wolf 09/08/24, 10:50 updated 12/02/25, 14:33

Description

When you add a content element group that comes alphabetically before default that group will be displayed first and will be the one open when the editor opens the dialogue:
clipboard-202409081249-guxgv.png

For usability reasons it would be better to always show “Default” on top.
Note: all groups are ordered alphabetically and “default” is only at the top, because all other standard wizards come after “d”.
Normally the “lists” group comes after “default”, not “form”.

Reviews 5

Files 1

History 629

Show 24 earlier messages
  1. Sébastien Delcroix commented <span data-processor="relativetime" data-value="2024-09-12T08:00:15+00:00" > 09/12/24, 08:00 </span>

    Additional note : as you see on the screenshot, there is a “Default” labelled group instead of “Typical page content”.

    It is caused by an overwrite of the wizard group ‘default’ header in loadAvailableWizards().

    Indeed, loadAvailableWizardsFromPluginSubTypes() is called after loadAvailableWizardsFromContentElements() and if you have at least one ‘list_type’ plugin in a “default” itemGroup, the header/label of this group overwrite the one declared for ‘CType’.

  1. Nikita Hovratov commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-01-23T11:50:09+00:00" > 01/23/25, 11:50 </span>

    Applied in changeset commit:031596c7761fdff66b879f22bae6139eb9cfc5b3.