Add a deprecation warning on text entry object actions (#7484)

This commit is contained in:
D8H
2025-03-21 15:57:11 +01:00
committed by GitHub
parent 5957738070
commit 085b425431

View File

@@ -68,6 +68,12 @@ export const getExtraInstructionInformation = (type: string): ?Hint => {
Physics2, you can't mix the behaviors).`,
};
}
if (type.indexOf('TextEntryObject::') === 0) {
return {
kind: 'warning',
message: t`This action is deprecated and should not be used anymore. Instead, use the "Text input" object.`,
};
}
if (type.startsWith('BoundingBox')) {
return {
kind: 'info',