Turn displayed components into pseudo fields

Created on 7 March 2023, about 2 years ago
Updated 24 March 2023, about 2 years ago

Problem/Motivation

A few components like the list of opening instances on the calendar entity or the slots and booking button on opening instance entities are hard coded and always rendered and displayed when viewing those entities.

This should be configurable, so that the site builder can decide if and where those components are displayed. And at the same time, those components would also be useful as fields in views. Both of those requirements can be delivered with the same solution.

Proposed resolution

Turn the building of those components into a service. Add pseudo fields for those components and only call the rendering from the service when configured accordingly.

Then, also add them as views fields, using the same code from that service.

✨ Feature request
Status

Fixed

Version

2.2

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

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

Comments & Activities

Production build 0.71.5 2024