Skip to content

feat(table): support embeddable question types inside table columns - #44

Open
alisher372 wants to merge 1 commit into
pluginsGLPI:mainfrom
alisher372:main
Open

feat(table): support embeddable question types inside table columns#44
alisher372 wants to merge 1 commit into
pluginsGLPI:mainfrom
alisher372:main

Conversation

@alisher372

@alisher372 alisher372 commented Aug 1, 2026

Copy link
Copy Markdown

Summary

Add support for question types implementing the new embeddable interface inside table question columns.

Instead of knowing about specific plugins, the table question now delegates rendering to any question type implementing the interface.

What is implemented

  • support for embeddable question types;
  • dynamic configuration loading;
  • embedded administration rendering;
  • embedded end-user rendering;
  • server-side rendering for table rows;
  • validation and preparation of embedded question extra data.

Motivation

The table question previously only supported built-in question types.

With this change, any question type implementing the embeddable interface can be used inside a table without adding plugin-specific logic to Advanced Forms.

This keeps Advanced Forms independent from external plugins.

Backward compatibility

Existing built-in question types continue to work exactly as before.

Plugins not implementing the new interface are unaffected.

Related

Depends on:

Example implementation:

## Summary

Add support for question types implementing the new embeddable interface inside table question columns.

Instead of knowing about specific plugins, the table question now delegates rendering to any question type implementing the interface.

## What is implemented

- support for embeddable question types;
- dynamic configuration loading;
- embedded administration rendering;
- embedded end-user rendering;
- server-side rendering for table rows;
- validation and preparation of embedded question extra data.

## Motivation

The table question previously only supported built-in question types.

With this change, any question type implementing the embeddable interface can be used inside a table without adding plugin-specific logic to Advanced Forms.

This keeps Advanced Forms independent from external plugins.

## Backward compatibility

Existing built-in question types continue to work exactly as before.

Plugins not implementing the new interface are unaffected.

## Related

Depends on:

- GLPI Core PR: <link>

Example implementation:

- Fields PR: <link>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant