Skip to content

[FIX] UI: remove unintended Prompt\IsPromptContent - #11853

Open
thibsy wants to merge 1 commit into
ILIAS-eLearning:trunkfrom
srsolutionsag:fix/12/ui-is-prompt-content
Open

[FIX] UI: remove unintended Prompt\IsPromptContent#11853
thibsy wants to merge 1 commit into
ILIAS-eLearning:trunkfrom
srsolutionsag:fix/12/ui-is-prompt-content

Conversation

@thibsy

@thibsy thibsy commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Hi all,

The Modal\Roundtrip and Dropzone\File components inherited Prompt\IsPromptContent unintendedly by Form\Standard, which was parent class of both.

To remove these components from being valid prompt content, the inheritance was changed from Input\Container\Form\Standard to Input\Container\Container. To minimise breaking changes, the withSubmitLabel() was added to the Modal\RoundTrip explicitly. This path was chosen to omit the Prompt\IsPromptContent from being inherited, while still offering the data processing options of an input container, as I believe they were more widely used.

There are four usages of Modal\RoundTrip used as Prompt\IsPromptContent inside ILIAS\MetaData\OERHarvester\ControlCenter\ControlCenterGUI. @schmitz-ilias, how would you like to proceed?

Kind regards,
@thibsy

The `Modal\Roundtrip` and `Dropzone\File` components inherited
`Prompt\IsPromptContent` unintendedly by `Form\Standard`, which
was parent class of both.

To remove these components from being valid prompt content, the
inheritance was changed from `Input\Container\Form\Standard` to
`Input\Container\Container`. To minimise breaking changes, the
`withSubmitLabel()` was added to the `Modal\RoundTrip` explicitly.
@thibsy thibsy added php Pull requests that update Php code Looking for Shepherd kitchen sink labels Aug 4, 2026
@thibsy

thibsy commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

For anyone who shepherds this: please only perform a review, I will handle integration myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kitchen sink Looking for Shepherd php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant