Improve or remove ComponentSourceInterface::getClientSideInfo()

Created on 30 October 2024, 17 days ago

Overview

ComponentSourceInterface::getClientSideInfo() returns an array shape with various bits of metadata required for the component listing in the React client:

  • Component ID and label
  • Default HTML markup
  • CSS and JS required to render the component

Is an array OK here or should we use a proper value object? Or can we even refactor this away entirely and just ask the component source plugin to render the component to a build array, and handle everything in the caller?

Proposed resolution

?

User interface changes

📌 Task
Status

Active

Version

0.0

Component

Data model

Created by

🇬🇧United Kingdom longwave UK

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024