Skip to content

Add Preferences modal to the Widgets screen #32711

Closed

Description

@critterverse

Opening this issue based on feedback in #32569 (comment).

When we first introduced the ellipses menu into the Widget editors, only one Preference was available (compared to 10+ available in the post editor), so it was introduced as an inline option within the ellipses menu. Now that we are starting to adding more Preferences, we should look at introducing the Preferences modal.

One consideration is that there are only two Preferences available currently, which would reduce the submenu down to two pages with one item on each. But I think the UI holds up and will likely get more filled in over time:

Preferences modal showing the "General" tab with one option
Preferences modal showing the "Blocks" tab with one option

Since there's currently only one Preference available to the Customize Widgets screen, I would lean towards leaving that as an inline option in the ellipses menu until at least one more option is added.

Activity

  1. added
    [Feature] Widgets Screen
    Needs Dev
    on Jun 15, 2021
  2. talldan commented on Jun 17, 2021

    @talldan
    Contributor

    Relevant to this is #31965. We could do with a bit of a refactor of editor preferences, as they're all implemented as part of the post editor.

    I have started work on this, but I'm not prioritising it until 5.8 is shipped.

  3. changed the title [-]Introduce Preferences modal on the Widget screen[/-] [+]Add Preferences modal to the Widgets screen[/+] on Jul 7, 2021
  4. added
    [Type] Enhancement
    on Aug 18, 2023
  5. youknowriad commented on Nov 1, 2026

    @youknowriad
    Contributor

    Thanks for the proposal, @critterverse. The block-based widgets screen is in maintenance mode, and its few preferences work fine as toggles in the options menu, so we're not adding a Preferences modal there. For classic themes moving forward, block template parts are the recommended path. Closing as not planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Dev[Feature] Widgets Screen[Type] Enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions