Repository: 4ian/GDevelop
File: newIDE/app/src/EventsBasedBehaviorEditor/EventsBasedBehaviorPropertiesEditor.js (JavaScript)

Code before:
                                          forceUpdate();
                                          onPropertiesUpdated &&
                                            onPropertiesUpdated();
                                        }}
                                        fullWidth
                                      >
                                        <SelectOption
                                          key="property-type-number"
                                          value="Number"
                                          label={t`Number`}
                                        />
                                        <SelectOption
                                          key="property-type-string"
                                          value="String"
                                          label={t`String`}
                                        />
                                        <SelectOption
                                          key="property-type-boolean"
                                          value="Boolean"
                                          label={t`Boolean (checkbox)`}
                                        />
                                        <SelectOption
                                          key="property-type-animationname"
                                          value="AnimationName"
                                          label={t`Animation Name (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-choice"
                                          value="Choice"
                                          label={t`String from a list of options (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-color"
                                          value="Color"
                                          label={t`Color (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-resource"
                                          value="Resource"
                                          label={t`Resource (JavaScript only)`}
                                        />
                                        {!isSceneProperties && (
                                          <SelectOption
                                            key="property-type-behavior"
                                            value="Behavior"
                                            label={t`Required behavior`}
                                          />
                                        )}
                                      </SelectField>
                                      {property.getType() === 'Number' && (
                                        <SelectField

Review comment (suggestion):
I wonder if it should be below the "Choice" type as it's a bit more specific.
```suggestion
                                        <SelectOption
                                          key="property-type-animationname"
                                          value="AnimationName"
                                          label={t`Animation name (text)`}
                                        />
```

Code after:
                                          forceUpdate();
                                          onPropertiesUpdated &&
                                            onPropertiesUpdated();
                                        }}
                                        fullWidth
                                      >
                                        <SelectOption
                                          key="property-type-number"
                                          value="Number"
                                          label={t`Number`}
                                        />
                                        <SelectOption
                                          key="property-type-string"
                                          value="String"
                                          label={t`String`}
                                        />
                                        <SelectOption
                                          key="property-type-boolean"
                                          value="Boolean"
                                          label={t`Boolean (checkbox)`}
                                        />
                                        <SelectOption
                                          key="property-type-animationname"
                                          value="AnimationName"
                                          label={t`Animation name (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-choice"
                                          value="Choice"
                                          label={t`String from a list of options (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-color"
                                          value="Color"
                                          label={t`Color (text)`}
                                        />
                                        <SelectOption
                                          key="property-type-resource"
                                          value="Resource"
                                          label={t`Resource (JavaScript only)`}
                                        />
                                        {!isSceneProperties && (
                                          <SelectOption
                                            key="property-type-behavior"
                                            value="Behavior"
                                            label={t`Required behavior`}
                                          />
                                        )}
                                      </SelectField>
                                      {property.getType() === 'Number' && (
                                        <SelectField