Skip to content

Hide "Page Type" dropdown in Pages Manager if only default types exist #796

@surajair

Description

@surajair

Feature Request

In the Pages Manager UI, the "Page Type" dropdown should be hidden if there are no custom page types registered. The dropdown is only relevant when there are more than the default page types, which are "page" and "global". If only these defaults exist, the dropdown should be removed to simplify the UI and reduce user confusion.

Acceptance Criteria:

  • The "Page Type" dropdown is not displayed unless there is at least one custom page type registered.
  • "page" and "global" are always considered default types.
  • UI logic checks for custom types before rendering the dropdown.

Notes:

  • This change improves user experience and keeps the Pages Manager interface cleaner.
  • Please ensure proper testing for cases with and without custom page types.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions