Skip to content

Backend - Block Options - Sidebar Meta Panel with Custom Fields #349

@ZaredRogers

Description

@ZaredRogers

Description:

Generate a settings side panel in the block editor for the following Tour Operator (TO) fields. This panel should enhance user experience by moving custom fields and essential settings into the Block Options Sidebar.

Fields to Include:

General Settings:

  • Disable Singles (core + extensions)
  • Price
  • Single Supplement
  • Duration

Custom Fields (Move to Block Options Sidebar):

  • Spoken Languages:

    • Afrikaans
    • English
    • Xhosa
    • Chinese
    • Dutch
    • Flemish
    • French
    • German
    • Indian
    • Italian
    • Japanese
    • Portuguese
    • Russian
    • Spanish
    • Swahili
    • Zulu
  • Special Interests:

    • Birding
    • Cycling
    • Gourmet
    • etc.
  • Friendly:

    • Leisure
    • Luxury
    • Romance
    • Weddings
    • Business
    • Children
    • Disability
    • Pet
    • Vegetarian
  • Best Time to Visit:

    • Jan -> Dec (Dropdown)
  • Sticky Posts:

    • Sticky Tours
    • Sticky Accommodation
    • Sticky Destinations
    • Convert these fields to use WordPress native sticky post functionality.

Acceptance Criteria:

  • Create a meta panel in the Block Options Sidebar.
  • Ensure that all fields are editable within this sidebar.
  • Group related fields for better user experience.
  • Ensure compatibility with the block editor for easy integration.
  • Move custom fields such as Spoken Languages, Special Interests, Friendly, Best Time to Visit, and Sticky posts to the sidebar.

Additional Notes:

  • The panel should be intuitive and responsive.
  • Fields should have appropriate labels and tooltips for clarity.
  • Make use of WordPress's native sticky post functionality where applicable.

Metadata

Metadata

Labels

comp:block-editorBlock/site editor workstatus:needs-devEarly execution signal (triage queue for engineering)

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions